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: 2,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: 4,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: 3,order: 2,name: 'Ekran końcowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: {"triggers":[{"whendoit":"load","objs":["b811752e2418c3f3a033f180e368986d-14-3"],"conditions":[],"whattodo":"showObject","subtriggers":[],"elseactions":[]}],"enabled":true,"copied":{"triggerData":0,"triggerEnabled":0}}});
//==================== PAGES END =====================================================
//==================== OBJECTS =========================================================
CM.buildTimeline('addObject', {id: 'b811752e2418c3f3a033f180e368986d-2-2',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: 16,posY: 107},
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: 'b811752e2418c3f3a033f180e368986d-4-2',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: 23,posY: 71},
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-2',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-2',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: -6},
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-2',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-2',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: 13},
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-2',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: 58,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-2',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: 39,posY: 3},
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-2',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: 73,posY: 8},
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: '1070d5ea11ee64da87b363e42a4cbe20-29-2',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: 634,posY: 60},
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: '84cf10738a0212f426e00134e507e347-24-4',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:'4',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 638,posY: 206},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'BARDZO_DOBRZE.mp3',filenameogg:'BARDZO_DOBRZE.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '84cf10738a0212f426e00134e507e347-33-4',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:'0',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 619,posY: 225},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'To_nie_jest_dobra_odpowied__.mp3',filenameogg:'To_nie_jest_dobra_odpowied__.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '724993ce17d4a2e548820797ee384395-46-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: -7,posY: -6},
action: 9,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-47-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: 20,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: '1070d5ea11ee64da87b363e42a4cbe20-64-4',init: false,hidden: false,originalPosition: {posX: 73,posY: 62},
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},question:{"objs":{"0-0":"","0-1":"","0-2":"","0-3":"","1-0":"","1-1":"","1-2":"","1-3":"","2-0":"","2-1":"","2-2":"","2-3":"","4-1":"ż","4-2":"o","4-3":"ł","4-4":"ą","4-5":"d","4-6":"e","4-7":"k","4-8":"","1-4":"","2-5":"","2-4":"","3-4":"","5-4":"","6-4":"","3-2":"","5-2":"","4-9":"","3-5":"","5-5":"","6-5":"","7-5":"","4-10":"","3-7":"r","3-3":"p","5-3":"u","6-3":"c","7-3":"a","3-6":"","1-7":"n","2-7":"e","5-7":"i","2-6":"s","2-8":"r","2-9":"c","2-10":"e","0-7":"","4-0":""},"opts":{},"ob":{"0-7":{"type":"image","file":"nerki.png"},"2-5":{"type":"image","file":"serce.png"},"2-3":{"type":"image","file":"pluca.png"},"4-0":{"type":"image","file":"zoladek.png"}},"qcrosswordTimeout":0,"minAnswrsNumber":1,"varToChange":"","colorizeGoodAnswer":true,"colorizeGoodWord":true,"colorizeCrosswordAfterWriteLastWord":false,"fieldType":"text","requireAnswersToAllQuestions":true,"timeLimitOption":false},action: 26,score: 0,scoreFail: 0,status: 0,compl: 0,clicked: 0,qattempts: 0,startAttempts: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[{"whendoit":"custom_questionpassed","objs":["84cf10738a0212f426e00134e507e347-24-4"],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3}},"conditions":[],"whattodo":"showObject","subtriggers":[],"elseactions":[]},{"whendoit":"custom_questionfailed","objs":["84cf10738a0212f426e00134e507e347-24-4"],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3}},"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-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: 123,posY: -29},
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-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:'4',delaytime:'0',async:'0',lineType:'after_time',animationReady:true},
originalPosition: {posX: 276,posY: 179},
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: '1070d5ea11ee64da87b363e42a4cbe20-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: 21,posY: 57},
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:'2',id:'line-1',order:'0',async:'0',wflc:'1'}, objs: ['724993ce17d4a2e548820797ee384395-23-2','724993ce17d4a2e548820797ee384395-25-2','9deb01be8384117b19bb3723809082d3-18-2','b811752e2418c3f3a033f180e368986d-4-2','9deb01be8384117b19bb3723809082d3-21-2','b811752e2418c3f3a033f180e368986d-2-2','9deb01be8384117b19bb3723809082d3-17-2','9deb01be8384117b19bb3723809082d3-19-2','9deb01be8384117b19bb3723809082d3-20-2','1070d5ea11ee64da87b363e42a4cbe20-29-2']});CM.buildTimeline('addLine', {opts: {pageID:'4',id:'line-0',order:'0',async:'0',wflc:'1'}, objs: ['724993ce17d4a2e548820797ee384395-46-4','724993ce17d4a2e548820797ee384395-47-4']});CM.buildTimeline('addLine', {opts: {pageID:'4',id:'line-1',order:'1',wflc:'1',hide:'0'}, objs: ['1070d5ea11ee64da87b363e42a4cbe20-64-4']});CM.buildTimeline('addLine', {opts: {pageID:'4',id:'line-2',order:'2',wflc:'1',hide:'0'}, objs: ['84cf10738a0212f426e00134e507e347-33-4']});CM.buildTimeline('addLine', {opts: {pageID:'4',id:'line-15',order:'3',wflc:'1'}, objs: ['84cf10738a0212f426e00134e507e347-24-4']});CM.buildTimeline('addLine', {opts: {pageID:'3',id:'line-1',order:'0',wflc:'1'}, objs: ['9deb01be8384117b19bb3723809082d3-1-3','9deb01be8384117b19bb3723809082d3-3-3','1070d5ea11ee64da87b363e42a4cbe20-4-3']});//==================== 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();});