var timer;
var tempThing;

function showHide(tempThingId) {	
		tempThing = document.getElementById(tempThingId);
		var tempVis = tempThing.style.display;			
		tempChildren = tempThing.childNodes;			
		for(i=0;i<tempThing.childNodes.length;i++) {
			if(tempThing.childNodes[i].tagName == "A") {					
				tempThing.childNodes[i].onmouseout = mouseOutHide;
				tempThing.childNodes[i].onmouseover = cancelTimer;
			}
		}			
		if(tempVis == "block")
			tempThing.style.display = "none";
		else
			tempThing.style.display = "block";
}

function mouseOutHide() {					
	var parentVis = this.parentNode.style.display;		
	timer = setTimeout("tempThing.style.display = 'none'", 125);			

}

function cancelTimer() {						
	clearTimeout(timer);
}
