	var currDate
		
		date = new Date()
		day = date.getDate()
		month = date.getMonth() + 1 
		year = date.getFullYear()
		
		var MonthNames = new Array()
		
		MonthNames[1] = "January"
		MonthNames[2] = "Feburary"
		MonthNames[3] = "March"
		MonthNames[4] = "April"
		MonthNames[5] = "May"
		MonthNames[6] = "June"
		MonthNames[7] = "July"
		MonthNames[8] = "August"
		MonthNames[9] = "September"
		MonthNames[10] = "October"
		MonthNames[11] = "November"
		MonthNames[12] = "December"
		
		var WeekNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
		
		currDate = WeekNames[date.getDay()] + ' ' + day + ' ' + MonthNames[month] + ' ' + year
	
	var myback_color = "";
	var mywidth =200;
	var my12_hour = 1;

	var dn = ""; var old = "";

	if (document.all||document.getElementById) { document.write('<span id="LiveClockIE" style="width:'+mywidth+'px;"></span>'); }
	else if (document.layers) { document.write('<ilayer bgColor="'+myback_color+'" id="ClockPosNS"><layer width="'+mywidth+'" id="LiveClockNS"></layer></ilayer>'); }
	else { old = "true"; show_clock(); }

	function show_clock() {

		//show clock in NS 4
		if (document.layers)
                document.ClockPosNS.visibility="show"
		if (old == "die") { return; }

		var Digital = new Date();
		var hours = Digital.getHours();
		var minutes = Digital.getMinutes();
		var seconds = Digital.getSeconds();

		if (my12_hour) {
			dn = "AM";
			if (hours > 12) { dn = "PM"; hours = hours - 12; }
			if (hours == 0) { hours = 12; }
		} else {
			dn = "";
		}
		if (minutes <= 9) { minutes = "0"+minutes; }
		if (seconds <= 9) { seconds = "0"+seconds; }

		myclock = '';
		if (document.layers)
			myclock += '<span class="whiteText">';
		myclock +='&nbsp;&nbsp;&nbsp;'+currDate+'&nbsp;&nbsp;&nbsp;'+hours+':'+minutes+':'+seconds+' '+dn + '';
		if (document.layers)
			myclock += '</span>';

		if (old == "true") {
			document.write(myclock);
			old = "die"; return;
		}

		if (document.layers) {
			clockpos = document.ClockPosNS;
			liveclock = clockpos.document.LiveClockNS;
			liveclock.document.write(myclock);
			liveclock.document.close();
		} else if (document.all) {
			LiveClockIE.innerHTML = myclock;
		} else if (document.getElementById) {
			document.getElementById("LiveClockIE").innerHTML = myclock;
		}

		setTimeout("show_clock()",1000);
}
