Hilsen Mads
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function getCookie(Navnpaacookie){
if (document.cookie.length > 0) {
begin = document.cookie.indexOf(Navnpaacookie+"=");
if (begin == -1) {
return false;
}else{
return true;
}
}
return false;
}
function setCookie(Navnpaacookie, value, expiredays){
var ExpireDate = new Date ();
ExpireDate.setTime(ExpireDate.getTime() + (expiredays * 24 * 3600 * 1000));
document.cookie = Navnpaacookie + "=" + escape(value) +
((expiredays == null) ? "" : "; expires=" + ExpireDate.toGMTString());
}
function checkCookie(){
if(!getCookie('1afstemning')){
window.open('popup-filen.html','','scrollbars=no, toolbar=no, location=no,
directories=no, status=no, menubar=no, Resizable=yes, width=285,
height=450');
setCookie('afstemning', "true", 9000);
}
}
//-->
</SCRIPT>
</head>
<body onLoad="checkCookie()">
|