Hvad med:
<script>
function tilfojHP() {
if (document.cookie.indexOf(\"alleredeSet=ja\") == -1) {
nv = window.open(\"\",\"nytVindue\");
nv.document.write(\"<html><head><title>Gør
www.trefalke.dk til din startside!</title></head><body>\");
nv.document.write(\"<a style=\'cursor:hand;\' HREF onClick=\'this.style.behavior=\\\'url(#default#homepage)\\\'; this.setHomePage(\\\'
http://dynamicdrive.com\\\');\'>Klik her for at gøre
www.trefalke.dk til din Start Side!</a>\")
nv.document.write(\"</body></html>\");
nv.document.close();
expDage = 30; //Dage til popup\'en skal vises igen!
exp = new Date();
exp.setTime(exp.getTime() + expDage * 24 * 60 * 60 * 1000);
document.cookie = \"alleredeSet=ja; expires=\" + exp.toGTMString();
}
}
</script>
Og i <body>:
<body onLoad=\"tilfojHP();\">