

function ImgPreLoad()
{
button1 = new Image(137,36);
button1.src = "images/b1b.gif";

button2 = new Image(137,36);
button2.src = "images/b2b.gif";

button3 = new Image(137,36);
button3.src = "images/b3b.gif";

button4 = new Image(137,36);
button4.src = "images/b4b.gif";

button5 = new Image(137,36);
button5.src = "images/b5b.gif";

button6 = new Image(137,36);
button6.src = "images/b6b.gif";

button7 = new Image(137,36);
button7.src = "images/b7b.gif";

button8 = new Image(137,36);
button8.src = "images/b8b.gif";

abutton1 = new Image(137,36);
abutton1.src = "images/b1a.gif";

abutton2 = new Image(137,36);
abutton2.src = "images/b2a.gif";

abutton3 = new Image(137,36);
abutton3.src = "images/b3a.gif";

abutton4 = new Image(137,36);
abutton4.src = "images/b4a.gif";

abutton5 = new Image(137,36);
abutton5.src = "images/b5a.gif";

abutton6 = new Image(137,36);
abutton6.src = "images/b6a.gif";

abutton7 = new Image(137,36);
abutton7.src = "images/b7a.gif";

abutton8 = new Image(137,36);
abutton8.src = "images/b8a.gif";

}

//================================

function img_act(imgName) {

  try
  {
	  imgOn = eval(imgName + ".src");
	  document[imgName + "1"].src = imgOn;
	}
	catch (e)
	{
	  //just don't do the rollover yet - the image is loaded yet
	}
}

function img_inact(imgName) {
	imgOff = eval("a" + imgName + ".src");
	document[imgName + "1"].src =imgOff;
}
