function getCopyrightYear(y) {

  var mydate = new Date();

  if (mydate.getFullYear)

    year = mydate.getFullYear();

  else {

    year = mydate.getYear();

    if (year < 100)

      year = parseInt(2000 + year);

    else

      year = parseInt(1900 + year);

  }

  if (y) copyright = y;

  document.writeln(typeof copyright == "undefined" || !copyright || copyright == year?year:copyright + "-" + year);

}

/*navigates user to correct page depending on their dropdown selection. It will go nowhere if an incorrect date is attempted*/

function validateForm(formName) {

	dayValue=document.forms[formName].jumpday.options[document.forms[formName].jumpday.selectedIndex].value.toLowerCase();
	monthValue=document.forms[formName].jumpmonth.options[document.forms[formName].jumpmonth.selectedIndex].value.toLowerCase();
	if(dayValue=="day" || monthValue=="month")
	{
	}
	else if(dayValue=="31" && (monthValue=="february" || monthValue=="april" || monthValue=="june" || monthValue=="september" || monthValue=="november"))
	{
	}
	else if (dayValue=="30" && monthValue=="february")
	{
	}
	else
	{
		window.location="/web/dates/" + monthValue + "/" + dayValue + "/index.html";
	}
}



