<!-- hide from older browsers 

var gIsOnLoadDone = false ; // global variable, set to false until onload functions finish
var gOrigNav ; // global variable containing src's of all nav when page first loads
var gImageMap; // global variable containing names of all bottom image maps
var timerID = null;  // initialize timerID so menu reverts back to original when mouse-out

// preload images
var image1u = new Image(57,27)        ;
image1u.src = "rollovers/up_01.gif"   ;
var image1d = new Image(57,27)        ;
image1d.src = "rollovers/over_01.gif" ;

var image2u = new Image(68,27)        ;
image2u.src = "rollovers/up_02.gif"   ;
var image2d = new Image(68,27)        ;
image2d.src = "rollovers/over_02.gif" ;

var image3u = new Image(65,27)
image3u.src = "rollovers/up_03.gif"
var image3d = new Image(65,27)
image3d.src = "rollovers/over_03.gif"

var image4u = new Image(75,27)
image4u.src = "rollovers/up_04.gif"
var image4d = new Image(75,27)
image4d.src = "rollovers/over_04.gif"

var image5u = new Image(73,27)
image5u.src = "rollovers/up_05.gif"
var image5d = new Image(73,27)
image5d.src = "rollovers/over_05.gif"

var image6u = new Image(104,27)
image6u.src = "rollovers/up_06.gif"
var image6d = new Image(104,27)
image6d.src = "rollovers/over_06.gif"

var image7u = new Image(79,27)
image7u.src = "rollovers/up_07.gif"
var image7d = new Image(79,27)
image7d.src = "rollovers/over_07.gif"

var image8u = new Image(79,27)
image8u.src = "rollovers/up_08.gif"
var image8d = new Image(79,27)
image8d.src = "rollovers/over_08.gif"

var image9  = new Image(600,19)
image9.src  = "imagemaps/blank_image.gif"
var image10 = new Image(600,19)
image10.src = "imagemaps/support_image.gif"
var image11 = new Image(600,19)
image11.src = "imagemaps/corp_image.gif"
var image12 = new Image(600,19)
image12.src = "imagemaps/sales_image.gif"
var image13 = new Image(600,19)
image13.src = "imagemaps/products_image.gif"
var image14 = new Image(600,19)
image14.src = "imagemaps/education_image.gif"
var image15 = new Image(600,19)
image15.src = "imagemaps/homenet_image.gif"
var image16 = new Image(600,19)
image16.src = "imagemaps/biz_image.gif"


function origNav()

{ // 1-8 is top nav, 9 is bottom nav when page first loaded

var orig_nav = new Array(9)

for ( var i = 1; i < 9 ; i++ )

{ orig_nav[i] =  eval ( "document.topnav" + i + ".src" ) ; }

  orig_nav[9] = document.bottom_nav.src ;

gOrigNav = orig_nav ;  // i just put i's in

return gOrigNav ;
}


function bottomNav()

{  // default bottom nav choices

var image_map_name = new Array(8)
image_map_name[1] = "blank_image";
image_map_name[2] = "products_image" ;
image_map_name[3] = "support_image" ;
image_map_name[4] = "corp_image" ;
image_map_name[5] = "sales_image";
image_map_name[6] = "homenet_image";
image_map_name[7] = "education_image";
image_map_name[8] = "biz_image" ;


// bottom nav w/word "image" has no yellow dot -- same as default for rollover 

var locUnderImage = gOrigNav[9].indexOf("image") ; 

if ( locUnderImage != -1 ) 

{  var locUnderScore = gOrigNav[9].indexOf("_") ;
   var threeB4 = gOrigNav[9].substring( locUnderScore - 3 , locUnderScore ) ;
   var locDotGif = gOrigNav[9].indexOf(".gif") ;
   var newName = gOrigNav[9].substring( locUnderScore , locDotGif) ;
   
       if ( threeB4 == "cts" ) { image_map_name[2] = "products" + newName } 
  else if ( threeB4 == "ort" ) { image_map_name[3] = "support" + newName }
  else if ( threeB4 == "orp" ) { image_map_name[4] = "corp" + newName }
  else if ( threeB4 == "les" ) { image_map_name[5] = "sales" + newName }
  else if ( threeB4 == "net" ) { image_map_name[6] = "homenet" + newName }
  else if ( threeB4 == "ion" ) { image_map_name[7] = "education" + newName }
  else if ( threeB4 == "biz" ) { image_map_name[8] = "biz" + newName }
}

gImageMap = image_map_name ;

gIsOnLoadDone = true ;

return gImageMap ;

}


function swap (topNum)  // check if onload is done, if so, call readyToSwap which allows swapping of top nav

{  var idVal

   if ( gIsOnLoadDone )  

   { readyToSwap(topNum) ;
     clearTimeout(idVal) ;
     
   }  else  { 
   
      idVal = setTimeout("swap(" + topNum + ");", 50 ) ;   
   }   
}

function readyToSwap (topNum)

{ stopTimer() ; // while swapping, turn timer off

for ( var i = 1; i < 9 ; i++ )

{ name_each_top_nav  = eval ( "document.topnav" + i ) ;

  if (topNum == i )
  {
	document.bottom_nav.src = "/imagemaps/" + gImageMap[i] + ".gif" ;
	name_each_top_nav.src = "/rollovers/over_0" + i + ".gif" ;

  } else {  // would have used mouseOut, but not available in IE3
  
        name_each_top_nav.src = gOrigNav[i] ;  
  }

} // end for

} // end function readyToSwap


function goToPage (sectNum)  
{  // determine current bottom nav to map to correct page

var locUnderScore = document.bottom_nav.src.indexOf("_") ;
var threeB4 = document.bottom_nav.src.substring( locUnderScore - 3 , locUnderScore ) ;

    if (threeB4 == "cts" )  // products

 {       if (sectNum ==  1                 ) { window.open ("products/index.html"       , "_self" ) ; }
    else if (sectNum >=  2 && sectNum <=  3) { window.open ("products/wireless/index.html"    , "_self" ) ; }
    else if (sectNum >=  4 && sectNum <=  5) { window.open ("products/ethernet/index.html"    , "_self" ) ; }
    else if (sectNum >=  6 && sectNum <=  7) { window.open ("products/homepna/index.html"     , "_self" ) ; }
    else if (sectNum ==  8                 ) { window.open ("products/product_index.html", "_self" ) ; }
    else if (sectNum ==  9                 ) { window.open ("products/register/index.html"    , "_self" ) ; }

  } else if (threeB4 == "ort" )  // support

  {      if (sectNum >=  1 && sectNum <=  2) { window.open ("support/index.html"       , "_self" ) ; }
    else if (sectNum >=  3 && sectNum <=  5) { window.open ("support/software/index.html" , "_self" ) ; }
    else if (sectNum >=  6 && sectNum <=  7) { window.open ("support/software/windowdrivers.html" , "_self" ) ; }
    else if (sectNum >=  8 && sectNum <=  9) { window.open ("support/contact_us.html"    , "_self" ) ; }

  } else if ( threeB4 == "orp" )  // corporate

  {      if (sectNum ==  1                 ) { window.open ("corp/index.html", "_self" ) ; }
    else if (sectNum >=  2 && sectNum <=  3) { window.open ("news/index.html" , "_self" ) ; }
    else if (sectNum >=  4 && sectNum <=  5) { window.open ("corp/contact.html"           , "_self" ) ; }
    else if (sectNum >=  6 && sectNum <=  7) { window.open ("corp/background.html"        , "_self" ) ; }
    else if (sectNum ==  8                 ) { window.open ("corp/directions.html"        , "_self" ) ; }
    else if (sectNum ==  9                 ) { window.open ("corp/jobs/index.html"        , "_self" ) ; }


  } else if ( threeB4 == "les" )  // buy now - sales

 {        if (sectNum ==  1                 ) { window.open ("sales/index.html"       , "_self" ) ; }
     else if (sectNum >=  2 && sectNum <=  3) { window.open ("sales/na/index.html"    , "_self" ) ; }
     else if (sectNum >=  4 && sectNum <=  5) { window.open ("sales/intl/latin.html"       , "_self" ) ; }
     else if (sectNum ==  6                 ) { window.open ("sales/intl/europe.html", "_self" ) ; }
     else if (sectNum >=  7 && sectNum <=  8) { window.open ("sales/intl/africa.html"       , "_self" ) ; }
     else if (sectNum ==  9                 ) { window.open ("sales/intl/asia.html"       , "_self" ) ; }

  } else if ( threeB4 == "net" )  // home network
 
  {      if (sectNum >=  1 && sectNum <=  2) { window.open ("homenet/index.html"     , "_self" ) ; }
    else if (sectNum >=  3 && sectNum <=  5) { window.open ("homenet/index.html", "_self" ) ; }
    else if (sectNum >=  6 && sectNum <=  7) { window.open ("products/homeline/index.html"   , "_self" ) ; }
    else if (sectNum >=  8 && sectNum <=  9) { window.open ("dr.farallon/index.html"      , "_self" ) ; }

  } else if (threeB4 == "ion" )  // education

  {      if (sectNum ==  1                 ) { window.open ("education/index.html"     , "_self" ) ; }
    else if (sectNum >=  2 && sectNum <=  4) { window.open ("education/ksol.html" , "_self" ) ; }
    else if (sectNum >=  5 && sectNum <=  6) { window.open ("education/edprice.html"   , "_self" ) ; }
    else if (sectNum >=  7 && sectNum <=  8) { window.open ("education/buy/resellers/index.html" , "_self" ) ; }
    else if (sectNum ==  9                 ) { window.open ("education/edcontact.html"   , "_self" ) ; }
  }

} // close function


function navOff()

{  // reset topnav 1-8

for ( var i = 1; i < 9 ; i++ )

{
  name_each_top_nav  = eval ( "document.topnav" + i ) ;
  name_each_top_nav.src = gOrigNav[i] ;

}  // reset bottom nav

  document.bottom_nav.src = gOrigNav[9] ;

}


// starts a timer of 10 seconds, then resets top & bottom nav back to originally loaded on page

function startTimer()
{
	// running = true;
	timerID = setTimeout ('navOff()', 1000);
}

// turns off timer

function stopTimer()
{
	clearTimeout(timerID);
//	running = false;
}


// end the hiding comment --> 
