// define and initialize image
// objects
img0=null;
img1=null;
img2=null;
img3=null;
img4=null;
img5=null;
img6=null;
img7=null;

if (document.images) {
// preload the alternate
// images offscreen
imgarray = new Array(8);
imgarray[0] = new Image();
imgarray[0].src = "images/btn1off.gif";
imgarray[1] = new Image();
imgarray[1].src = "images/btn2off.gif";
imgarray[2] = new Image();
imgarray[2].src = "images/btn3off.gif";
imgarray[3] = new Image();
imgarray[3].src = "images/btn4off.gif";
imgarray[4] = new Image();
imgarray[4].src = "images/btn5off.gif";
imgarray[5] = new Image();
imgarray[5].src = "images/btn6off.gif";
imgarray[6] = new Image();
imgarray[6].src = "images/btn7off.gif";
imgarray[7] = new Image();
imgarray[7].src = "images/btn8off.gif";
}

function selectImage(img) {
if (document.images) {
var tmp = img.src;
img.src = img.lowsrc;
img.lowsrc = tmp;
}
}

