--loadresource("data\\0\\4\\0000.png","p_0000",3 );
loadresource("data\\0\\5\\0002.png","d_0002",3 );
loadresource("data\\0\\5\\bg.jpg","d_bg",3 );

SetFlagsForSatButtons()
AddObjForCur()

-- Corners={}
-- Corners["xl"]=116
-- Corners["yl"]=57
-- Corners["xr"]=116+865
-- Corners["yr"]=57+78


Activ={
492,298,
712,241,
920,319,
700,397
}


SetFlagsForSatButtons()


addstaticobjecttogame(12,"d_0002",117,58 ,"");
CloseBtnX,CloseBtnY=Coords(12)

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);

addstaticobjecttogame(20,"d_bg",126,67,"",0,0,845,523)
WaitRender()
  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;