//Javascript 1.1 Image Rollover
//Written by Christopher Nowakowski May 26. 1999
//Adapted from glassdog.com examples

//onLoad='preload("graphic"); return true'
//graphic = alternate graphic url

function preload(graphic)
{
if (document.images)
  var imagepreload = new Image();
  imagepreload.src = graphic; 
}

//onMouseover='buton("btn","link","graphic"); return true'
//btn = Name attribute of the image
//link = Status Window message
//graphic = alternate graphic url

function buton(btn,link,graphic)
{
if (document.images)
  document.images[btn].src = graphic;
  window.status = link;
}

//onMouseout='butoff("btn","graphic"); return true'
//btn = Name attribute of the image
//graphic = original graphic url
//Status window is automatically cleared

function butoff(btn,graphic)
{
if (document.images)
  document.images[btn].src = graphic;
  window.status = ' ' ;
}

//Known Bugs
//The first time you mouse over an image, the status window shows the
//programmed message, but blanks quickly if the new image is not preloaded.