function showdate(dday,daycount,month,year) 
 { 
     // show the day name 
     if (dday==0) document.write("Sunday"); 
     if (dday==1) document.write("Monday"); 
     if (dday==2) document.write("Tuesday"); 
     if (dday==3) document.write("Wednesday"); 
     if (dday==4) document.write("Thursday"); 
     if (dday==5) document.write("Friday"); 
     if (dday==6) document.write("Saturday"); 
     document.writeln(", "); 
  
     // show the month name 
     if (month==0) document.write("January"); 
     if (month==1) document.write("February"); 
     if (month==2) document.write("March"); 
     if (month==3) document.write("April"); 
     if (month==4) document.write("May"); 
     if (month==5) document.write("June"); 
     if (month==6) document.write("July"); 
     if (month==7) document.write("August"); 
     if (month==8) document.write("September"); 
     if (month==9) document.write("October"); 
     if (month==10) document.write("November"); 
     if (month==11) document.write("December"); 
 
     // show day number 
     document.write(" ",daycount,", ") 
     // and year 
     if (year < 1900) // fix y2k bug in older Browsers
      { year = year + 1900; }

     document.write(year); 
	}    // end of function showdate 
  
var today = new Date() 
var postdate = new Date() 
var postingtime = Date.parse(document.lastModified) 
//document.write("<hr>")
//document.write("Today is: "); 

// fill variables to pass to showdate function 
dayname=today.getDay() 
daynum=today.getDate() 
month=today.getMonth() 
year=today.getYear() 
showdate(dayname,daynum,month,year) 

