 function MakeArray(size) {
 this.length = size;
 for(var i = 1; i <= size; i++) { this[i] = ""; }
 return this; }

 function showtime(){
 var now = new Date();
 var year = now.getYear() % 100 + 2000; // mr jan-1 2000
 var month = now.getMonth() + 1;
 var date = now.getDate();
 var hours = now.getHours();
 var minutes = now.getMinutes();
 var seconds = now.getSeconds();
 var day = now.getDay();

 Day = new MakeArray(7);
 Day[0]="Sun";
 Day[1]="Mon";
 Day[2]="Tue";
 Day[3]="Wed";
 Day[4]="Thu";
 Day[5]="Fri";
 Day[6]="Sat";

 Month = new MakeArray(13);
 Month[1]="Jan"
 Month[2]="Feb"
 Month[3]="Mar"
 Month[4]="Apr"
 Month[5]="May"
 Month[6]="Jun"
 Month[7]="Jul"
 Month[8]="Aug"
 Month[9]="Sep"
 Month[10]="Oct"
 Month[11]="Nov"
 Month[12]="Dec"


 var timeValue = "";
 timeValue += (Day[day]) + " ";
 timeValue += Month[month] + " ";
 timeValue += date + ", ";
 timeValue += year + ", " + hours;
 timeValue += ((minutes < 10) ? ":0" : ":") + minutes;

 defaultStatus = timeValue;

 setTimeout("showtime()",60000);
}
