\n'); } function doTimeOut() { // This function will be called when the specified time is over //window.parent.exit(); // Call AJAX for passing time tracking //updateTimeTracking(); controller_DoFSCommand("exitWindow"); } document.onkeypress = function (e) { if (f5enable == true) { if (e.keyCode == 116) { e.preventDefault(); } isScoreSubmissionSuccess = true; doQuit(statusToLMS); } } function checkKey(e) { if (f5enable == true) { if (e.keyCode == 116) { e.keyCode = 0; e.preventDefault(); isScoreSubmissionSuccess = true; doQuit(statusToLMS); } } } function keyPressedfromFlash() { if (f5enable == true) { isScoreSubmissionSuccess = true; doQuit(statusToLMS); } } function setScoreFromflash(scoreFromFlash) { f5enable = true scoreToLMS = scoreFromFlash setScore(scoreFromFlash) } function setLMSVars(lastVisited, questionStr, answerStr, completedTasks, courseStatusfromFlash, _scoreFromFlash) { var bookmarkStr = lastVisited + "$$" + questionStr + "$$" + answerStr + "$$" + completedTasks; setBookmark(bookmarkStr); LMSCommit(); } function loadCourse() { var name = getUserName(); var arr = name.split(","); name = arr[1] + " " + arr[0]; var controllerObj = window.document.controller; //isInternetExplorer ? document.all.controller : document.controller; controllerObj.SetVariable("bookmarkingStringFromLMS", bookmarkingStringFromLMS); controllerObj.SetVariable("UserName", name); } //-->