
//Function alerts the index of the selected option within form
function goToevent(){
	
myref = document.form1.eventType.options[document.form1.eventType.selectedIndex].value


location.href = "page.aspx?page=2&type=" + myref
}

function goToevent2(){
	
myref = document.form1.eventType2.options[document.form1.eventType2.selectedIndex].value


location.href = "page.aspx?page=2&type=" + myref


}

function goToevent3(){
	
myref = document.form1.eventType2.options[document.form1.eventType2.selectedIndex].value


location.href = "page.aspx?page=295&type=" + myref


}



startList = function() {
	


if (document.all&&document.getElementById) {
	
navRoot = document.getElementById("nav");


for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];



if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";

  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");

   }
   }
  }
 }
}

window.onload=startList;

function searcher() {
	window.location.href = "search.aspx?search=" + document.form1.search.value ;
	
}
