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