
//Function alerts the index of the selected option within form


function goToNews(){
	
myref = document.form1.eventType2.options[document.form1.eventType2.selectedIndex].value


location.href = "news.aspx?category=" + 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";
	
			var layer = document.getElementById('newscategory2');
    		layer.style.display = 'none';
			
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
  var layer = document.getElementById('newscategory2');
    layer.style.display = 'block';
   }
   }
  }
 }
}

window.onload=startList;
