var CM = new CourseManager();
//==================== MAIN VARIABLES =========================================================
CM.buildTimeline('setCourseOptions', {dimentions_x:860,dimentions_y:500,showTitles:0,tocenabled:'1',helpTitle:'',euroforum:true,resumptionType:'popup',singleFile:true,status:'nc',project_max_points_custom: 0,drawPagesData:{"draws":{},"lastDrawId":0},zoom:1,trigger: [{"pvarname":"licznik","pvarvalue":"0","varhash":"f1af9435fef78324cb46d5c8d4f8d9fd"}],sound:{filename: 'sound.mp3',volume: 0.5,loop: 1,muted: false},req:{p: false,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: 12,order: 0,name: 'ekran początkowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: ""});
CM.buildTimeline('addPage', {id: 13,order: 1,name: 'ekran ćwiczeniowy',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: 14,order: 2,name: 'ekran końcowy',compl: 0,timer: 0,sound:{filename: '',filenameogg: 'ogg'},locknavi: false,locknavitrigger: false,endAction: 'none',lockscroll: false,trigger: "{triggers: {}}"});
//==================== PAGES END =====================================================
//==================== OBJECTS =========================================================
CM.buildTimeline('addObject', {id: 'b811752e2418c3f3a033f180e368986d-1-12',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: 528,posY: 115},
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-2-12',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: -32,posY: -4},
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-3-12',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: 2},
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-12',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: 112},
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-5-12',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: 5,posY: 380},
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-7-12',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: 622,posY: 28},
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: 'b811752e2418c3f3a033f180e368986d-8-12',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: 534,posY: 136},
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: 'b811752e2418c3f3a033f180e368986d-9-12',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: 396,posY: 186},
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: '01d5eb17c56947df19c537eea60faa7a-12-12',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: 11},
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: '01d5eb17c56947df19c537eea60faa7a-14-12',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: 17},
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: '01d5eb17c56947df19c537eea60faa7a-15-12',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: 45,posY: 17},
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: 'd0b084f5b1e63ce01b42cebdfe5d73b2-69-13',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: 626,posY: 29},
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: 'd0b084f5b1e63ce01b42cebdfe5d73b2-76-13',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: -32,posY: -4},
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: 'd0b084f5b1e63ce01b42cebdfe5d73b2-77-13',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: 5,posY: 2},
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: 'd0b084f5b1e63ce01b42cebdfe5d73b2-78-13',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: 122,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: 'd0b084f5b1e63ce01b42cebdfe5d73b2-79-13',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: 626,posY: 29},
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: '01d5eb17c56947df19c537eea60faa7a-95-13',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: 701,posY: 337},
action: 9,score: 0,status: 0,compl: 0,clicked: 0,endAction: {name: 'none', opts: {}},trigger: {"triggers":[],"enabled":false,"lastID":0},sound: {filename:'Applause.mp3',filenameogg:'Applause.ogg',volume: 1,loop: 0}});

CM.buildTimeline('addObject', {id: '01d5eb17c56947df19c537eea60faa7a-98-13',init: false,hidden: false,originalPosition: {posX: 63,posY: 100},
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:{"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":"","6-1":"o","6-2":"d","6-3":"p","6-4":"o","6-5":"w","6-6":"i","6-7":"e","6-8":"d","6-9":"z","6-10":"i","5-4":"r","7-4":"p","8-4":"a","8-3":"g","8-5":"z","8-7":"p","8-8":"ł","8-9":"u","8-10":"c","8-11":"z","8-12":"k","8-13":"a","6-11":"a","6-12":"l","6-13":"n","6-14":"y","0-11":"1.\n\tJego pracę nadzoruje technik.","1-11":"w","2-11":"i","3-11":"e","4-11":"r","5-11":"t","7-11":"c","3-7":"p","3-8":"r","3-9":"o","3-10":"j","3-12":"k","3-13":"t","0-10":"","3-6":"2.\n\tTechniczny, profesjonalny, plan prac wiertniczych.","4-3":"","4-4":"3.\n\tNaftowa - wydobywa się ją metodą odwiertu.","6-0":"4.\n\tTechnik wiertnik powinien być ...","8-2":"5.\n\t... łupkowy.","8-6":"6.\n\tWykorzystywana w wiertnictwie do czyszczenia szczelin."},"opts":{},"ob":{},"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":["line-11"],"opts":{"animationType":{"animationName":"none","animationPrettyName":"none","animationTime":1.3}},"conditions":[],"whattodo":"showLine","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: 'b811752e2418c3f3a033f180e368986d-1-14',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: 499,posY: 137},
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-2-14',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: 25,posY: 87},
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: '01d5eb17c56947df19c537eea60faa7a-3-14',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: 504,posY: 164},
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:'12',id:'line-0',order:'0',async:'0',wflc:'1'}, objs: ['01d5eb17c56947df19c537eea60faa7a-14-12','01d5eb17c56947df19c537eea60faa7a-15-12','b811752e2418c3f3a033f180e368986d-2-12','b811752e2418c3f3a033f180e368986d-3-12','b811752e2418c3f3a033f180e368986d-7-12','b811752e2418c3f3a033f180e368986d-4-12','b811752e2418c3f3a033f180e368986d-1-12','b811752e2418c3f3a033f180e368986d-8-12','b811752e2418c3f3a033f180e368986d-5-12','b811752e2418c3f3a033f180e368986d-9-12','01d5eb17c56947df19c537eea60faa7a-12-12']});CM.buildTimeline('addLine', {opts: {pageID:'13',id:'line-4',order:'0',wflc:'1'}, objs: ['d0b084f5b1e63ce01b42cebdfe5d73b2-69-13','d0b084f5b1e63ce01b42cebdfe5d73b2-76-13','d0b084f5b1e63ce01b42cebdfe5d73b2-77-13','d0b084f5b1e63ce01b42cebdfe5d73b2-78-13','d0b084f5b1e63ce01b42cebdfe5d73b2-79-13','01d5eb17c56947df19c537eea60faa7a-98-13']});CM.buildTimeline('addLine', {opts: {pageID:'13',id:'line-11',order:'1',async:'0',wflc:'1'}, objs: ['01d5eb17c56947df19c537eea60faa7a-95-13']});CM.buildTimeline('addLine', {opts: {pageID:'14',id:'line-0',order:'0',async:'0',wflc:'1'}, objs: ['b811752e2418c3f3a033f180e368986d-1-14','b811752e2418c3f3a033f180e368986d-2-14','01d5eb17c56947df19c537eea60faa7a-3-14']});//==================== 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();});