 day = new Date();
 today = day.getDate();
 month = new Date();
 year = new Date();
 this_year = year.getFullYear();
  switch(day.getDay())
  {
   case 0:
    this_day = "Sunday";
	break;
   case 1:
    this_day = "Monday";
	break;
   case 2:
    this_day = "Tuesday";
	break;
   case 3:
    this_day = "Wednesday";
	break;
   case 4:
    this_day = "Thursday";
	break;
   case 5:
    this_day = "Friday";
  	break;
   case 6:
    this_day = "Saturday";
	break;
   default:
   }
 
  switch(month.getMonth())
  {
   case 0:
    this_month = "January";
	break;
   case 1:
    this_month = "February";
	break;
   case 2:
    this_month = "March";
	break;
   case 3:
    this_month = "April";
	break;
   case 4:
    this_month = "May";
	break;
   case 5:
    this_month = "June";
  	break;
   case 6:
    this_month = "July";
	break;
   case 7:
    this_month = "August";
	break;
   case 8:
    this_month = "September";
	break;
   case 9:
    this_month = "October";
	break;
   case 10:
    this_month = "November";
	break;
   case 11:
    this_month = "December";
	break;
   default:
   }
   document.write(this_day+", "+ this_month + "-" + today + "-" + this_year);
 


