// FLASH IMPUT
// NAVI IMPUT
function flash_op() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="642" height="428">\n');
	document.write('<param name="movie" value="/swf/op.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/op.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="642" height="428"></embed>\n');
	document.write('</object>\n');
}
function flash_menu_write() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="788" height="33">\n');
	document.write('<param name="movie" value="/swf/menu.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="788" height="33"></embed>\n');
	document.write('</object>\n');
}
function flash_menu_write_new() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="788" height="33">\n');
	document.write('<param name="movie" value="/swf/menu_a.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/menu_a.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="788" height="33"></embed>\n');
	document.write('</object>\n');
}


function flash_bn_write() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="58">\n');
	document.write('<param name="movie" value="/swf/bn.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/bn.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="58"></embed>\n');
	document.write('</object>\n');
}

function flash_playimg01_write() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="500">\n');
	document.write('<param name="movie" value="/swf/playimg01.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/playimg01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="500"></embed>\n');
	document.write('</object>\n');
}

function flash_playimg02_write() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="500">\n');
	document.write('<param name="movie" value="/swf/playimg02.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/playimg02.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="500"></embed>\n');
	document.write('</object>\n');
}

function flash_play_write() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="720" height="200" id="play" align="middle">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write('<param name="movie" value="/swf/play.swf" />\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\n');
	document.write('<embed src="/swf/play.swf" quality="high" bgcolor="#ffffff" width="720" height="200" name="play" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>\n');
	document.write('</object>\n');
}

function flash_header_bn_write() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="400" height="58" id="header_bn" align="middle">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write('<param name="movie" value="/swf/header_bn.swf" />\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\n');
	document.write('<embed src="/swf/header_bn.swf" quality="high" bgcolor="#ffffff" width="400" height="58" name="header_bn" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>\n');
	document.write('</object>\n');
}




//popup
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}

//gals prof
RefHref2="";
function RefOpen(RefHref2){
var RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=700,height=500');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=690,height=545')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

//gals prof2
RefHref2_st="";
function RefOpen_st(RefHref2_st){
var RefWin_st=window.open(RefHref2_st,'RefWin2_st','scrollbars=no,resizable=no,width=820,height=666');
if(navigator.appVersion.charAt(0)==2){RefWin_st=window.open(RefHref2_st,'RefWin2_st','scrollbars=no,resizable=no,width=820,height=666')};
if(navigator.appVersion.charAt(0)>=3){RefWin_st.focus()}};


function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

//gravure
RefHref6="";
function RefOpen5(RefHref6){
var RefWin=window.open(RefHref6,'RefWin5','scrollbars=no,resizable=no,width=700,height=700');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref6,'RefWin5','scrollbars=no,resizable=no,width=485,height=650')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

//pop
function OpenWinPOP(){
	win1=window.open("/pop/index.html","POP","width=450,height=359,scrollbars=no,resizable=no");
}

//bbs
function OpenWinBBS(){
	win1=window.open("/cgi-bin/keijiban/light_b.cgi","BBS","width=720,height=700,scrollbars=yes,resizable=yes");
}
//diary
function OpenWinDIARY(){
	win1=window.open("/cgi-bin/privatevenus/clip.cgi","DIARY","width=600,height=700,scrollbars=yes,resizable=yes");
}
//newface
function OpenWinNEWFACE(){
	win1=window.open("/cgi-bin/newface_cgi/clip.cgi","NEWFACE","width=600,height=700,scrollbars=yes,resizable=yes");
}
//schedule
function OpenWinSCHEDULE(){
	win1=window.open("/schedule/index.html","SCHEDULE","width=700,height=700,scrollbars=yes,resizable=yes");
}
//mm
function OpenWinMM(){
	win1=window.open("/mm/index.html","MERUMAGA","width=500,height=575,scrollbars=no,resizable=no");
}
//mobile
function OpenWinMOBILE(){
	win1=window.open("/mobile/index.html","MOBILE","width=500,height=450,scrollbars=no,resizable=no");
}
//system_card
function OpenWinCARD(){
	win1=window.open("/system/card.html","CARD","width=500,height=680,scrollbars=no,resizable=no");
}
//ticket
function OpenWinTICKET(){
	win1=window.open("/system/ticket.html","TICKET","width=320,height=350,scrollbars=no,resizable=no");
}
//ranking
function OpenWinRANK01(){
	win1=window.open("/cgi-bin/enq_s/enq.cgi","RANK01","width=560,height=600,scrollbars=yes,resizable=no");
}
//ranking
function OpenWinRANK02(){
	win1=window.open("/cgi-bin/enq_m/enq.cgi","RANK02","width=560,height=600,scrollbars=yes,resizable=no");
}
//ranking
function OpenWinRANK03(){
	win1=window.open("/cgi-bin/p_lady/enq.cgi","RANK03","width=560,height=600,scrollbars=yes,resizable=no");
}
//ranking
function OpenWinRANK04(){
	win1=window.open("/cgi-bin/p_type/enq.cgi","RANK04","width=560,height=600,scrollbars=yes,resizable=no");
}

//rollover
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_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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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 FlashPopUp(PopUpURL){
	window.open(PopUpURL,'FlashPopUp','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=320,height=260');
}
