<!--open-->
<script>
function EnableKey(){
	if(window.event.ctrlKey && window.event.keyCode == 38){
		alert('<%= LingFengNet_MS_language_keyword_01 %>');
		top.location='admin_login<%= Get_Suffix() %>';
	}
	<% IF Session("LingFengNet_MS_admin") = "ok" Then %>
	if(window.event.ctrlKey && window.event.keyCode == 40){
	   alert('<%= LingFengNet_MS_language_keyword_02 %>');
	   top.location='admin_loginout<%= Get_Suffix() %>';
	}
	<% End IF %>	
	
	if(window.event.altKey && window.event.keyCode == 115){
		if(confirm("<%= LingFengNet_MS_language_keyword_03 %>")){
			parent.location.href='about:blank';
			blank.location.href="admin_loginout<%= Get_Suffix() %>";
			return true;
		}
	}	 
}
<% IF Session("LingFengNet_MS_admin") = "ok" and Session("LingFengNet_MS_admin_flg") = "3" Then %>
function Confirmer(){
	ht = document.getElementsByTagName("html");
	ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)";
	ht[0].style.webkitFilter = "grayscale(80%)";
	ht[0].style.opacity = "0.9";
	
	setTimeout(function(){
กกกก	Confirmer_ok();
	}, 100);
}

function Confirmer_ok(){
	ht = document.getElementsByTagName("html");
	if(confirm("<%= LingFengNet_MS_language_Warning_CData_4 %>")){
		//parent.location.href='about:blank';
		window.location.href = 'admin_CData<%= Get_Suffix() %>';
		return true;
	} else {
		ht[0].style.filter = "";
		ht[0].style.webkitFilter = "";
		ht[0].style.opacity = "";
		return false;
	}
}
<% End IF %>
</script>