function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//別ウィンドウ表示
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//a little world 別ウィンドウ表示
function littleworld() {
  window.open('../littleworld/index.html','history','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=620,height=600');
}

//a little world 別ウィンドウ表示　club room内
function littleworld2() {
  window.open('../../littleworld/index.html','history','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=620,height=600');
}

//  pulldown からジャンプ
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

//  News用関数
//Junie Moon
function jm() { //v2.0
  window.open('http://www.juniemoon.jp/index_e.cgi','_blank','');
}

//CWC Group On-line Shopping
function shopjm() { //v2.0
  window.open('http://www.juniemoon.jp/eng/shop/howto.html','_blank','');
}

//オークション2007
function auction2007() { //v2.0
  window.open('../special/auction_2007/','auction_2007','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=600');
}

//ジェントルリバー
function gentleriver() { //v2.0
  window.open('../special/gentleriver/index.html','gentleriver','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=600');
}

//hana
function hana() { //v2.0
  window.open('http://www.hana-jm.jp/','_blank','');
}

//ビューティコンテスト2007入賞者
function beauty2007_semi() { //v2.0
  window.open('../special/beauty2007/result.html','beauty2007','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=630,height=600');
}

//フォトコン2007
function photocon2007() { //v2.0
  window.open('/photocon2007/index.html','Photocon','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=630,height=600');
}

//プリアラ
function pri_ala() { //v2.0
  window.open('/eng/special/6th_pri_ala/index.html','6th_pri_ala','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=840,height=700');
}

//ニュースポップアップ
function news_popup(URL) { //v2.0
theURL='/common/news_popup/'+URL;

  window.open(theURL,"",'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=590,height=600');
}


function open_new_window (url) {
	var object = window.open (url, "blythe", "");
	object.focus ();
	return object;
}
//プリアラ限定ドール
function Open_doll_pri_ala (url) {
	var object = window.open (url, "pri_ala", "width=630, height=600, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

//新プリアラ
function Open_pri_ala (url) {
	var object = window.open (url, "6th_pri_ala", "width=840, height=700, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

//新携帯トピック
function Open_mobile (url) {
	var object = window.open (url, "mobile", "width=600, height=600, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

//新フォトコン2007
function Open_photocon2007 (url) {
	var object = window.open (url, "photocon2007", "width=630, height=600, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

//新ニュースポップアップ
function Open_popup (url) { //v2.0
	var object = window.open (url, "Open_popup", "width=590, height=600, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

//ブライスシアター
function Open_theater (url) { //v2.0
	var object = window.open (url, "Open_popup", "width=440, height=450, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}
//News Bahashishi
function Open_bahashishi (url) { //v2.0
	var object = window.open (url, "Open_bahashishi", "width=580, height=450, scrollbars=1, resizable=1");
	object.focus ();
	return object;
}

