//==============================================================================
// Created by Danny Milo 25/05/2003
// HTML META DATA
//==============================================================================

document.write('<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />')
document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no"></META>')
//document.write('<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=big5"></META>')
document.write('<META HTTP-EQUIV="Pragma" CONTENT="no-cache"></META>')
document.write('<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></META>')

//==============================================================================
// Description: To prevent people pushing F5 to refresh the page in browser
//==============================================================================
//<script language="JavaScript">
	if (document.all){ 
		document.onkeydown = function (){
			var key_f5 = 116; // 116 = F5 
			if (key_f5==event.keyCode){
				event.keyCode = 27;
				return false;
			}
		}
	}
//</script>

//==============================================================================
// Description: Reset timeout for session object in course window.
//==============================================================================
//top.frames("Frame_LMS").ResetTimeout();
var oFrame = top.fraTop;
try {
	if (oFrame.CourseWinID != null ){
		oFrame.CourseWinID.top.frames("Frame_LMS").ResetTimeout();
	}
} 
catch (e) {}
