document.domain = "980x.com";
	
	function Ocp_setCookie( name, value, expiredays )
	{
		var todayDate = new Date();
		todayDate.setDate( todayDate.getDate() + expiredays );
		document.cookie = name + "=" + escape( value ) + "; path=/; domain=980x.com; expires=" + todayDate.toGMTString() + ";"
	}
	
	function closeWin() 
	{ 
	        if (document.form1.cookiename.onclick)
	        {
	                Ocp_setCookie( "paranGameOCP", "done" , 7);
	        }
	        self.close(); 
	}
	
	function helpPop()
	{
		window.open("help.html", "OCPHelp", "left=10,top=10,width=530,height=525,resizable=no,scrollbars=no");
	}
	
	function Ocp_getCookie(strName)
	{
	
		var strArg = new String(strName + "=");	
		var nArgLen, nCookieLen, nEnd;
		var i = 0, j;
		
		nArgLen    = strArg.length;
		nCookieLen = document.cookie.length;
		if(nCookieLen > 0) {
			while(i < nCookieLen) {
				j = i + nArgLen;
				if(document.cookie.substring(i, j) == strArg) {
				
					nEnd = document.cookie.indexOf (";", j);
	
					if(nEnd == -1) nEnd = document.cookie.length;
					
					return unescape(document.cookie.substring(j, nEnd));
				 
				}
				
				i = document.cookie.indexOf(" ", i) + 1;
				if (i == 0) break;
			}
		}
		
		return("");
	}
	
	function Cookie_Check()
	{
		if(Ocp_getCookie("paranGameOCP") == "") {}
		else self.close();
	}