// function that displays status bar message

function dm(msgStr) {
  document.returnValue = false;
  if (document.images) { 
     window.status = msgStr;
     document.returnValue = true;
  }
}
// functions that swap images

function di(id,name){
  if (document.images) document.images[id].src=eval(name+".src");
}

// pre-cache 'filename' button state images

if (document.images) {
var button1_up = new Image(159,32)
button1_up.src = "images/off/button1_off.gif"
var button1_over = new Image(159,32)
button1_over.src = "images/on/button1_on.gif"
}

if (document.images) {
var button2_up = new Image(161,33)
button2_up.src = "images/off/button2_off.gif"
var button2_over = new Image(161,33)
button2_over.src = "images/on/button2_on.gif"
}

if (document.images) {
var button3_up = new Image(161,35)
button3_up.src = "images/off/button3_off.gif"
var button3_over = new Image(161,35)
button3_over.src = "images/on/button3_on.gif"
}

if (document.images) {
var button4_up = new Image(161,36)
button4_up.src = "images/off/button4_off.gif"
var button4_over = new Image(161,36)
button4_over.src = "images/on/button4_on.gif"
}

if (document.images) {
var button5_up = new Image(161,34)
button5_up.src = "images/off/button5_off.gif"
var button5_over = new Image(161,34)
button5_over.src = "images/on/button5_on.gif"
}

// stop hiding -->