today=new Date();
var strDate;
var strMonth;
var strYear;
var strWeek;
var strDay;
strYear=today.getYear();
if(strYear<=1000){
	strYear=strYear+1900;
}
if(today.getDate()<10){
strDate = "0" + today.getDate();
}else{
strDate = today.getDate();
}
if(today.getMonth()+1<10){
strMonth = today.getMonth()+1;
strMonth = "0" +strMonth;
}
else{
strMonth = today.getMonth()+1;
}
strDay=today.getDay();
if (strDay==1){strWeek="Monday";}
if (strDay==2){strWeek="Tuesday";}
if (strDay==3){strWeek="Wednesday";}
if (strDay==4){strWeek="Thursday";}
if (strDay==5){strWeek="Friday";}
if (strDay==6){strWeek="Saturday";}
if (strDay==0){strWeek="SunDay";}
document.write(strWeek + "&nbsp;" + strMonth + "/" + strDate + "/" + strYear + "&nbsp;");
