if (document.images) { 
var bimg1on = new Image();
bimg1on.src = "images/mypage/common/bt_0102.jpg";
var bimg1off = new Image();
bimg1off.src = "images/mypage/common/bt_01.jpg";

var bimg2on = new Image();
bimg2on.src = "images/mypage/common/bt_0202.jpg";
var bimg2off = new Image();
bimg2off.src ="images/mypage/common/bt_02.jpg";

var bimg3on = new Image();
bimg3on.src = "images/mypage/common/bt_0302.jpg";
var bimg3off = new Image();
bimg3off.src = "images/mypage/common/bt_03.jpg";

var bimg4on = new Image();
bimg4on.src = "images/mypage/common/bt_0402.jpg";
var bimg4off = new Image();
bimg4off.src = "images/mypage/common/bt_04.jpg";

var bimg5on = new Image();
bimg5on.src = "images/mypage/common/bt_0502.jpg";
var bimg5off = new Image();
bimg5off.src = "images/mypage/common/bt_05.jpg";

var bimg6on = new Image();
bimg6on.src = "images/mypage/common/bt_0602.jpg";
var bimg6off = new Image();
bimg6off.src = "images/mypage/common/bt_06.jpg";

var bimg7on = new Image();
bimg7on.src = "images/mypage/common/bt_help02.gif";
var bimg7off = new Image();
bimg7off.src = "images/mypage/common/bt_help.gif";

var bimg8on = new Image();
bimg8on.src = "images/mypage/common/bt_0802.gif";
var bimg8off = new Image();
bimg8off.src = "images/mypage/common/bt_08.gif";

// 画像9
var bimg9on = new Image();
bimg9on.src = "images/mypage/common/bt_0702.jpg";
var bimg9off = new Image();
bimg9off.src = "images/mypage/common/bt_07.jpg";

var bimg100on = new Image();
bimg100on.src = "images/mypage/common/bt_logout02.gif";
var bimg100off = new Image();
bimg100off.src = "images/mypage/common/bt_logout.gif";

} 
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);
}
