var count = 1
function PreloadImages(image, width, height, single)
{
  if (single == 1) {
    eval("a" + count + "=new Image(" + width + "," + height + ");" + "a" + count + ".src='/homeimages/" + image + "';")
    return
  }
  eval("a" + count + "=new Image(" + width + "," + height + ");" + "a" + count + ".src='/homeimages/" + image + "_off.gif';")
  count++
  eval("a" + count + "=new Image(" + width + "," + height + ");" + "a" + count + ".src='/homeimages/" + image + "_on.gif';")
  count++
}

function changeImage(imageName, newImageSRC)
{ document.images[imageName].src = newImageSRC }

function ExplorerFix()
{ for (a in document.links) document.links[a].onfocus = document.links[a].blur; }

if (document.all) document.onmousedown = ExplorerFix;

PreloadImages("about_us", 58, 31)
PreloadImages("news", 48, 31)
PreloadImages("locations", 75, 31)
PreloadImages("site_map", 48, 31)
PreloadImages("contact_us", 73, 31)
PreloadImages("email_bulletin", 67, 31)
PreloadImages("customer_support", 72, 31)
PreloadImages("factory_tour", 63, 31)
PreloadImages("research_and_development", 90, 31)
PreloadImages("products", 75, 31)