function show2(){
if (!document.all&&!document.getElementById)
return
thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var days=Digital.getDay()
var months=Digital.getMonth()
var date=Digital.getDate()
var year=Digital.getFullYear()

var dn="PM"
if (hours<12)
dn="AM"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds

if (days==0)
day="Sunday"
if (days==1)
day="Monday"
if (days==2)
day="Tuesday"
if (days==3)
day="Wednesday"
if (days==4)
day="Thursday"
if (days==5)
day="Friday"
if (days==6)
day="Saturday"

if (months==0)
month="January"
if (months==1)
month="February"
if (months==2)
month="March"
if (months==3)
month="April"
if (months==4)
month="May"
if (months==5)
month="June"
if (months==6)
month="July"
if (months==7)
month="August"
if (months==8)
month="September"
if (months==9)
month="October"
if (months==10)
month="November"
if (months==11)
month="December"

var ctime=hours+":"+minutes+":"+seconds+" "+dn+" | "+day+" | "+month+ " "+date+", "+year
thelement.innerHTML="<span style='font-size:13px;color:#1b4b01;font-family:Arial, Helvetica, sans-serif; font-weight:bolder;'>"+ctime+"</span>"
setTimeout("show2()",1000)
}
window.onload=show2