// JavaScript Document
var Error_Flag = "false";
function setCookie(www_admin5_com, value, expire)
{
	window.document.cookie = www_admin5_com + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));
} 
function getCookie(www_admin5_com)
{
  var search = www_admin5_com + "=";
  if (window.document.cookie.length > 0)
{ // if there are any cookies
  offset = window.document.cookie.indexOf(search);
if (offset != -1)
{ // if cookie exists
    offset += search.length;
// set index of beginning of value
  end = window.document.cookie.indexOf(";", offset)
// set index of end of cookie value
  if (end == -1)
    end = window.document.cookie.length;
  return unescape(window.document.cookie.substring(offset, end));
  }
  }
  return null;
}
function register(www_admin5_com) {
	var today = new Date();
	var expires = new Date();
	expires.setTime(today.getTime() + 2400);
	setCookie("admin5_com", www_admin5_com, expires);
}
function setHeaderShow(){
	try{document.getElementById("protectedCheat").style.display="block"}catch(c){}
}
function setHeaderHide(){
	try{document.getElementById("protectedCheat").style.display="none"}catch(c){}
}
function CloseprotectedCheat(){try{document.getElementById("protectedCheat").style.display="none"}catch(e){}}
window.onload = function(){
	var c = getCookie("admin5_com");
	if (c == null) {
		register("admin5_com");
		setHeaderShow();
	}
	
	try{
		if(Error_Flag!="true"){
		try{
			setTimeout("setHeaderShow()",15*1E3);
			if(2!=0)
				setTimeout("setHeaderHide()",15*1E3)
		}catch(e){}
		}
		else try{
			setHeaderHide()
		}catch(e){}
		}catch(e){};

}

