onload = function () {
  ro();
}

onunload = function () {
}

function ro() {
  var d = document;
  if(d.images){
    if(!d.MM_p) d.MM_p=new Array();
    var anchorFields = d.getElementsByTagName('A');
    for ( var i =0; i <anchorFields.length ; i++  ) {
      var anchor = anchorFields[i];
      if ( !anchor.firstChild ) continue;
      if ( !anchor.firstChild.src ) continue;
      if ( new String(anchor.firstChild.src).match(/-out/) ) {
        var src_on  = new String(anchor.firstChild.src).replace(/-out/,'-on') ;
        anchor.onmouseover = function () {this.firstChild.src = this.firstChild.src.replace(/-out/,'-on')};
        anchor.onmouseout  = function () {this.firstChild.src = this.firstChild.src.replace(/-on/,'-out')};
        d.MM_p[i] = new Image;
        d.MM_p[i].src = src_on;
      }
    }
  }
}


////// jqueryなどを使用する場合は、1-3行目を削除し以下を使用
//////$(function(){
//////  ro();
////// });