  var month="";

  var theweekday="";

  var year="";

  thedate = new Date()

  themonth = thedate.getMonth();

  theweekday= thedate.getDate();

  thehour= thedate.getHours();

  if (thehour >= 12) {
	theampm = " pm";
  } else {
	theampm = " am";
  }

  if (thehour > 12) {
	thehour = thehour - 12;
  }

  if (thehour == 0) {
  	thehour = 12;
  	theampm = " am";
  }

  thetime = thehour + ":" 
  if (thedate.getMinutes() < 10) 	thetime = thetime + "0";
  thetime = thetime + thedate.getMinutes() + theampm;

  weekday= theweekday;

  theyear= thedate.getYear();

  year = theyear

  if(themonth == 0) {

  month = "January "}

  else if(themonth ==1)

  month = "February "

  else if(themonth ==2)

  month = "March "

  else if(themonth ==3)

  month = "April "

  else if(themonth ==4)

  month = "May "

  else if(themonth ==5)

  month = "June "

  else if(themonth ==6)

  month = "July "

  else if(themonth ==7)

  month = "August "

  else if(themonth ==8)

  month = "September "

  else if(themonth ==9)

  month = "October "

  else if(themonth ==10)

  month = "November "

  else if(themonth ==11)

  month = "December "

