var CM = new CourseManager();
//==================== MAIN VARIABLES =========================================================
CM.buildTimeline('setCourseOptions', {dimentions_x:860,dimentions_y:500,showTitles:0,tocenabled:"1",helpTitle:'',euroforum:true,transcription:'',resumptionType:'popup',singleFile:true,status:'nc',project_max_points_custom: 0,drawPagesData:{"draws":{},"lastDrawId":0},zoom:1,trigger: [],sound:{filename: 'none',volume: 0.5,loop: 1,muted: false},req:{p: true,s: false,e: false},score:{required: 0,max: 0},logo:{filename: '',logoWidth: 0,logoHeight: 0},active:{line: 0,obj: 0}});
//==================== MAIN VARIABLES END =========================================================
//==================== PAGES =========================================================
CM.buildTimeline('addPage', {id: 8,order: 0,name: 'ekran początkowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: {"triggers":[],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
CM.buildTimeline('addPage', {id: 3,order: 1,name: 'ekran 1',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: true,locknavitrigger: true,endAction: 'none',lockscroll: false,trigger: {"triggers":[],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
CM.buildTimeline('addPage', {id: 7,order: 2,name: 'ekran 2',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: true,locknavitrigger: true,endAction: 'none',lockscroll: false,trigger: {"triggers":[],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
CM.buildTimeline('addPage', {id: 6,order: 3,name: 'ekran 3',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: true,locknavitrigger: true,endAction: 'none',lockscroll: false,trigger: {"triggers":[],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
CM.buildTimeline('addPage', {id: 9,order: 4,name: 'ekran końcowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: {"triggers":[],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
//==================== PAGES END =====================================================
//==================== OBJECTS =========================================================
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-19-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 0,posY: 385},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-21-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: -9,posY: -10},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-22-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 15,posY: 6},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-23-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 10,posY: 5},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-24-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 712,posY: 12},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-29-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'tossing-3',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 575,posY: 56},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-30-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 51,posY: 12},
action: 31,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-31-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 85,posY: 12},
action: 31,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":true,"lastID":0},sound: {filename:'',filenameogg:'S__OWNICZEK_wersja_1.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-32-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 118,posY: 88},
action: 16,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-34-8',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 103,posY: 151},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-3-3',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: -7,posY: -5},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-18-3',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 0,posY: 7},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});

CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-36-3',init: false,hidden: false,originalPosition: {posX: 141,posY: 79},
animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},question:{"overlay":"REWERS2.png","actionkey":"76df9eeaab7114529f5efb92fae463f4-34-7","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"REWERS2.png":{"sound":""},"niedzwiec.jpg":{"sound":""},"niedzwiec1.jpg":{"sound":""},"puchacz.jpg":{"sound":""},"puchacz1.jpg":{"sound":""},"zolw.jpg":{"sound":""},"zolw1.jpg":{"sound":""}},"pairs":[["niedzwiec.jpg","niedzwiec1.jpg"],["puchacz.jpg","puchacz1.jpg"],["zolw.jpg","zolw1.jpg"]]},action: 27,score: 0,scoreFail: 0,status: 0,compl: 0,clicked: 0,qattempts: 0,startAttempts: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[{"whendoit":"custom_questionpassed","objs":[],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3},"delay":"3"},"conditions":[],"whattodo":"gotonextpage","subtriggers":[],"elseactions":[]}],"enabled":true,"lastID":0},sound:{filename:'',filenameogg:'To_dobra_odpowied____2_.ogg',volume:1,loop:0}});CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-3-7',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: -7,posY: -5},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-18-7',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 0,posY: 7},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});

CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-34-7',init: false,hidden: false,originalPosition: {posX: 113,posY: 76},
animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},question:{"overlay":"REWERS2.png","actionkey":"76df9eeaab7114529f5efb92fae463f4-34-7","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"REWERS2.png":{"sound":""},"niedzwiec.jpg":{"sound":""},"niedzwiec1.jpg":{"sound":""},"puchacz.jpg":{"sound":""},"puchacz1.jpg":{"sound":""},"kameleon.jpg":{"sound":""},"kameleon1.jpg":{"sound":""},"zolw.jpg":{"sound":""},"zolw1.jpg":{"sound":""}},"pairs":[["niedzwiec.jpg","niedzwiec1.jpg"],["puchacz.jpg","puchacz1.jpg"],["kameleon.jpg","kameleon1.jpg"],["zolw.jpg","zolw1.jpg"]]},action: 27,score: 0,scoreFail: 0,status: 0,compl: 0,clicked: 0,qattempts: 0,startAttempts: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[{"whendoit":"custom_questionpassed","objs":[],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3},"delay":"3"},"conditions":[],"whattodo":"gotonextpage","subtriggers":[],"elseactions":[]}],"enabled":true,"lastID":0},sound:{filename:'',filenameogg:'',volume:1,loop:0}});CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-3-6',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: -7,posY: -5},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'a2419596229e8485876b6a9f84b5c2e0-18-6',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 0,posY: 7},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});

CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-34-6',init: false,hidden: false,originalPosition: {posX: 17,posY: 66},
animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},question:{"overlay":"REWERS2.png","actionkey":"76df9eeaab7114529f5efb92fae463f4-34-6","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"REWERS2.png":{"sound":""},"niedzwiec.jpg":{"sound":""},"niedzwiec1.jpg":{"sound":""},"puchacz.jpg":{"sound":""},"puchacz1.jpg":{"sound":""},"zolw.jpg":{"sound":""},"zolw1.jpg":{"sound":""},"kameleon.jpg":{"sound":""},"kameleon1.jpg":{"sound":""},"rys.jpg":{"sound":""},"rys1.jpg":{"sound":""}},"pairs":[["niedzwiec.jpg","niedzwiec1.jpg"],["puchacz.jpg","puchacz1.jpg"],["zolw.jpg","zolw1.jpg"],["kameleon.jpg","kameleon1.jpg"],["rys.jpg","rys1.jpg"]]},action: 27,score: 0,scoreFail: 0,status: 0,compl: 0,clicked: 0,qattempts: 0,startAttempts: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[{"whendoit":"custom_questionpassed","objs":[],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3},"delay":"3"},"conditions":[],"whattodo":"gotonextpage","subtriggers":[],"elseactions":[]}],"enabled":true,"lastID":0},sound:{filename:'',filenameogg:'',volume:1,loop:0}});CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-11-9',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 380,posY: 72},
action: 16,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '76df9eeaab7114529f5efb92fae463f4-12-9',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 386,posY: 135},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'Ciesz___si_______e_prze__wiczy__e___rozpoznawanie_zwierz__t__Uwa__nie_obserwuj_swoje_otoczenie__Kt__re_z_nich_spotka__e__.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '01d5eb17c56947df19c537eea60faa7a-13-9',init: false,hidden: false,animations: {animIn:'none',animOut:'none',hover:'none',endless:'tossing-3',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 144,posY: 75},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
//==================== OBJECTS END =========================================================
//==================== TIMELINE =========================================================
CM.buildTimeline('addLine', {opts: {pageID:'8',id:'line-1',order:'0',async:'0',wflc:'1'}, objs: ['a2419596229e8485876b6a9f84b5c2e0-30-8','a2419596229e8485876b6a9f84b5c2e0-31-8','76df9eeaab7114529f5efb92fae463f4-32-8','a2419596229e8485876b6a9f84b5c2e0-21-8','a2419596229e8485876b6a9f84b5c2e0-22-8','a2419596229e8485876b6a9f84b5c2e0-23-8','a2419596229e8485876b6a9f84b5c2e0-24-8','a2419596229e8485876b6a9f84b5c2e0-19-8','76df9eeaab7114529f5efb92fae463f4-34-8','a2419596229e8485876b6a9f84b5c2e0-29-8']});CM.buildTimeline('addLine', {opts: {pageID:'3',id:'line-2',order:'0',async:'0',wflc:'1'}, objs: ['a2419596229e8485876b6a9f84b5c2e0-3-3','a2419596229e8485876b6a9f84b5c2e0-18-3']});CM.buildTimeline('addLine', {opts: {pageID:'3',id:'line-21',order:'1',async:'0',wflc:'1'}, objs: ['76df9eeaab7114529f5efb92fae463f4-36-3']});CM.buildTimeline('addLine', {opts: {pageID:'7',id:'line-2',order:'0',async:'0',wflc:'1'}, objs: ['a2419596229e8485876b6a9f84b5c2e0-3-7','a2419596229e8485876b6a9f84b5c2e0-18-7']});CM.buildTimeline('addLine', {opts: {pageID:'7',id:'line-19',order:'1',wflc:'1'}, objs: ['76df9eeaab7114529f5efb92fae463f4-34-7']});CM.buildTimeline('addLine', {opts: {pageID:'6',id:'line-2',order:'0',async:'0',wflc:'1'}, objs: ['a2419596229e8485876b6a9f84b5c2e0-3-6','a2419596229e8485876b6a9f84b5c2e0-18-6']});CM.buildTimeline('addLine', {opts: {pageID:'6',id:'line-19',order:'1',wflc:'1'}, objs: ['76df9eeaab7114529f5efb92fae463f4-34-6']});CM.buildTimeline('addLine', {opts: {pageID:'9',id:'line-1',order:'0',async:'0',wflc:'1'}, objs: ['76df9eeaab7114529f5efb92fae463f4-11-9','76df9eeaab7114529f5efb92fae463f4-12-9','01d5eb17c56947df19c537eea60faa7a-13-9']});//==================== TIMELINE END =========================================================
//=========== TRASH =========================================================
var scorm_score_max = "0" ;
var help_file = "";
var help_size_w = "0";
var help_size_h = "0";
var language = "pl";
var scorm = 'none';
$(document).ready(function() {CM.init();});