<!--
	// ______________________________________    SCRIPTS TO HANDLE MOUSEOVER LAYERS (LEFT-BOTTOM) ON HOMEPAGE            ______________________________________________________


// Create global variables for browser type
    var layer = new String();
    var style = new String();
   
    // Determine if the browser is Internet Explorer, Navigator,
    // or other. Also, set the layer variable depending on the
    // type of access it needs.
    function checkBrowser(){
      if(navigator.userAgent.indexOf("MSIE") != -1){
        layer = ".all";
        style = ".style";
      }else if(navigator.userAgent.indexOf("Nav") != -1){
        layer = ".layers";
        style = "";
      }
    }
   
    // Take the state passed in, and change it.
    function changeState(layerRef, state){
      eval("document" + layer + "['" + layerRef + "']" + style +
                ".visibility = '" + state + "'");
    }
  //-->
  
  function getRefToDiv(divID,oDoc) {
  if( document.getElementById ) {
    return document.getElementById(divID); }
  if( document.all ) {
    return document.all[divID]; }
  if( !oDoc ) { oDoc = document; }
  if( document.layers ) {
    if( oDoc.layers[divID] ) { return oDoc.layers[divID]; } else {
      //repeatedly run through all child layers
      for( var x = 0, y; !y && x < oDoc.layers.length; x++ ) {
        //on success, return that layer, else return nothing
        y = getRefToDiv(divID,oDoc.layers[x].document); }
    return y; } }
  return false;
}
  
  function showDiv(divID_as_a_string) {
  //get a reference as above ...
  myReference = getRefToDiv(divID_as_a_string);
  if( !myReference ) {
//    window.alert('Nothing works in this browser');
    return; //don't go any further
  }
  //now we have a reference to it
  if( myReference.style ) {
    //DOM & proprietary DOM
    myReference.style.visibility = 'visible';
  } else {
    //layers syntax
    myReference.visibility = 'show';
  }
}

  function hideDiv(divID_as_a_string) {
  //get a reference as above ...
  myReference = getRefToDiv(divID_as_a_string);
  if( !myReference ) {
//    window.alert('Nothing works in this browser');
    return; //don't go any further
  }
  //now we have a reference to it
  if( myReference.style ) {
    //DOM & proprietary DOM
    myReference.style.visibility = 'hidden';
  } else {
    //layers syntax
    myReference.visibility = 'hide';
  }
}

function swapDiv_latest_news()
	{

		MM_swapImage('news','','images/infrastructure/news.gif',1);
		MM_swapImage('business','','images/infrastructure/business_inactive.gif',1);

		visible('latest_news','business_overview');

		//hideDiv('business_overview');
		//showDiv('latest_news');
		}

function swapDiv_business_overview()
	{
		MM_swapImage('business','','images/infrastructure/business.gif',1);
		MM_swapImage('news','','images/infrastructure/news_inactive.gif',1);
		
		visible('business_overview','latest_news');
		
	//	hideDiv('business_overview');
	//	showDiv('latest_news');
		}


function visible(div_id_in,div_id_out){
		document.getElementById(div_id_in).style.visibility = "visible";
		document.getElementById(div_id_out).style.visibility = "hidden";		
		}	

		



