Javascript Clock with timer-A countdown clock.

JavaScript Clock timer and alarm script.
In this section, I have written Simple javascript program to create clock with timing event.it is very easy to install Clock written in Javascript to put into your page.This script displays the live time in your HTML Page.I think every person displays clock with timer on his website.. so creating website with a countdown clock timer is very easy.
please check below javascript code:

Example: Javascript program to create clock with a timimg event?
<html>
<title>Javascript Clock with timer-A countdown clock.</title>
<head>
<script language="JavaScript">
function showClickTime(){
    var Digital=new Date()
  var hours=Digital.getHours()
  var minutes=Digital.getMinutes()
  var seconds=Digital.getSeconds()
  var clockd="AM" 


  if (hours>12){
   clockd="PM"
   hours=hours-12
  }
  if (hours==0)
   hours=12
  if (minutes<=9)
   minutes="0"+minutes
  if (seconds<=9)
   seconds="0"+seconds
   var clocktime=hours+":"+minutes+":"+seconds+" "+clockd
   clockSpan.innerHTML="<b style='font-size:12;color:blue;'>"+clocktime+"</b>"
   setTimeout("showClickTime()",1000)
}
window.onload=showClickTime;
</script>
</head>
<body>
<span id=clockSpan>
</span>
</body>
</html>