<!--
var BROWSER_HEIGHT;
var BODY_HEIGHT;
var CURRENT_PAGE;

/******************************************************************
* Call Functions (author James Ricks) 
* This function calls the other function which place the footer
* and control the expandable links.
*****************************************************************/
function callFunctions()
{
    var menuDiv = findDOM("expandableNavigation", 0);
    /******************************************************************
    *  If the links are to be expanded, call the parseExpand function 
    *  to expand the menus, else display the hidden body.
    *  --The body is hidden so that the links do not flitter when the 
    *  --javascript function renders them properly.   
    *****************************************************************/
    //if the expanded menus exist, than call parse expanded
    if (menuDiv != null)
    {
      parseExpanded('expandedLinks');  
      changeSizeRevised();    
    }
    else
    {
     document.body.style.visibility = "visible";
     changeSizeRevised();
    }
}

/******************************************************************
* Change Size Revised(Author Chris Potter) revision 1.1 (James Ricks)
* This function resizes the main_body div to use more space (if needed) to
* place the footer on the bottom of the browser window. It will also 
* expand or shrink when the expandable menu is expanded or collapsed. 
*
* depends on FINDDOM
*****************************************************************/
function changeSizeRevised()
{
   var leftLinks = findDOM("left_column", 0);
   var rightSide = findDOM("right_section", 0);
   var mainBody = findDOM("main_body", 0)
   if (rightSide == null)
   {
      rightSide = mainBody;
   }
   var leftHeight;
   var footerHeight = 45;
   var headerHeight = 94;
   currentPage = location.href
   //update the global body variables only once when the page is loaded, or if the page changes
   if (BROWSER_HEIGHT == undefined || BODY_HEIGHT == undefined || currentPage != CURRENT_PAGE)
   {
      if(typeof(window.innerWidth) == 'number')
      {
         //Non-IE
         BROWSER_HEIGHT = window.innerHeight;
      }
      else if(document.documentElement && document.documentElement.clientHeight)
      {
         //IE 6+ in 'standards compliant mode'
         BROWSER_HEIGHT = document.documentElement.clientHeight;
      }
      else if(document.body && document.body.clientHeight)
      {
         //IE 4 compatible
         BROWSER_HEIGHT = document.body.clientHeight;
      }
      CURRENT_PAGE = location.href;      
      BODY_HEIGHT = rightSide.offsetHeight;
      BROWSER_HEIGHT = BROWSER_HEIGHT - headerHeight - footerHeight;  
   }  
   //when there is a left_column in the document
   if(leftLinks != null)
   {
      leftHeight = leftLinks.offsetHeight;
      if(leftHeight >= BODY_HEIGHT && leftHeight > BROWSER_HEIGHT)
      {
         mainBody.style.height = leftHeight + "px";
      }
      else if(BODY_HEIGHT > leftHeight && BODY_HEIGHT > BROWSER_HEIGHT)
      {
         mainBody.style.height = BODY_HEIGHT + "px";
      }
      else
      {
         mainBody.style.height = BROWSER_HEIGHT + "px";
      }
   }
   else
   {
      if(BODY_HEIGHT > BROWSER_HEIGHT)
      {
         mainBody.style.height = BODY_HEIGHT + "px";
      }
      else
      {
         mainBody.style.height = BROWSER_HEIGHT + "px";
      }
   }
}
-->
