function startclock() {
	var el = document.getElementById("clock");
	var time = new Date();	
	//var gmtMS = time.getTime() + (time.getTimezoneOffset() * 60000)
    //var gmtTime =  new Date(gmtMS)	
	var month = time.getMonth() + 1;
	var day = time.getDate();
	var year = time.getFullYear();
	var hours = time.getHours();
	var minutes = time.getMinutes();
	var seconds = time.getSeconds();
	var timedate;

	if ( minutes < 10 ) { minutes = "0" + minutes; }
	if ( hours < 10 ) { hours = "0" + hours; }
	if ( seconds < 10 ) { seconds = "0" + seconds; }

	if ( month == 1 ) { month = "January"; }
	if ( month == 2 ) { month = "February"; }
	if ( month == 3 ) { month = "March"; }
	if ( month == 4 ) { month = "April"; }
	if ( month == 5 ) { month = "May"; }
	if ( month == 6 ) { month = "June"; }
	if ( month == 7 ) { month = "July"; }
	if ( month == 8 ) { month = "August"; }
	if ( month == 9 ) { month = "September"; }
	if ( month == 10 ) { month = "October"; }
	if ( month == 11 ) { month = "November"; }
	if ( month == 12 ) { month = "December"; }
	
	timedate = hours + ":" + minutes + ":" + seconds
	// + " <br /> " + day + ". " + month + " " + year
	el.innerHTML = timedate;
	setTimeout('startclock()',1000);
}