// JavaScript Document
var timeOutId=new Array();
function onMenuOver(id)
{
	if (timeOutId[id]) clearTimeout(timeOutId[id]);
	
	var obj = document.getElementById("menu_"+id);
	var pobj = document.getElementById("pmenu_"+id);

	pobj.className='bar_active';
	
	if (obj){
		obj.style.display = 'block';
	}
}

function hideMenu(id,keeplight)
{
	var obj = document.getElementById("menu_"+id);
	var pobj = document.getElementById("pmenu_"+id);
	if(id!=keeplight)
		pobj.className='bar';
	if (obj)
		obj.style.display = 'none';
}

function onMenuOut(id,keeplight)
{
	timeOutId[id] = window.setTimeout("hideMenu("+id+","+keeplight+")", 50);
}
function ElementLight(id)
{
	var sobj = document.getElementById("sabmenu_"+id);
		sobj.className='jump_active';
}
function ElementDark(id)
{
	var sobj = document.getElementById("sabmenu_"+id);
		sobj.className='jump_notactive';
}
