
function sdg_setNodeMouseovers(nodelist, ref) {

	var i;
	// consider that each item passed needs a mouseover
	for (i=0; i<nodelist.length; i++) {

		nodelist[i].onmouseover = function() {
			this.className += " hover";
		}

		nodelist[i].onmouseout = function() {
			this.className=this.className.replace(" hover", "");
		}
		
	}
}

IEInitMenus = function() {
	if (document.all&&document.getElementById) { //it's IE
		IEMoveBottom();
		// check all divs in topnav
		sdg_setNodeMouseovers(document.getElementById("topnav").getElementsByTagName("DIV"), 1);
	}
}

window.onload = IEInitMenus;

function IEMoveBottom() {
	if (document.all&&document.getElementById) { //it's IE
		// check all divs in topnav
		document.getElementById("bottomnav-block").style.bottom = 10;;
		
	}
}


