// Dates & functions related to the seminar
seminarDateStr = "Friday, June 25, 2010";
seminarEndDate = "Monday, June 28, 2010";
seminarYear = 2010;

function seminarDaysLeft() {
  seminarDate = new Date( seminarDateStr );
  todaysDate = new Date();
  daysLeft = Math.floor((seminarDate - todaysDate)/86400000)+1;
  document.write( daysLeft );
}

function seminarWeeksLeft() {
  seminarDate = new Date( seminarDateStr );
  todaysDate = new Date();
  daysLeft = Math.floor((seminarDate - todaysDate)/86400000)+1;
  weeksLeft = Math.floor( daysLeft/7 );
  document.write( weeksLeft );
}

// Construct a mailto tag on the fly as an attempt to avoid robots
//function AnonymousFunction (name, company, domain) {
// locationstring = '"' . name + '@' + company + '.' + domain . '"';
// window.location.replace (locationstring);
//}
