selected=0;
a_over = new Array;
  a_over[1] = new Image;a_over[1].src = "img/b1_high.gif";
  a_over[2] = new Image;a_over[2].src = "img/b2_high.gif";
  a_over[3] = new Image;a_over[3].src = "img/b3_high.gif";
  a_over[4] = new Image;a_over[4].src = "img/b4_high.gif";
  a_over[5] = new Image;a_over[5].src = "img/b5_high.gif";
a_click = new Array;
  a_click[1] = new Image;a_click[1].src = "img/b1_high.gif";
  a_click[2] = new Image;a_click[2].src = "img/b2_high.gif";
  a_click[3] = new Image;a_click[3].src = "img/b3_high.gif";
  a_click[4] = new Image;a_click[4].src = "img/b4_high.gif";
  a_click[5] = new Image;a_click[5].src = "img/b5_high.gif";
a_out = new Array;
  a_out[1] = new Image;a_out[1].src = "img/b1_low.gif";
  a_out[2] = new Image;a_out[2].src = "img/b2_low.gif";
  a_out[3] = new Image;a_out[3].src = "img/b3_low.gif";
  a_out[4] = new Image;a_out[4].src = "img/b4_low.gif";
  a_out[5] = new Image;a_out[5].src = "img/b5_low.gif";
  
function mOver(nr) {
  if(nr!=selected) {
    imgname="button"+nr;
    document.images[imgname].src=a_over[nr].src;
  }
}

function mOut(nr) {
  if(nr!=selected) {
    imgname="button"+nr;
    document.images[imgname].src=a_out[nr].src;
  }
}

function mClick(nr) {
  if(selected!=0) {
    imgname="button"+selected;
    document.images[imgname].src=a_out[selected].src;
  }
  selected=nr;
  imgname="button"+nr;
  document.images[imgname].src=a_click[nr].src;
}