\n'); } function DoLMSInitialize() { doInitialize(); window.document.myFlash.SetVariable("learner_name", doGetValue("cmi.learner_name")); var info; info = doGetValue("cmi.suspend_data"); // if (doGetValue("cmi.entry") == "resume") if (doGetValue("cmi.suspend_data") != undefined ) { window.document.myFlash.SetVariable("son_ekran", doGetValue("cmi.location")); window.document.myFlash.SetVariable("info", info); } playmovie(); startTimer(); } var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; function myFlash_DoFSCommand(command, args) { if(command == "setVisitedInfo") { //alert("setVisitedInfo:"+args); doSetValue("cmi.suspend_data", args); } else if(command == "setLastLocation") { //alert("setLastLocation:"+args); doSetValue("cmi.location", args); } else if(command == "setCompletePercent") { if(args != "100") { //alert("percent:"+args); doSetValue("cmi.score.raw", args); doSetValue("cmi.exit", "suspend"); doSetValue("cmi.completion_status","incomplete"); doSetValue("cmi.score.scaled", (args/100).toString()); } else { //alert("percent:"+args); doSetValue("cmi.completion_status","completed"); doSetValue("cmi.success_status","passed"); doSetValue("cmi.score.raw",100); doSetValue("cmi.exit", "suspend"); doSetValue("cmi.score.scaled", 1); } } else if(command == "kapat") { top.window.close(); } } if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) { document.write(' \n'); } function SCOFinish() { computeTime(); persistData(); doTerminate(""); }