var gRootPath="";
strs = location.href.split("/");
for(i=7;i<strs.length;i++){
 gRootPath = gRootPath+"../";
}

// メニューロールオーバー
if (document.images) { 
// 設定開始（使用する画像を設定してください） 
/*　top用メニュー*/
// 画像1 
var img1on = new Image();
img1on.src = gRootPath+"../img/newtopimg/bt_newbutton0102.gif"; // ポイント時の画像
var img1off = new Image();
img1off.src = gRootPath+"../img/newtopimg/bt_newbutton01.gif"; // 通常の画像

// 画像2 
var img2on = new Image();
img2on.src = gRootPath+"../img/newtopimg/bt_newbutton0202.gif";
var img2off = new Image();
img2off.src = gRootPath+"../img/newtopimg/bt_newbutton02.gif";

// 画像3 
var img3on = new Image();
img3on.src = gRootPath+"../img/newtopimg/bt_under0102.gif";
var img3off = new Image();
img3off.src = gRootPath+"../img/newtopimg/bt_under01.gif";

// 画像4 
var img4on = new Image();
img4on.src = gRootPath+"../img/newtopimg/bt_under0202.gif";
var img4off = new Image();
img4off.src = gRootPath+"../img/newtopimg/bt_under02.gif";

// 画像5
var img5on = new Image();
img5on.src = gRootPath+"../img/newtopimg/bt_newbutton0302.gif";
var img5off = new Image();
img5off.src = gRootPath+"../img/newtopimg/bt_newbutton03.gif";

// 画像6
var img6on = new Image();
img6on.src = gRootPath+"../img/newtopimg/bt_newbutton0302.gif";
var img6off = new Image();
img6off.src = gRootPath+"../img/newtopimg/bt_newbutton03.gif";

// 画像7
var img7on = new Image();
img7on.src = gRootPath+"../img/newselltopimg/bt_newsell0102.gif";
var img7off = new Image();
img7off.src = gRootPath+"../img/newselltopimg/bt_newsell01.gif";

// 画像8
var img8on = new Image();
img8on.src = gRootPath+"../img/newselltopimg/bt_newsell0202.gif";
var img8off = new Image();
img8off.src = gRootPath+"../img/newselltopimg/bt_newsell02.gif";

// 画像9
var img9on = new Image();
img9on.src = gRootPath+"../img/newselltopimg/bt_newsell0302.gif";
var img9off = new Image();
img9off.src = gRootPath+"../img/newselltopimg/bt_newsell03.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);
}

