// *********** Code Used for Menu Display Animation ************ //
// Show Menu - Show the div tag as a block element
// Hide Menu - Hide the div tag
// Hide -- Hide all the Tag
// Show - Depend on the divName hide and display the div tag menu items
var pathNav = "";
var timerOn=false,timerID,timecount=1000;

function showMenu(strName)
{
	hideAll();
	show(strName);
}

function hideAll()
{
	hide('divModeling');	
	hide('divRendering');	
	hide('divAnimation');
	hide('divSearch');
}

function show(strName)
{
	document.getElementById(strName).style.display ="block";		  
}

function hide(strName)
{
	document.getElementById(strName).style.display = "none";		  
}

function hideVisible(strName)
{
	document.getElementById(strName).style.visibility = "hidden";
}

function showVisible(strName)
{
	document.getElementById(strName).style.visibility = "visible";
}

function startTime() 
{
	if (timerOn == false) 
	{
		timerID=setTimeout( "hideAll()" , timecount);
		timerOn = true;
	}
}

function stopTime() 
{
	if (timerOn) 
	{
		clearTimeout(timerID);
		timerID = null;
		timerOn = false;
	}
}