﻿if (document.images) {

/* TOP */
var cnt01on = new Image();
cnt01on.src = "images/vol2index2.jpg";
var cnt01off = new Image();
cnt01off.src = "images/vol2index.jpg";

var cnt02on = new Image();
cnt02on.src = "images/ecojapancup2.jpg";
var cnt02off = new Image();
cnt02off.src = "images/ecojapancup.jpg";

}

function On(name) {
  if (document.images) {
    document.images[name].src = eval(name + 'on.src');
  }
}

function Off(name) {
  if (document.images) {
    document.images[name].src = eval(name + 'off.src');
  }
}