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: 4,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: 6,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: 7,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: 5,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-21-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: -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-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: -13,posY: 8},
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-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: 8,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-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: 729,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-27-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: 49,posY: 81},
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: 'a2419596229e8485876b6a9f84b5c2e0-28-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: 77,posY: 164},
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-29-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: 633,posY: 59},
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-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: 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-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: 85,posY: 12},
action: 31,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[{"whendoit":"click","objs":[],"conditions":[],"whattodo":"playobjectsound","subtriggers":[],"elseactions":[]}],"enabled":true,"lastID":0},sound: {filename:'',filenameogg:'S__OWNICZEK_wersja_1.ogg',volume: 1,loop: 0}});
CM.buildTimeline('addObject', {id: '1070d5ea11ee64da87b363e42a4cbe20-11-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: 0,posY: 383},
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-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: '1070d5ea11ee64da87b363e42a4cbe20-37-3',init: false,hidden: false,originalPosition: {posX: 133,posY: 83},
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_memo2.png","actionkey":"1070d5ea11ee64da87b363e42a4cbe20-37-3","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"karta_memo2.png":{"sound":""},"HASLO.png":{"sound":""},"has__o.png":{"sound":""},"poczta_el.png":{"sound":""},"login.png":{"sound":""},"LOG.png":{"sound":""},"POCZTA.png":{"sound":""}},"pairs":[["login.png","LOG.png"],["HASLO.png","has__o.png"],["poczta_el.png","POCZTA.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":[],"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: '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: '1070d5ea11ee64da87b363e42a4cbe20-37-6',init: false,hidden: false,originalPosition: {posX: 121,posY: 68},
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_memo2.png","actionkey":"1070d5ea11ee64da87b363e42a4cbe20-37-6","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"karta_memo2.png":{"sound":""},"hiperlacze.png":{"sound":""},"HIPER.png":{"sound":""},"internet.png":{"sound":""},"strona_inet.png":{"sound":""},"STRONA.png":{"sound":""},"INTER.png":{"sound":""}},"pairs":[["INTER.png","internet.png"],["HIPER.png","hiperlacze.png"],["strona_inet.png","STRONA.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":[],"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: '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: '1070d5ea11ee64da87b363e42a4cbe20-37-7',init: false,hidden: false,originalPosition: {posX: 21,posY: 83},
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_memo2.png","actionkey":"1070d5ea11ee64da87b363e42a4cbe20-37-7","opts":{"elementsWidth":150,"elementsHeight":150,"elementsLivetime":2,"gameLivetime":0,"hideGoodAnswers":true},"files":{"karta_memo2.png":{"sound":""},"HASLO.png":{"sound":""},"LOG.png":{"sound":""},"HIPER.png":{"sound":""},"INTER.png":{"sound":""},"POCZTA.png":{"sound":""},"has__o.png":{"sound":""},"hiperlacze.png":{"sound":""},"login.png":{"sound":""},"internet.png":{"sound":""},"poczta_el.png":{"sound":""}},"pairs":[["HIPER.png","hiperlacze.png"],["login.png","LOG.png"],["HASLO.png","has__o.png"],["POCZTA.png","poczta_el.png"],["INTER.png","internet.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":[],"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: 'a2419596229e8485876b6a9f84b5c2e0-10-5',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: 128,posY: 155},
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: '97095685b86fd966754480ca8effd6ed-12-5',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: 614,posY: 11},
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: '97095685b86fd966754480ca8effd6ed-13-5',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: 49,posY: 75},
action: 16,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:'4',id:'line-1',order:'0',async:'0',wflc:'1',hide:'0'}, objs: ['a2419596229e8485876b6a9f84b5c2e0-30-4','a2419596229e8485876b6a9f84b5c2e0-31-4','a2419596229e8485876b6a9f84b5c2e0-21-4','a2419596229e8485876b6a9f84b5c2e0-22-4','a2419596229e8485876b6a9f84b5c2e0-23-4','a2419596229e8485876b6a9f84b5c2e0-24-4','a2419596229e8485876b6a9f84b5c2e0-27-4','a2419596229e8485876b6a9f84b5c2e0-28-4','a2419596229e8485876b6a9f84b5c2e0-29-4','1070d5ea11ee64da87b363e42a4cbe20-11-4']});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-22',order:'1',wflc:'1'}, objs: ['1070d5ea11ee64da87b363e42a4cbe20-37-3']});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-22',order:'1',wflc:'1'}, objs: ['1070d5ea11ee64da87b363e42a4cbe20-37-6']});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-22',order:'1',wflc:'1'}, objs: ['1070d5ea11ee64da87b363e42a4cbe20-37-7']});CM.buildTimeline('addLine', {opts: {pageID:'5',id:'line-1',order:'0',async:'0',wflc:'1'}, objs: ['97095685b86fd966754480ca8effd6ed-13-5','a2419596229e8485876b6a9f84b5c2e0-10-5','97095685b86fd966754480ca8effd6ed-12-5']});//==================== 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();});