javascript:(function(){var h=null;var i=null;var j=function(a){if(typeof a==="undefined"){return false}if(typeof a==="number"){return true}if(typeof a==="string"){return!isNaN(parseInt(a,10))}return false};var k=function(a){var b=0;var c=500;while((!a.API&&!a.API_1484_11)&&(a.parent)&&(a.parent!=a)&&(b<=c)){b++;a=a.parent}if(a.API&&a.API_1484_11){if(a.API.LMSGetLastError&&j(a.API.LMSGetLastError())){h=1;return a.API}if(a.API.GetLastError&&j(a.API.GetLastError())){h=2;return a.API}if(a.API_1484_11.GetLastError&&j(a.API_1484_11.GetLastError())){h=2;return a.API_1484_11}}else if(a.API){h=1;return a.API}else if(a.API_1484_11){h=2;return a.API_1484_11}return false};var l=function(){var a=window;var b=k(a);if(!b&&a.parent&&a.parent!=a){b=k(a.parent)}if(!b&&a.top.opener){b=k(a.top.opener)}return b};var m=function(a,b){switch(h){case 1:return i.LMSSetValue(a,b);case 2:return i.SetValue(a,b)}return false};var n=function(a){switch(h){case 1:return i.LMSGetValue(a);case 2:return i.GetValue(a)}return false};var o=function(){var a=(h===2)?"cmi.score.raw":"cmi.core.score.raw";return m(a,100)};var p=function(){var a=new Date(Date.now());var b=a.getSeconds();var c=(h===2)?"cmi.session_time":"cmi.core.session_time";var d=prompt("Please tell the system how much time (in minutes) you spent completing the course. Choose a realistic number.");if(!d){d="73"}d=parseInt(d,10);var e=Math.floor(d/60);var f=d% 60;var g;if(h===1){e=(e<10)?"0"+e:e;f=(f<10)?"0"+f:f;b=(b<10)?"0"+b:b;g=e+":"+f+":"+b}else if(h===2){g="PT"+e+"H"+f+"M"}return m(c,g)};var q=function(){var a=(h===2)?"cmi.completion_status":"cmi.core.lesson_status";return m(a,"completed")};var r=function(){var a=(h===2)?"cmi.exit":"cmi.core.exit";var b=(h===2)?"normal":"logout";return m(a,b)};var s=function(){switch(h){case 1:return i.LMSFinish("");case 2:return i.Terminate("")}return false};i=l();if(!i){alert("Cheat failed: no SCORM API");return}var t=o();var u=p();var v=q();var w=r();var x=s();if(t==="true"&&u==="true"&&v==="true"&&w==="true"&&x==="true"){alert("Cheat successful. Have a nice day.")}else{alert("Cheat failed.")}})();