function hilite(item)
{
    var sClass = item.className
    if (checkSubstring(sClass) == true) return
    item.className = sClass + "_hilite"
    //alert("Hilite: ID="+item.ID+"   Class Before="+sClass+"   Class After="+item.className);
    //item.focus()
}

function restore(item)
{
    var sClass = item.className
    if (checkSubstring(sClass) == false) return
	item.className = sClass.substring(0,(sClass.length -7))
    //alert("Restore: ID="+item.ID+"   Class Before="+sClass+"   Class After="+item.className);
	//item.focus();
}

function checkSubstring(sClass)
{
    if (sClass.substring((sClass.length -7), sClass.length) == "_hilite")
        return true;
    return false;
}	
		
function GotoPage(page)
{
	switch(page)
	{
		case 1: window.location.href="EAHAMain.htm";
		break;
		
		case 2: window.location.href="EAESMain.htm";
		break;
		
		case 3: window.location.href="EACOMain.htm";
		break
	}
}

function GotoHA(page)
{
	switch(page)
	{
		case 1: window.location.href="EAHAmControl.htm";
		break;
		
		case 2: window.location.href="EAHAmTheater.htm";
		break;
		
		case 3: window.location.href="EAHAmDisplay.htm";
		break;
		
		case 4: window.location.href="EAHADownload.htm";
		break;
		
		case 5: window.location.href="EAHAmNewsCenter.htm";
		break;
		
		case 6: window.location.href="EAHAmPanel.htm";
		break;
	}
}

		
function GotoES(page)
{
	switch(page)
	{
		case 1: window.location.href="EAESEngineering.htm";
		break;

		case 2: window.location.href="EAESSystem.htm";
		break;
				
		case 3: window.location.href="EAESLPM.htm";
		break;
				
		case 4: window.location.href="EAESControllers.htm";
		break;
	}
}

function GotoCO(page)
{
	switch(page)
	{
		case 1: window.location.href="EACOContact.htm";
		break;
		
		case 2: window.location.href="EACOSupport.htm";
		break;
		
		case 3: window.location.href="EACONews.htm";
		break;
		
		case 4: window.location.href="EACOCareers.htm";
		break;
	}
}