function subnavHideShow(theParent, onoff) {

	    var kids = theParent.childNodes.length;
    	for (var i=1; i<=kids; i++) {
    		
        if(theParent.childNodes[i-1].tagName == "UL" && onoff == "on") {
			theParent.childNodes[i-1].style.display = "block";	
		} 
		
		if(theParent.childNodes[i-1].tagName == "UL" && onoff == "off") {
			theParent.childNodes[i-1].style.display = "none";
		}

		if(theParent.tagName == "LI" && onoff == "on") {
			theParent.className = "subon";
		}

		if(theParent.tagName == "LI" && onoff == "off") {
			theParent.className = "";
		}
}
}
