// makes MouseOver objects
function MOob(onloc,offloc) {
  sPath = (location.href.indexOf('pine') == -1)? '' : '/Iowa'; 
  
  if (document.images) {
    this.onsrc = new Image();
    this.onsrc.src = sPath + onloc;
    this.offsrc = new Image();
    this.offsrc.src = sPath + offloc;
    }
}

function doSwap(sIname, bTog) {
  if (document.images) {
        document.images[sIname].src = (bTog)? eval(sIname+".onsrc.src") : eval(sIname+".offsrc.src") ; 
 }
}

// image_name = new MOob(path-to-on-version, path-to-off-version)

// Home page navigation
home1 = new MOob('/images/h_about_on.gif','/images/h_about_off.gif');
home2 = new MOob('/images/h_customers_on.gif','/images/h_customers_off.gif');
home3 = new MOob('/images/h_products_on.gif','/images/h_products_off.gif');
home4 = new MOob('/images/h_sampler_on.gif','/images/h_sampler_off.gif');
home5 = new MOob('/images/h_community_on.gif','/images/h_community_off.gif');
home6 = new MOob('/images/h_contact_on.gif','/images/h_contact_off.gif');

// Secondary Navigational items
one = new MOob('/images/t_about_on.gif','/images/t_about_off.gif');
two = new MOob('/images/t_customers_on.gif','/images/t_customers_off.gif');
three = new MOob('/images/t_products_on.gif','/images/t_products_off.gif');
four = new MOob('/images/t_sampler_on.gif','/images/t_sampler_off.gif');
five = new MOob('/images/t_community_on.gif','/images/t_community_off.gif');
six = new MOob('/images/t_contact_on.gif','/images/t_contact_off.gif');
