var menuids=["suckertree1"] //Enter quoted id(s) of menus, separated by commas like an array ie. ["one", "two"]

function buildsubmenus(){
	for (var i=0; i<menuids.length; i++) {
		var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul");
		for (var t=0; t<ultags.length; t++) {
			//ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle";
			ultags[t].parentNode.onmouseover=function(){
				this.getElementsByTagName("ul")[0].style.display="block";
				this.getElementsByTagName("ul")[0].style.zIndex=10000;
			}
			ultags[t].parentNode.onmouseout=function(){
				this.getElementsByTagName("ul")[0].style.display="none"
			}
		}
	}
}

function showhide(id){
	if (document.getElementById) {
		obj=document.getElementById(id);
		if (obj.style.display=="none") {
			obj.style.display = "";
		} else {
			obj.style.display = "none";
		}
	}
	return(false);
}


if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)


