// Hide, Show timeout.
var popTimer = 0;


function popOver(objSub){
	//$(indicator).innerText = "over"+objSub;
	clearTimeout(popTimer);
	hideAllBut(objSub);
	showSubCate(objSub);
}

function showSubCate(objSub){
	if(objSub!=0)
		if($(objSub) != undefined)
			$(objSub).show();
}

function popOut(objSub){
	//clearTimeout(popupTimer);
	//$(indicator).innerText = "out"+event.x+objSub;
	popTimer = setTimeout('hideAllBut(0)',300);	
}

//넘겨준 인수의 아이디로 한 것 빼고 모두 감춤
function hideAllBut(except){
	var child = $("left_menu_div").immediateDescendants();
	for(i=0; i<child.length -1 ;i++){
		if(child[i].id != except){
			child[i].hide();
		}
	}
}


