var active = new Array();
var timeOuts = new Array();
function hidePrev (depth)
{
	if (active[depth])
	{
			active[depth].style.visibility="hidden";
	}		
}
function showmenutop(elmnt,depth)
{
	var obj = document.getElementById(elmnt);
	if (active[depth])
	{
			active[depth].style.visibility="hidden";
	}	
	if (obj)
	{	
		clearTimeout(timeOuts[obj.className]);
		active[depth] = obj;
		obj.style.visibility="visible";
	}
}
var hide = "";

function hidemenutop(obj_)
{
	if (document.getElementById(obj_))
	{
		var x = 'document.getElementById("'+obj_+'").style.visibility="hidden"';
		timeOuts[document.getElementById(obj_).className] = setTimeout(x, 800);
	
	}
}



function showmenutop1(elmnt)
{
document.getElementById(elmnt).style.display = 'block';
}
function hidemenutop1(elmnt)
{
document.getElementById(elmnt).style.display = 'none';
}
function printPage()
{
	window.print();  
}
