/*
	This is for the Suckerfish menu from http://www.htmldog.com/articles/suckerfish/dropdowns/
	It loop through all the list elements within the body, and gives them mouseover
	and mouseout functions to change their class to a hovering one.
*/
sfHover = function() {
	//var bodytags = document.getElementsById("menu"); //get the body tag
	//var sfEls = bodytags[0].getElementsByTagName("LI"); //get all LI elements on the page
	var sfEls = document.getElementsByTagName("LI"); //get all LI in the main menu
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className += "hover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("hover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
