// :::::::: ポップアップ ::::::::
function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
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_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->

// :::::::: ギャル詳細 700::::::::
RefHref2="";
function RefOpen(RefHref2){
var RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=700,height=820');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref2,'RefWin2','scrollbars=yes,resizable=yes,width=700,height=820')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};



// :::::::: 割りチケポップアップ ::::::::

function OpenWinTICKET(){
	win1=window.open("../event/ticket3.html","TICKET","scrollbars=yes,width=600,height=390");
}
function OpenWinKEITAI(){
	win2=window.open("../event/keitai.html","KEITAI","width=180,height=330");
}

// :::::::: 割りチケ印刷 ::::::::

function print_out() {
   /* print() が使えるブラウザかどうかを判断 */
   if (navigator.userAgent.match(/msie (\d)/i))
      v = (eval(RegExp.$1) >= 5) ? 1 : 0;
   else if (self.innerWidth)
      v = (eval(navigator.appVersion.charAt(0)) >= 4) ? 1 : 0;
   else v = 0;

   /* print() が使えるブラウザなら印刷を実行 */
   if (v) self.print();
   else alert("お使いのブラウザではこの機能は利用できません");
}


// :::::::: 掲示板ポップアップ :::::::
function OpenWinBBS(){
	win1=window.open("http://baysidehills.jp/bbs/yybbs.cgi","BBS","width=750,height=700,scrollbars=yes,resizable=yes");
}

// FLASH IMPUT
function flash_opening_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="600" height="280">\n');
	document.write('<param name="movie" value="/swf/opening.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/opening.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="280"></embed>\n');
	document.write('</object>\n');
}


// FLASH IMPUT
function flash_group_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="850" height="700">\n');
	document.write('<param name="movie" value="/swf/group.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/group.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="700"></embed>\n');
	document.write('</object>\n');
}

// FLASH IMPUT
function flash_logo_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="480" height="65">\n');
	document.write('<param name="movie" value="/swf/logo.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="65"></embed>\n');
	document.write('</object>\n');
}

function flash_top_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="740" height="22">\n');
	document.write('<param name="movie" value="/swf/navi_top.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/navi_top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="740" height="22"></embed>\n');
	document.write('</object>\n');
}

function flash_navi_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="133" height="350">\n');
	document.write('<param name="movie" value="/swf/navi_left.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/navi_left.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="133" height="350"></embed>\n');
	document.write('</object>\n');
}

function flash_cover_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="300" height="300">\n');
	document.write('<param name="movie" value="/swf/cover.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/cover.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="300"></embed>\n');
	document.write('</object>\n');
}

function flash_bn_genre_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="587" height="250">\n');
	document.write('<param name="movie" value="/swf/bn_genre.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/bn_genre.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="587" height="250"></embed>\n');
	document.write('</object>\n');
}

function flash_bn_ranking_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="587" height="250">\n');
	document.write('<param name="movie" value="/swf/bn_ranking.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/bn_ranking.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="587" height="250"></embed>\n');
	document.write('</object>\n');
}

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');
}

// :::::::: メルマガポップアップ :::::::
function OpenWinMM(){
	win1=window.open("/mm/index.html","MM","width=450,height=550,scrollbars=no,resizable=no");
	self.window.close();

}
// :::::::: ブログポップアップ add:080813 :::::::
function OpenWinBLOG(){
	win1=window.open("/home/blog.html","BLOG","width=500,height=442,scrollbars=no,resizable=no");
}

// :::::::: 丸秘情報ポップアップ add:080820 :::::::
function OpenWinMARUHI(){
	win1=window.open("/RSITE/rsite_topics4.php","MARUHI","width=550,height=600,scrollbars=no,resizable=no");
}
