<!-- Begin
// by Urs Dudli and Peter Gehrig 
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// distributed by http://www.hypergurl.com
// Permission given to use the script provided that this notice remains as is.

var clockid=new Array()
var clockidoutside=new Array()
var i_clock=-1
var thistime = new Date()
var thisistoday = thistime.toLocaleString()
var thisday=thistime.getDay()
var thismonth=thistime.getMonth()
var thisdate=thistime.getDate()
var thisyear=thistime.getYear()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
thistime = thisday+" "+thismonth+" "+thisdate+", "+thisyear
thistime = thisistoday
thistime = thistime.substring(0, thistime.length-11)
		
/*
function writeclock() 
{
	i_clock++
	if (document.all || document.getElementById || document.layers) 
	{
		clockid[i_clock]="clock"+i_clock
		// document.write("<span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span>")
	}
}
*/

function clockon() {
	thistime = new Date()
	var thisistoday = thistime.toLocaleString()
	var thisday=thistime.getDay()
	var thismonth=thistime.getMonth()
	var thisdate=thistime.getDate()
	var thisyear=thistime.getYear()
	hours=thistime.getHours()
	minutes=thistime.getMinutes()
	seconds=thistime.getSeconds()
	if (eval(hours) <10) {hours="0"+hours}
	if (eval(minutes) < 10) {minutes="0"+minutes}
	if (seconds < 10) {seconds="0"+seconds}
	thistime = thisday+" "+thismonth+" "+thisdate+", "+thisyear
	//thistime = thisistoday
	//thistime = thistime.substring(0, thistime.length-11)
		
	if (document.all) {
		for (i=0;i<=clockid.length-1;i++) {
			var thisclock=eval(clockid[i])
			thisclock.innerHTML=thistime
		}
	}
	
	if (document.getElementById) {
		for (i=0;i<=clockid.length-1;i++) {
			document.getElementById(clockid[i]).innerHTML=thistime
		}
	}
	var timer=setTimeout("clockon()",1000)
}
window.onload=clockon

// writeclock() 

//-->