	function showSub(subID) 
	{
		var oSubMenu = document.getElementById(subID)
		var oMainMenu = document.getElementById(subID.replace('smnu','mnu'))
		//check if the submenu has items
		if (oSubMenu) oSubMenu.style.visibility = 'visible';
		
		if (oMainMenu) 
		{
			if (oMainMenu.className != 'mnuTop_Item_Selected') oMainMenu.className = 'mnuTop_Item_Hover';
			toggleFlashMovie(false);
		}

		
		
	}

	function hideSub(subID) 
	{
		var oSubMenu = document.getElementById(subID)
		var oMainMenu = document.getElementById(subID.replace('smnu','mnu'))
		if (oSubMenu) oSubMenu.style.visibility = 'hidden';
		
		if (oMainMenu) 
		{
			if (oMainMenu.className != 'mnuTop_Item_Selected') oMainMenu.className = 'mnuTop_Item';					
			toggleFlashMovie(true);
		}
	
	
	}

	function toggleFlashMovie (visible) {
		/*
			on a non ie browser: hide the flash movie just below the main menu,
			since the flash is always on top on these browsers
		*/
		
		if (!document.all) {	
			if (document.getElementById('HEADERFLASH')) {
				document.getElementById('HEADERFLASH').style.visibility = (visible==true) ? 'visible' : 'hidden';		
			}
		}
	}

	function showLeftSub(ID) 
	{
		var oLeftMenu = document.getElementById(ID);
		if (oLeftMenu) 
		{
			if (oLeftMenu.className != 'mnuLeft_Item_Selected') oLeftMenu.className = 'mnuLeft_Item_Over';
		}
	}

	function hideLeftSub(ID) 
	{
		var oLeftMenu = document.getElementById(ID);
		if (oLeftMenu) 
		{
			if (oLeftMenu.className != 'mnuLeft_Item_Selected') oLeftMenu.className = 'mnuLeft_Item';
		}
	}
	

	var objWindowHardloopschema;
	
	function openHardloopschema(strURL) {
		objWindowHardloopschema = window.open(strURL,"JSwindow","height=600,width=900,top=20,left=20,status=no,toolbar=no,menubar=yes,location=no,resizable=yes,scrollbars=yes");
		try 
		{
			objWindowHardloopschema.focus();
		} 
		catch (e) 
		{
		}
	}
