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: 3,order: 0,name: 'ekran początkowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: "{triggers: {}}"});
CM.buildTimeline('addPage', {id: 1,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: 4,order: 2,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: 'b811752e2418c3f3a033f180e368986d-2-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: 124,posY: 116},
action: 99,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'',filenameogg:'W_tym_quizie_po__wiczysz_ze_s__uchu_pisowni___nazw_liczb_1_10.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: 'b811752e2418c3f3a033f180e368986d-3-3',init: false,hidden: false,animations: {animIn:'hatch',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: 563,posY: 75},
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: 'b811752e2418c3f3a033f180e368986d-4-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: 142,posY: 64},
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: '9deb01be8384117b19bb3723809082d3-17-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: 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: '9deb01be8384117b19bb3723809082d3-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: -8,posY: -7},
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: '9deb01be8384117b19bb3723809082d3-19-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: 10,posY: 7},
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: '9deb01be8384117b19bb3723809082d3-20-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: 729,posY: 16},
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: '9deb01be8384117b19bb3723809082d3-21-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: 47,posY: 9},
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: '724993ce17d4a2e548820797ee384395-23-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: 43,posY: 4},
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: '724993ce17d4a2e548820797ee384395-25-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: 70,posY: 4},
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: '724993ce17d4a2e548820797ee384395-4-1',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: -28,posY: -8},
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: '724993ce17d4a2e548820797ee384395-5-1',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: 18,posY: 6},
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: '724993ce17d4a2e548820797ee384395-20-1',init: false,hidden: true,animations: {animIn:'none',animOut:'none',hover:'none',endless:'none',animInExecTime: '1.3',animOutExecTime: '1.3',animOverExecTime: '1.3',animConstantExecTime: '1.3',obTime:'1',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 276,posY: 129},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {},sound: {filename:'Bardzo_dobrze.mp3',filenameogg:'Bardzo_dobrze.ogg',volume: 1,loop: 0}});

CM.buildTimeline('addObject', {id: '724993ce17d4a2e548820797ee384395-29-1',init: false,hidden: false,originalPosition: {posX: 12,posY: 62},
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":"karta_memo1.png","actionkey":"724993ce17d4a2e548820797ee384395-29-1","opts":{"elementsWidth":200,"elementsHeight":200,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"karta_memo1.png":{"sound":""},"memo_ortografia26b.png":{"sound":"niebo (1).mp3"},"memo_ortografia26a.png":{"sound":"jele__ (2).mp3"},"memo_ortografia24a.png":{"sound":"wieca.mp3"},"memo_ortografia24b.png":{"sound":"siano.mp3"},"niebo_memo.png":{"sound":"niebo (2).mp3"},"swieca_memo.png":{"sound":"wieca (1).mp3"},"siano_memo.png":{"sound":"siano (1).mp3"},"jelen_memo.png":{"sound":"jele__ (3).mp3"}},"pairs":[["memo_ortografia24a.png","swieca_memo.png"],["memo_ortografia24b.png","siano_memo.png"],["memo_ortografia26b.png","niebo_memo.png"],["memo_ortografia26a.png","jelen_memo.png"]]},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":["724993ce17d4a2e548820797ee384395-20-1"],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3},"delay":"2"},"conditions":[],"whattodo":"showObject","subtriggers":[],"elseactions":[]},{"whendoit":"custom_questionpassed","objs":[],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3}},"conditions":[],"whattodo":"unlockpagenavigation","subtriggers":[],"elseactions":[]}],"enabled":true,"lastID":0},sound:{filename:'',filenameogg:'',volume:1,loop:0}});CM.buildTimeline('addObject', {id: '9deb01be8384117b19bb3723809082d3-1-4',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: 175,posY: -1},
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: '9deb01be8384117b19bb3723809082d3-2-4',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: 53,posY: 135},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":true,"lastID":0},sound: {filename:'',filenameogg:'',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '9deb01be8384117b19bb3723809082d3-3-4',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:'4',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 291,posY: 166},
action: 99,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:'3',id:'line-1',order:'0',async:'0',wflc:'1'}, objs: ['724993ce17d4a2e548820797ee384395-23-3','724993ce17d4a2e548820797ee384395-25-3','9deb01be8384117b19bb3723809082d3-18-3','b811752e2418c3f3a033f180e368986d-3-3','b811752e2418c3f3a033f180e368986d-4-3','9deb01be8384117b19bb3723809082d3-21-3','b811752e2418c3f3a033f180e368986d-2-3','9deb01be8384117b19bb3723809082d3-17-3','9deb01be8384117b19bb3723809082d3-19-3','9deb01be8384117b19bb3723809082d3-20-3']});CM.buildTimeline('addLine', {opts: {pageID:'1',id:'line-0',order:'0',async:'0',wflc:'1'}, objs: ['724993ce17d4a2e548820797ee384395-4-1','724993ce17d4a2e548820797ee384395-5-1','724993ce17d4a2e548820797ee384395-29-1']});CM.buildTimeline('addLine', {opts: {pageID:'1',id:'line-1',order:'1',async:'0',wflc:'1',hide:'1'}, objs: ['724993ce17d4a2e548820797ee384395-20-1']});CM.buildTimeline('addLine', {opts: {pageID:'4',id:'line-1',order:'0',wflc:'1'}, objs: ['9deb01be8384117b19bb3723809082d3-1-4','9deb01be8384117b19bb3723809082d3-2-4','9deb01be8384117b19bb3723809082d3-3-4']});//==================== 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();});