loadresource("data\\9\\1\\0002.png","lebedka2",2);
loadresource("data\\9\\1\\0004.jpg","lebedka4",4);
loadresource("data\\9\\1\\lebedka.png","lebedka",3);

AddObjForCur()

addstaticobjecttogame( 3,"lebedka2",76 ,40 ,""); --נאלךא
CloseBtnX,CloseBtnY=Coords(3)

SetFlagsForSatButtons()

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);



addstaticobjecttogame(10,"lebedka",249,54,"",386,341,247,552);
addstaticobjecttogame(11,"lebedka",254,54,"",386,0,313,341);
addstaticobjecttogame(12,"lebedka",269,0 ,"",0,625,226,170);
addstaticobjecttogame(13,"lebedka",0,0   ,"",0,453,374,172);
addstaticobjecttogame(14,"lebedka",0,58  ,"",0,0,386,453);

for i=10,14,1 do
    speciale_action(2,i)
end;
counter=0

Activ={
224,52,
224+195,52,
224+195,52+268,
224,52+268
}

CreatePolygon(5,4,"Activ")
Set_Anim_Cur(5,4);
addstaticobjecttogame( 6,"lebedka4",86 ,49 ,"",0,0,478,555); --בד

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

WaitRender();