loadresource("data\\12\\2\\0002.png","rama_2",2);
loadresource("data\\12\\2\\0004.png","rama_4",4);
loadresource("data\\inventary\\turb.png","turb",8);
loadresource("data\\12\\2\\0005.jpg","rama_5",5);


AddObjForCur()
addstaticobjecttogame(3,"rama_2",123,55 ,""); --рамка
CloseBtnX,CloseBtnY=Coords(3)
SetFlagsForSatButtons()

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);


NewObj("bolgar","turb",2000,2000,"451"); --инстр
NewObj("bolgra","rama_4",340,233,"451"); --инстр
Set_Anim_Cur(obj.bolgra.id,4);
addstaticobjecttogame(6,"rama_5",130,61 ,"",0,0,632,547); --бг

  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;

WaitRender();