		var scrollDiv
		function hideShowForms(cat){
			if (!document.getElementById) {alert("Your browser does not support this function.");return;}
			if (sections) {
				isOn = !sections[cat]
				sections[cat] = isOn
				theDiv = document.getElementById(cat).parentNode
				if(isOn) {
					theDisplay = "block"
					theDiv.className = "parent subhead on"
				}
				else {
					theDisplay = "none"
					theDiv.className = "parent subhead"
				}
				// Toggle the display visibility to hidden or not for specified rows
				document.getElementById(cat + "Child").style.display = theDisplay; 
	
				
				// automatically close last opened categories
				if (lastOpened && lastOpened != cat && sections[lastOpened]) {
					if(theDisplay == "block") scrollDiv = theDiv
					hideShowForms(lastOpened)
					scrollTo(0,findPos(scrollDiv));
				}
				lastOpened = cat
			}
				
		}

		function findPos(obj) {
			var curtop = 0;
			if (obj.offsetParent) {
				curtop = obj.offsetTop
				while (obj = obj.offsetParent) {
					curtop += obj.offsetTop
				}
			}
			return curtop
		}

		var strSearch = window.location.search.substring(1,window.location.search.length).toLowerCase()
		function init() {
			if (!document.getElementById) return;
			if (strSearch != "" && document.getElementById(strSearch + "Child")) {
				if (!lastOpened) hideShowForms(strSearch);
			}
		}
