<!--
   
    function displaydate() 
    {
      var year,month,date1,day,datetime
	   var dat = new Date();
	   year = dat.getYear();
	   month=dat.getMonth();
	   month=month+1;
	   if(month ==1)
		{month="Jan";}
       if(month ==2)
		{month="Feb";}
	   if(month ==3)
		{month="Mar";}
	   if(month ==4)
		{month="Apr";}
	   if(month ==5)
		{month="May";}
	   if(month ==6)
		{month="Jun";}
	   if(month ==7)
		{month="Jul";}
	   if(month ==8)
		{month="Aug";}
	   if(month ==9)
		{month="Sep";}
	   if(month ==10)
		{month="Oct";}
	   if(month ==11)
		{month="Nov";}
	   if(month ==12)
		{month="Dec";}
	   date1 = dat.getDate();
	   if (date1 <=9)
		{
			date1 = "0" + date1;
		}
	   if (year >= 2000)
	   {	    
		datetime = date1+" "+month+" "+year +" ";
	   //datetime = month+" "+date1 +", " +" "+ year +"  ";
		//datetime = date1+" "+month+" "+year+"  ";
		}
		else if(year < 2000)
		{
		 year=year+1900;
		 datetime = date1+" "+month+" "+year +" ";
		 //datetime = month+" "+date1 +"," + " "+year+"  ";
		 //datetime = date1+" "+month+" "+year+"  ";
		}
	   document.write(datetime);
     }

      function onclock()
    {
     var timeNow=new Date();
     var minutes=timeNow.getMinutes();     
	 if (minutes <=9)
		{
			minutes = "0" + minutes
		}
	var hours=timeNow.getHours();
	 if (hours <= 9)
	 {
		 hours = "0" + hours
	 }
    var seconds=timeNow.getSeconds();
	 if (seconds <= 9)
	 {
		 seconds = "0" + seconds
	 } 
	var stringTime = hours + ":" + minutes + ":" + seconds
      document.write(stringTime);
     }

	 	 function clock() {
//if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds
document.getElementById("pendule").innerHTML = dispTime;
setTimeout("clock()", 1000);
}
//-->