<!-- // Site Javascripts

// --------- Image Rollover Preloader ---------
// SCRIPT: Preloads the alternate graphics used in the SwingImg function
function imgLoad ()
{
  roadconst=new Image();
  roadconst.src="art/buttons/roadconst_light.png";

  asphalt=new Image();
  asphalt.src="art/buttons/asphalt_light.png";

  coalhaul=new Image();
  coalhaul.src="art/buttons/coalhaul_light.png";

  mines=new Image();
  mines.src="art/buttons/mines_light.png";

  wellsites=new Image();
  wellsites.src="art/buttons/wellsites_light.png";

  trucking=new Image();
  trucking.src="art/buttons/trucking_light.png";

  cranes=new Image();
  cranes.src="art/buttons/cranes_light.png";

  diversity=new Image();
  diversity.src="art/buttons/diversity_light.png";
}


// --------- Image Rollover Scripts for Navigation ---------
// SCRIPT: Switches graphics when mouse is hovered over them
function SwitchImg()
{ // Change graphic when mouse is hovered over
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
        store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
           switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} // Change graphic when mouse is hovered over


// Restore graphic when mouse is moved off the image
function RestoreImg() {
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} // Restore graphic when mouse is moved off the image
// --------- Image Rollover Script for Navigation ---------

-->