// **************************************************
// Author: Kyle Barrow
// Date: 2003-05-05 10:33
// Type: COMMENT
// Place all JavaScript APIs here
// **************************************************
function GetObject(objId)
{
if(document.getElementById)
{
return document.getElementById(objId);
}
}
//requires object API
function ShowBlock(objId) 
{
if (document.getElementById) 
{
GetObject(objId).style.display = "block";
}
}
function HideBlock(objId) 
{
if (document.getElementById) 
{
GetObject(objId).style.display = "none";
}
}
var garrMenuState = new Array();
garrMenuState['school1'] = 0;
garrMenuState['school2'] = 0;
garrMenuState['contact1'] = 0;
garrMenuState['contact1en'] = 0;
// **************************************************
// Author: Kyle Barrow
// Date: 2003-05-05 11:18
// Type: FUNCTION
// Function: ShowMenu
// Purpose: Show or hide inline sub-menu block
// Input: objId
// Output: block visibility, garrMenuState
// **************************************************
function ShowMenu(objId)
{
if(garrMenuState[objId]==0)
{
ShowBlock(objId)
}
else
{
HideBlock(objId)
}


garrMenuState[objId] = (garrMenuState[objId]*-1)+1;
}

