-- addobject("0001",65,27,976,639);
-- addobject("0002",156,95,644,583);
-- addobject("0003",73,15,723,666);
-- addobject("0004",75,34,964,652);


loadresource("data\\7\\12\\0005.png","pjathashki1",1005);
loadresource("data\\7\\12\\0006.png","pjathashki2",1006);

loadresource("data\\7\\12\\0008.jpg","pjathashki4",1008);


SetFlagsForSatButtons()
AddObjForCur()

addstaticobjecttogame(1005,"pjathashki1",65,27,""); --рамка
CloseBtnX,CloseBtnY,SkipBtnX,SkipBtnY,HelpBtnX,HelpBtnY=Coords(1005)
HelpWidth=36
HelpHeight=36
CreateHelpBtn(HelpBtnX,HelpBtnY,36,36);

AddSkipBtn(SkipBtnX,SkipBtnY);

CloseWidth=34
CloseHeight=34
CreateCloseBtn(CloseBtnX,CloseBtnY);



addactivobjecttogame(1010,"pjathashki2",156,95 ,"","",0,0,4  ,4  ,120,120); --первый ряд  186,99 
addactivobjecttogame(1011,"pjathashki2",276,95 ,"","",0,0,124,4  ,120,120); --первый ряд
addactivobjecttogame(1012,"pjathashki2",396,95 ,"","",0,0,244,4  ,120,120); --первый ряд
addactivobjecttogame(1013,"pjathashki2",516,95 ,"","",0,0,364,4  ,120,120); --первый ряд
addactivobjecttogame(1014,"pjathashki2",156,339,"","",0,0,4  ,124,120,120); --второй ряд
addactivobjecttogame(1015,"pjathashki2",276,339,"","",0,0,124,124,120,120); --второй ряд
addactivobjecttogame(1016,"pjathashki2",396,339,"","",0,0,244,124,120,120); --второй ряд
addactivobjecttogame(1017,"pjathashki2",516,339,"","",0,0,364,124,120,120); --второй ряд
addactivobjecttogame(1018,"pjathashki2",156,459,"","",0,0,4  ,244,120,120); --третий ряд
addactivobjecttogame(1019,"pjathashki2",276,459,"","",0,0,124,244,120,120); --третий ряд
addactivobjecttogame(1020,"pjathashki2",396,459,"","",0,0,244,244,120,120); --третий ряд
addactivobjecttogame(1021,"pjathashki2",516,459,"","",0,0,364,244,120,120); --третий ряд
addactivobjecttogame(1022,"pjathashki2",156,579,"","",0,0,4  ,364,120,120); --четвертый ряд
addactivobjecttogame(1023,"pjathashki2",276,579,"","",0,0,124,364,120,120); --четвертый ряд
addactivobjecttogame(1024,"pjathashki2",396,579,"","",0,0,244,364,120,120); --четвертый ряд
addactivobjecttogame(1025,"pjathashki2",516,579,"","",0,0,364,364,120,120); --четвертый ряд

-- for i=1010,1025,1 do
    -- Set_Anim_Cur(i,4)
-- end;

addstaticobjecttogame(1007,"pjathashki4",75,34,"",0,0,889,592); --фон


Block_Show_Cur(true)
WaitRender();