// Adam Fox
// www.monkeyfruit.co.uk
// Copyright © monkeyfruit limited
var _0xccb7=["\x66\x6F\x75\x6E\x64\x5F\x73\x63\x6F\x72\x6D","\x69\x6E\x69\x74\x69\x61\x6C\x69\x73\x65\x64","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x74\x72\x75\x65","\x63\x6F\x6F\x6B\x69\x65\x5F\x6F\x62\x6A","\x74\x65\x73\x74","\x73\x74\x61\x72\x74\x5F\x74\x69\x6D\x65","\x67\x65\x74\x54\x69\x6D\x65","\x67\x65\x74","","\x63\x6D\x69\x2E\x63\x6F\x72\x65\x2E\x73\x65\x73\x73\x69\x6F\x6E\x5F\x74\x69\x6D\x65","\x73\x65\x74","\x75\x70\x64\x61\x74\x65\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x74\x69\x6D\x65","\x66\x69\x6E\x69\x73\x68\x65\x64","\x63\x6F\x6D\x6D\x69\x74","\x72\x6F\x75\x6E\x64","\x6C\x65\x6E\x67\x74\x68","\x30","\x39\x39\x39\x39","\x3A","\x73\x65\x74\x5F\x76\x61\x6C\x75\x65","\x63\x6D\x69\x2E\x73\x75\x73\x70\x65\x6E\x64\x5F\x64\x61\x74\x61","\x63\x6D\x69\x2E\x63\x6F\x72\x65\x2E\x6C\x65\x73\x73\x6F\x6E\x5F\x73\x74\x61\x74\x75\x73","\x66\x69\x6E\x69\x73\x68","\x63\x6C\x6F\x73\x65\x57\x69\x6E\x64\x6F\x77\x28\x29\x3B"];var tracking={initialised:false,found_scorm:false,cookie_obj:null,start_time:0,finished:false,initialise:function (){try{if(this[_0xccb7[0]]=getAPIHandle()!=null){this[_0xccb7[1]]=doLMSInitialize()[_0xccb7[2]]()==_0xccb7[3];} else {if(this[_0xccb7[4]]=Cookie){this[_0xccb7[1]]=this[_0xccb7[4]][_0xccb7[5]]();} ;} ;this[_0xccb7[6]]=( new Date)[_0xccb7[7]]();} catch(a){this[_0xccb7[1]]=false;} ;return this[_0xccb7[1]];} ,get_value:function (_0xf436x2){if(this[_0xccb7[0]]){return doLMSGetValue(_0xf436x2);} else {if(this[_0xccb7[1]]){return this[_0xccb7[4]][_0xccb7[8]](_0xf436x2);} ;} ;return _0xccb7[9];} ,set_value:function (_0xf436x2,_0xf436x3){if(!(_0xf436x2==_0xccb7[10]&&_0xf436x3==_0xccb7[9])){if(this[_0xccb7[0]]){return doLMSSetValue(_0xf436x2,_0xf436x3);} else {if(this[_0xccb7[1]]){this[_0xccb7[4]][_0xccb7[11]](_0xf436x2,_0xf436x3,24);return true;} ;} ;return false;} ;} ,commit:function (){this[_0xccb7[12]]();if(this[_0xccb7[0]]){return doLMSCommit()[_0xccb7[2]]()==_0xccb7[3];} ;return false;} ,finish:function (){if(!this[_0xccb7[13]]){this[_0xccb7[14]]();if(this[_0xccb7[0]]){return this[_0xccb7[13]]=doLMSFinish()[_0xccb7[2]]()==_0xccb7[3];} ;return false;} ;} ,update_session_time:function (){if(this[_0xccb7[6]]!=0){var _0xf436x2=( new Date)[_0xccb7[7]]()-this[_0xccb7[6]],_0xf436x3=Math[_0xccb7[15]](_0xf436x2/1000);_0xf436x2=_0xf436x3%60;_0xf436x3-=_0xf436x2;var _0xf436x4=_0xf436x3%3600;_0xf436x3-=_0xf436x4;_0xf436x4/=60;_0xf436x3=_0xf436x3%216000;_0xf436x3/=3600;_0xf436x2=_0xf436x2.toString();_0xf436x2=_0xf436x2[_0xccb7[16]]<2?_0xccb7[17]+_0xf436x2:_0xf436x2;_0xf436x4=_0xf436x4.toString();_0xf436x4=_0xf436x4[_0xccb7[16]]<2?_0xccb7[17]+_0xf436x4:_0xf436x4;_0xf436x3=_0xf436x3.toString();_0xf436x3=_0xf436x3[_0xccb7[16]]<2?_0xccb7[17]+_0xf436x3:_0xf436x3;_0xf436x3=_0xf436x3[_0xccb7[16]]>4?_0xccb7[18]:_0xf436x3;_0xf436x2=_0xf436x3+_0xccb7[19]+_0xf436x4+_0xccb7[19]+_0xf436x2;this[_0xccb7[0]]&&this[_0xccb7[20]](_0xccb7[10],_0xf436x2);} ;} ,set_module_status:function (_0xf436x2){this[_0xccb7[20]](_0xccb7[21],_0xf436x2);this[_0xccb7[14]]();} ,save_finish:function (_0xf436x2){this[_0xccb7[20]](_0xccb7[22],_0xf436x2);this[_0xccb7[23]]();setTimeout(_0xccb7[24],100);} };