var activObj, timer;
function setActionForMenu( )
{
	var aTag, divTag;
	var listDiv = document.getElementById("popup");
	
	listDiv.onmouseover = function ()
	 {
		var obj = document.getElementById( this.id+'_info' );
		
		if( timer ) clearTimeout( timer );
		if( activObj && activObj!=obj )activObj.style.display = 'none';			
		obj.style.display = 'block';
		activObj = obj;
	 }
	listDiv.onmouseout = function ()
	 {
		timer = setTimeout( 'hideObj()', 100);
	 }			
	 
	divTag = document.getElementById("popup_info");
	divTag.onmouseover = function ()
	 {	
		if( timer ) clearTimeout( timer );
	 }
	divTag.onmouseout = function ()
	 {
		timer = setTimeout( 'hideObj()', 100);
	 }			

}

function hideObj()
{
	activObj.style.display='none';
}