( document.images )
{
  <!-- home -->
  home_on = new Image(56,26) ; 
  home_on.src = "http://stcroixenterprises.com/images/layout/home_on.png";
  home_off = new Image(56,26) ;
  home_off.src = "http://stcroixenterprises.com/images/layout/home_off.png";
  <!-- tribal history -->
  tribalhistory_on = new Image(129,26) ; 
  tribalhistory_on.src = "http://stcroixenterprises.com/images/layout/tribalhistory_on.png";
  tribalhistory_off = new Image(129,26) ; 
  tribalhistory_off.src = "http://stcroixenterprises.com/images/layout/tribalhistory_off.png";
  <!-- links -->
  links_on = new Image(54,26) ; 
  links_on.src = "http://stcroixenterprises.com/images/layout/links_on.png";
  links_off = new Image(54,26) ; 
  links_off.src = "http://stcroixenterprises.com/images/layout/links_off.png";  
  <!-- employment -->
  employment_on = new Image(108,26) ; 
  employment_on.src = "http://stcroixenterprises.com/images/layout/employment_on.png";
  employment_off = new Image(108,26) ; 
  employment_off.src = "http://stcroixenterprises.com/images/layout/employment_off.png";  
  <!-- contacts -->
  contacts_on = new Image(85,26) ; 
  contacts_on.src = "http://stcroixenterprises.com/images/layout/contacts_on.png";
  contacts_off = new Image(85,26) ; 
  contacts_off.src = "http://stcroixenterprises.com/images/layout/contacts_off.png"; 
}

// used to correct browsers
function chkVer(imagename,objectsrc)
{
  var n=navigator.appName
  var v=parseInt(navigator.appVersion)
  var browsok=((n=="Netscape")&&(v>=3))
  var browsok2=((n=="Microsoft Internet Explorer")&&(v>=4))
  var browsok3=((n=="Opera")&&(v>=6))
   if ((browsok)||(browsok2) ||(browsok3))
    document.images[imagename].src=eval(objectsrc+".src")
}
