samming koding af to script
1. script-----------------------------------------------------------
<HTML>
<SCRIPT LANGUAGE="JavaScript">
function checkTime()
{
var time=new Date();
var date=time.getDate();
var year=time.getYear();
var month = time.getMonth();
if(date == 8 && month == 10 && year == 2002)
window.open("http://www.hotmail.com");
}
</SCRIPT>
<body onLoad="checkTime();">
-----------------------------------------------------------
2.script
-----------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Page-Exit" content="blendTrans(Duration=3.0)">
<script language="JavaScript1.2">
<!--hide
//To change the title:where it says Welcome todays date is: just put you own text in if you would like to--
var isnMonth = new
Array("Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December");
var isnDay = new
Array("Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag");
today = new Date () ;
Year=today.getYear();
if (Year < 1000)
Year+=1900
Date=today.getDate();
function setdate(){
document.title="Welcomme to G-LOCK today is "+isnDay[today.getDay()]+" "+Date+" "+isnMonth[today.getMonth()]+" "+Year+""
}
if (document.all)
setdate()
else if (document.getElementById)
window.onload=setdate
//--hide-->
</script>