// JavaScript Document//-----------------------------------Navigation Drop-Downs Need this------------------------------function elem(id){ //compatible element grabber	//alert ("Getting the element");	if(document.all) { return document.all(id); }	else if (document.getElementById) { return document.getElementById(id);}	return new Array(); //hides angry errors in buggy situations}startList = function() {	if (document.all&&document.getElementById) {		navRoot = document.getElementById("MainNav");		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 hidesort() {	if (document.all&&document.getElementById) { elem('sort').style.visibility = 'hidden'; }}function showsort() {	if (document.all&&document.getElementById) { elem('sort').style.visibility = 'visible'; }}
