	function theclock(){
               if (!document.layers&&!document.all)
               	  return
              	  		Digital=new Date()
						hours=Digital.getHours()
              			minutes=Digital.getMinutes()
              			seconds=Digital.getSeconds()
               			dn="AM" 
						day=Digital.getDate()
						month=Digital.getMonth()+1
						year=Digital.getFullYear()
               if (hours>12){
               	  dn="PM"
               	  hours=hours-12
               }
               if (hours==0)
               	  hours=12
               if (minutes<=9)
               	  minutes="0"+minutes
               if (seconds<=9)
               	  seconds="0"+seconds
              // #c0c000
			  // #8080ff
               goclock="<font face='Tahoma' size='-1' color='#8080ff'><b>" + day +
			   				  "<font color='#c0c000'>" + "-" + "</font>" + "<font color='#8080ff'>" + month +  "</font>" +
							  "<font color='#c0c000'>" + "-" + "</font>" + "<font color='#8080ff'>" + year + "</font>" +
							  "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>" + 
							  "<font face='Tahoma' size='-1' color='#8080ff'>" + hours + 
							  "<font color='#c0c000'>" + ":" + "</font>" + "<font color='#8080ff'>" + minutes +  "</font>" +
							  "<font color='#c0c000'>" + ":" + "</font>" + "<font color='#8080ff'>" + seconds +  "</font>" +
							  " " + "<font color='#c0c000'>" + dn + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font>"
               if (document.layers){
               	  	document.layers.dynamicclock.document.write(goclock)
              	  	document.layers.dynamicclock.document.close()
               }
               else if (document.all)
               		dynamicclock.innerHTML=goclock.fixed()
			  
               setTimeout("theclock()",1000)
       }   
	   