function PageDate()
{
	currentDate = new Date()
	with (currentDate)
        {
		day=getDay()
		year = getYear()
		if (year < 1900)
		    {
			  year += 1900 ;
			}
			
		month=getMonth()+1
		    {
		    if (month==1){document.write('Jan '+getDate()+', '+year)}
		    if (month==2){document.write('Feb '+getDate()+', '+year)}
            if (month==3){document.write('Mar '+getDate()+', '+year)}
            if (month==4){document.write('Apr '+getDate()+', '+year)}
            if (month==5){document.write('May '+getDate()+', '+year)}
            if (month==6){document.write('Jun '+getDate()+', '+year)}
            if (month==7){document.write('Jul '+getDate()+', '+year)}
            if (month==8){document.write('Aug '+getDate()+', '+year)}
            if (month==9){document.write('Sep '+getDate()+', '+year)}
            if (month==10){document.write('Oct '+getDate()+', '+year)}
            if (month==11){document.write('Nov '+getDate()+', '+year)}
            if (month==12){document.write('Dec '+getDate()+', '+year)}
            }
    	}
	if (day==1){document.write(' Monday')}
	if (day==2){document.write(' Tuesday')}
	if (day==3){document.write(' Wednesday')}
	if (day==4){document.write(' Thursday')}
	if (day==5){document.write(' Friday')}
	if (day==6){document.write(' Saturday')}
	if (day==0){document.write(' Sunday')}
}
PageDate()
