if (document.images) {

  var button1_up = new Image();
  button1_up.src = "images/buttons/trucks-off.jpg";
  
  var button1_over = new Image();
  button1_over.src = "images/buttons/trucks-on.jpg";
}

function over_button1() {
  if (document.images) {
    document["buttonOne"].src = button1_over.src
  }
}

function up_button1() {
  if (document.images) {
    document["buttonOne"].src = button1_up.src
  }
}

// ---------------------------------------------------------------------------------------------------------

if (document.images) {

  var button2_up = new Image();
  button2_up.src = "images/buttons/emergency-off.jpg";
  
  var button2_over = new Image();
  button2_over.src = "images/buttons/emergency-on.jpg";
}

function over_button2() {
  if (document.images) {
    document["buttonTwo"].src = button2_over.src
  }
}

function up_button2() {
  if (document.images) {
    document["buttonTwo"].src = button2_up.src
  }
}

// ---------------------------------------------------------------------------------------------------------

if (document.images) {

  var button3_up = new Image();
  button3_up.src = "images/buttons/lease-off.jpg";
  
  var button3_over = new Image();
  button3_over.src = "images/buttons/lease-on.jpg";
}

function over_button3() {
  if (document.images) {
    document["buttonThree"].src = button3_over.src
  }
}

function up_button3() {
  if (document.images) {
    document["buttonThree"].src = button3_up.src
  }
}

// ---------------------------------------------------------------------------------------------------------

if (document.images) {

  var button4_up = new Image();
  button4_up.src = "images/buttons/walkin-off.jpg";
  
  var button4_over = new Image();
  button4_over.src = "images/buttons/walkin-on.jpg";
}

function over_button4() {
  if (document.images) {
    document["buttonFour"].src = button4_over.src
  }
}

function up_button4() {
  if (document.images) {
    document["buttonFour"].src = button4_up.src
  }
}

// ---------------------------------------------------------------------------------------------------------

if (document.images) {

  var button5_up = new Image();
  button5_up.src = "images/buttons/reefers-off.jpg";
  
  var button5_over = new Image();
  button5_over.src = "images/buttons/reefers-on.jpg";
}

function over_button5() {
  if (document.images) {
    document["buttonFive"].src = button5_over.src
  }
}

function up_button5() {
  if (document.images) {
    document["buttonFive"].src = button5_up.src
  }
}

// ---------------------------------------------------------------------------------------------------------

if (document.images) {

  var button6_up = new Image();
  button6_up.src = "images/buttons/bodyshop-off.jpg";
  
  var button6_over = new Image();
  button6_over.src = "images/buttons/bodyshop-on.jpg";
}

function over_button6() {
  if (document.images) {
    document["buttonSix"].src = button6_over.src
  }
}

function up_button6() {
  if (document.images) {
    document["buttonSix"].src = button6_up.src
  }
}