
/*By JavaScript Kit
http://javascriptkit.com
Credit MUST stay intact for use
*/

function showClock(){
	if (!document.all&&!document.getElementById) return;
	thelement= document.getElementById("clock");

	var Digital=new Date()
	var hours=Digital.getHours()
	var minutes=Digital.getMinutes()
	var seconds=Digital.getSeconds()
	var dn="PM"

	if (minutes<=9)
		minutes="0"+minutes;
	if (seconds<=9)
		seconds="0"+seconds;
	var ctime=hours+":"+minutes+":"+seconds;
	thelement.innerHTML=ctime;
	setTimeout("showClock()",1000)
	}

