// メニューロールオーバー
if (document.images) { 
// 設定開始（使用する画像を設定してください） 
/*　top用メニュー*/
// 画像1 
var bimg1on = new Image();
bimg1on.src = "img/bt_0102.jpg"; // ポイント時の画像
var bimg1off = new Image();
bimg1off.src = "img/bt_01.jpg"; // 通常の画像

// 画像2 
var bimg2on = new Image();
bimg2on.src = "img/bt_0202.jpg";
var bimg2off = new Image();
bimg2off.src ="img/bt_02.jpg";

// 画像3 
var bimg3on = new Image();
bimg3on.src = "img/bt_0302.jpg";
var bimg3off = new Image();
bimg3off.src = "img/bt_03.jpg";

// 画像4
var bimg4on = new Image();
bimg4on.src = "img/bt_0402.jpg";
var bimg4off = new Image();
bimg4off.src = "img/bt_04.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'); 
} 

} 


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//////////////////////////////////////////////////////////////
// [ PageUp ]
//////////////////////////////////////////////////////////////

function pageup(e) {
UAGENT = navigator.userAgent.toUpperCase();
if (UAGENT.indexOf("MSIE") >=0) { posi = event.y; }
else { posi = e.pageY; }
moveObje(posi);
}

function moveObje(position) {
move = position / 10;
point = parseInt(position - move);
scrollTo(0,point);
if (point > 0) { setTimeout("moveObje(point)",10); }
}

//////////////////////////////////////////////////////////////
function OpenWin( sTRURL ){
    var screen_width = screen.availWidth - 10;
    var screen_height = screen.availHeight - 30;
    sTRFeatures = "screenX=0,screenY=0,width=" + screen_width + ",height=" + screen_height +",";
    sTRFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes";

    windowname=window.open( sTRURL, "", sTRFeatures );
    windowname.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



