function fixemail(o) {
 if (o.value.match(/you@email/)) {
   o.value = "";
   o.style.color = "#000000";
 }
}

function getCalendarDate(now) {
  var months = new Array(13);
  months[0] = "January";
  months[1] = "February";
  months[2] = "March";
  months[3] = "April";
  months[4] = "May";
  months[5] = "June";
  months[6] = "July";
  months[7] = "August";
  months[8] = "September";
  months[9] = "October";
  months[10] = "November";
  months[11] = "December";
  var monthnumber = now.getMonth();
  var monthname = months[monthnumber];
  var monthday = now.getDate();
  var year = now.getYear();
  if(year < 2000) { year = year + 1900; }
  var dateString = monthname + ' ' + monthday + ', ' + year;
  return dateString;
} 

function getClockTime(now) {
  var hour = now.getHours();
  var minute = now.getMinutes();
  var second = now.getSeconds();
  var ap = "AM";
  if (hour > 11) { ap = "PM"; }
  if (hour > 12) { hour = hour - 12; }
  if (hour == 0) { hour = 12; }
  if (minute < 10) { minute = "0" + minute; }
  var timeString = hour +  ':' +  minute +  " " + ap;
  return timeString;
} 

function goDate(t) {
  d = new Date(t*1000);
  document.write(getCalendarDate(d)+" "+getClockTime(d));
}