function initRollOverImages() {
  var image_cache = new Object();
  $("img.swap").each(function(i) {
    var imgsrc = this.src;
    var dot = this.src.lastIndexOf('.');
    var imgsrc_on = this.src.substr(0, dot) + 'h' + this.src.substr(dot, 4);
    image_cache[this.src] = new Image();
    image_cache[this.src].src = imgsrc_on;
    $(this).hover(
      function() { this.src = imgsrc_on; },
      function() { this.src = imgsrc; });
  });
}

$(document).ready(initRollOverImages);






function left_navi(id) {
	for (j=1; j < 4; j++) {
	document.getElementById(j).style.display = "none";
	document.getElementById(j +"a").style.display = "";
	}
	document.getElementById(id).style.display = "";
	document.getElementById(id +"a").style.display = "none";
 }