function show(){
if (!document.layers&&!document.all)
return

var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all
var ns4=document.layers

 var Digital=new Date();
 var hours=Digital.getHours();
 var minutes=Digital.getMinutes();
 var seconds=Digital.getSeconds();
 var aday = Digital.getDate();
 var amonth = (Digital.getMonth()+ 1);
 var ayear = Digital.getYear();
 if (aday<=9) aday="0"+aday;
 if (amonth<=9) amonth="0"+amonth;
 if (hours<=9) hours="0"+hours;
 if (minutes<=9) minutes="0"+minutes;
 if (seconds<=9) seconds="0"+seconds;
 var TheDate =  ayear + "-" + amonth + "-" + aday + " ";
 myclock = TheDate+hours+":"+minutes+":"+seconds;

menuobj=ie4? document.all.liveclock : ns6? document.getElementById("liveclock") : ns4? document.liveclock : ""
menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj

if (ie4||ns6)
menuobj.innerHTML=myclock
else{
menuobj.document.write('<layer name=liveclk width="125">'+myclock+'</layer>')
menuobj.document.close()
}

// if (document.layers){ 
//	liveclock.document.write('<layer name=gui bgColor=#E6E6E6 width=125>'+myclock+'</layer>')
// } else if (document.all) {
// 	liveclock.innerHTML=myclock;
// }
 setTimeout("show()",1000)
}

