
// Navigation - Start

function gettheDate() {
  Todays = new Date();
  TheDate = "" + (Todays.getMonth()+ 1) +" / "+ Todays.getDate() + " / " +
  Todays.getFullYear()
  document.clock.thedate.value = TheDate;
}
// Navigation - Stop
// Netscapes Clock - Start
// this code was taken from Netscapes JavaScript documentation

var timerID = null;
var timerRunning = false;

function stopclock () {
   if(timerRunning) clearTimeout(timerID);
   timerRunning = false;
}

function startclock () {
   // Make sure the clock is stopped
   stopclock();
   gettheDate()
   showtime();
}

function showtime () {
   var now = new Date();
   var hours = now.getHours();
   var minutes = now.getMinutes();
   var seconds = now.getSeconds()
   var timeValue = "" + ((hours >12) ? hours -12 :hours)
   timeValue += ((minutes < 10) ? ":0" : ":") + minutes
   timeValue += ((seconds < 10) ? ":0" : ":") + seconds
   timeValue += (hours >= 12) ? " P.M." : " A.M."

   document.clock.face.value = timeValue;
   // you could replace: document.clock.face.value = timeValue;
   // with: window.status = timeValue;
   // and have a clock on the status bar:

   timerID = setTimeout("showtime()",1000);
   timerRunning = true;
}
// Netscapes Clock - Stop







function show5(){
if (!document.layers&&!document.all&&!document.getElementById)
return

 var Digital=new Date()
 var hours=Digital.getHours()
 var minutes=Digital.getMinutes()
 var seconds=Digital.getSeconds()

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
//change font size here to your desire
myclock="<font face='verdana' color = 'FF6600'>"+hours+":"+minutes+":"
 +seconds+" "+dn+" </font>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
else if (document.getElementById)
document.getElementById("liveclock").innerHTML=myclock
setTimeout("show5()",1000)
 }


window.onload=show5
 

