// displays date on home page
function showDate(){
  var today=new Date()
  var cur_date = today.getDate();
  var cur_day = today.getDay();
  var cur_month = today.getMonth()+1;
  var cur_year = today.getYear();

	if (cur_day == "0"){ cur_day = "Sunday"; }
  else if (cur_day == "1"){ cur_day = "Monday"; }
  else if (cur_day == "2"){ cur_day = "Tuesday"; }
  else if (cur_day == "3"){ cur_day = "Wednesday"; }
  else if (cur_day == "4"){cur_day = "Thursday"; }
  else if (cur_day == "5"){ cur_day = "Friday"; }
  else if (cur_day == "6"){ cur_day = "Saturday"; }
  
	if(cur_month == "1"){ cur_month = "January"; }
  else if (cur_month == "2"){ cur_month = "February"; }
  else if (cur_month == "3"){ cur_month = "March"; }
  else if (cur_month == "4"){ cur_month = "April"; }
  else if (cur_month == "5"){ cur_month = "May"; }
  else if (cur_month == "6"){ cur_month = "June"; }
  else if (cur_month == "7"){ cur_month = "July"; }
  else if (cur_month == "8"){ cur_month = "August"; }
  else if (cur_month == "9"){ cur_month = "September"; }
  else if (cur_month == "10"){ cur_month = "October"; }
  else if (cur_month == "11"){ cur_month = "November"; }
  else if (cur_month == "12"){ cur_month = "December"; }

  document.write(cur_day + ", "+ cur_month + " " + cur_date );
}    
 
function imagePopUp(e) {
    remote =
window.open("","remotewin","scrollbars=yes,toolbar=no,resizable=yes,top=15,left=35,screenX=25,screenY=50");
    remote.location.href = e;
      if (remote.opener == null) remote.opener = window;
    	remote.opener.name = "opener";
}
