
function wopen_001(files,w_width,w_height){
var w_name=w_width+"_"+w_height;
detail="width="+w_width+",height="+w_height+",scrollbars=no, menuber=no";
new_window=window.open("",w_name,detail);
new_window.focus();

	var newContent = "<HTML><HEAD><TITLE></TITLE>";
	newContent += "<STYLE>";
	newContent += "BODY { margin: 0}";
	newContent += "</STYLE>";
	newContent += "</HEAD><BODY bgcolor=black leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>";
	newContent += "<LAYER LEFT=0 TOP=0 WIDTH="+w_width+" HEIGHT="+w_height+"><TABLE cellpadding=0 cellspacing=0><TR><TD><A href=javascript:window.close()>";
	newContent += "<IMG SRC="+files+" BORDER=0>";
	newContent += "</A></TD></TR></TABLE></LAYER>";
	newContent += "</BODY></HTML>";
	new_window.document.write(newContent);
	new_window.document.close();

}


function wopen_002(files,w_width,w_height){
var w_name=w_width+"_"+w_height;
detail="width="+w_width+",height="+w_height+",scrollbars=no, menuber=no";
new_window=window.open("",w_name,detail);
new_window.focus();

	var newContent = "<HTML><HEAD><TITLE></TITLE>";
	newContent += "<STYLE>";
	newContent += "BODY { margin: 0}";
	newContent += "</STYLE>";
	newContent += "</HEAD><BODY bgcolor=black leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>";
	newContent += "<LAYER LEFT=0 TOP=0 WIDTH="+w_width+" HEIGHT="+w_height+"><TABLE cellpadding=0 cellspacing=0><TR><TD><A href=javascript:window.close()>";
	newContent += "<IMG SRC="+files+" BORDER=0>";
	newContent += "</A></TD></TR></TABLE></LAYER>";
	newContent += "</BODY></HTML>";
	new_window.document.write(newContent);
	new_window.document.close();

}




function wopen_art(folder,files){
var w_name="artwork";
detail="width=400px,height=620px,scrollbars=no, menuber=no";
new_window=window.open("",w_name,detail);
new_window.focus();

	var newContent = "<HTML><HEAD><TITLE></TITLE>";
	newContent += "<STYLE>";
	newContent += "BODY { margin: 0} A {color:#ff5500; font-size:10pt;} A:hover{color:#ffffff; background-color:#ff5500;}";
	newContent += "</STYLE>";
	newContent += "</HEAD><BODY bgcolor=white leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>";
	newContent += "<CENTER><DIV style='margin:5 0 5s 0;'><B><A href=./"+folder+"/"+files+">印刷用の画像をダウンロードする</A></B></DIV><TABLE cellpadding=0 cellspacing=0><TR><TD>";
	newContent += "<IMG SRC=./"+folder+"/m/"+files+" BORDER=0>";
	newContent += "</A></TD></TR></TABLE><DIV style='margin:5 0 5s 0;'><B><A href=javascript:window.close()>閉じる</A></B></DIV></CENTER>";
	newContent += "</BODY></HTML>";
	new_window.document.write(newContent);
	new_window.document.close();

}






function wopen_fla(filename, windowname, www, hhh) {
	sWindowOption = 'width=' + www + ',height=' + hhh + ',toolbar=no,location=no,status=yes,menubar=no,resizable=yes,scrollbar=yes';
	top.window.open( filename, windowname, sWindowOption);
}






function wopen_s(filename, w_width, w_height) {
	var w_name=w_width+"_"+w_height;
	sWindowOption = 'width=' + w_width + ',height=' + w_height + ',toolbar=no,location=no,status=yes,menubar=no,resizable=yes,scrollbars=yes';
	top.window.open( filename, w_name, sWindowOption);
}











function wopen_night(gifjpeg1, gifjpeg2, number, files1, files2, w_name, w_width, w_height){
var hour
nowdate = new Date();
hour = nowdate.getHours();
detail="width="+w_width+",height="+w_height+",scrollbars=no, menuber=no";
new_window=window.open("",w_name,detail);
new_window.focus();

	if ((hour >= 0)&&(hour <= 6)){
		gifjpeg = gifjpeg1; files = files1;}
	else{
		gifjpeg = gifjpeg2; files = files2;}

	var newContent = "<HTML><HEAD><TITLE></TITLE>";
	newContent += "<STYLE>";
	newContent += "BODY { margin: 0}";
	newContent += "</STYLE>";
	newContent += "</HEAD><BODY bgcolor=black>";
	newContent += "<LAYER LEFT=0 TOP=0 WIDTH="+w_width+" HEIGHT="+w_height+"><TABLE cellpadding=0 cellspacing=0><TR><TD>";
for(i=1; i<=number; i++){
	newContent += "<IMG SRC="+files+i+"."+gifjpeg+">";
}
	newContent += "</TD></TR></TABLE></LAYER>";
	newContent += "</BODY></HTML>";
	new_window.document.write(newContent);
	new_window.document.close();

}









function Navi(_set) {
setloca=_set.options[_set.selectedIndex].value;
if(setloca != "1"){
	window.parent.body.location=setloca;}
}



function UrlJump(_url) {
window.parent.foot.location=_url;
}

function UrlJump_op(_url) {
window.location=_url;
}




function Flash(f_files,f_width,f_height){
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID='+f_files+' WIDTH='+f_width+' HEIGHT='+f_height+'>\n');
document.write(' <PARAM NAME=movie VALUE="'+f_files+'">\n');
document.write(' <PARAM NAME=loop VALUE=false>\n');
document.write(' <PARAM NAME=quality VALUE=high>\n');
document.write(' <PARAM NAME=scale VALUE=noborder>\n');
document.write(' <PARAM NAME=wmode VALUE=transparent>\n');
document.write(' <PARAM NAME=bgcolor VALUE=#ffffff>\n');
document.write(' <EMBED src="'+f_files+'" loop=false quality=high scale=noborder bgcolor=#ffffff  WIDTH='+f_width+' HEIGHT='+f_height+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n');
document.write('</OBJECT>\n');
}



function Flash_bgWhite(f_files,f_width,f_height){
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID='+f_files+' WIDTH='+f_width+' HEIGHT='+f_height+'>\n');
document.write(' <PARAM NAME=movie VALUE="'+f_files+'">\n');
document.write(' <PARAM NAME=loop VALUE=false>\n');
document.write(' <PARAM NAME=quality VALUE=high>\n');
document.write(' <PARAM NAME=scale VALUE=noborder>\n');
document.write(' <PARAM NAME=bgcolor VALUE=#ffffff>\n');
document.write(' <EMBED src="'+f_files+'" loop=false quality=high scale=noborder bgcolor=#ffffff  WIDTH='+f_width+' HEIGHT='+f_height+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n');
document.write('</OBJECT>\n');
}



function FlashNoCache(f_files,f_width,f_height){
rnum = Math.floor(Math.random() * 10000);
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID='+f_files+' WIDTH='+f_width+' HEIGHT='+f_height+'>\n');
document.write(' <PARAM NAME=movie VALUE="'+f_files+'?'+rnum+'">\n');
document.write(' <PARAM NAME=loop VALUE=false>\n');
document.write(' <PARAM NAME=quality VALUE=high>\n');
document.write(' <PARAM NAME=scale VALUE=noborder>\n');
document.write(' <PARAM NAME=wmode VALUE=transparent>\n');
document.write(' <PARAM NAME=bgcolor VALUE=#ffffff>\n');
document.write(' <EMBED src="'+f_files+'?'+rnum+'" loop=false quality=high scale=noborder bgcolor=#ffffff  WIDTH='+f_width+' HEIGHT='+f_height+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n');
document.write('</OBJECT>\n');
}




// 著作表記・統合
function copyright_01(){
var sub_dir;
if(sub_num == 0){sub_dir="./";}
if(sub_num >= 1){sub_dir="../";for(i=0; i<sub_num-1; i++){sub_dir="../"+sub_dir;}}
document.write('<DIV align="right" style="padding-right:10px;">');
document.write('<TABLE cellpaddin="0" cellspacing="0"><TR><TD valign="top" align="right">');
document.write('<IMG src="'+sub_dir+'../image/bngames_80x54.gif" border="0" width="80px" height="54px">');
document.write('</TD><TD align="left" valign="top" width="230px">');
document.write('<DIV style="margin-right:10px; line-height:120%;">');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<SPAN style="font-size:9pt;">&copy; 2006 NBGI, All rights reserved.</SPAN><BR>');
document.write('<SPAN style="font-size:9pt;"><A href="'+sub_dir+'../labo/purpose.htm" target="_parent">このサイトの趣旨</A> <A href="'+sub_dir+'../labo/right.htm" target="_parent">御利用上の注意</A></SPAN><BR>');
document.write('</DIV>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}




function copyright1(){
document.write('<DIV align="right" style="padding-right:10px;">');
document.write('<TABLE cellpaddin="0" cellspacing="0"><TR><TD>');
document.write('<IMG src="../image/bngames_80x54.gif" border="0" width="80px" height="54px">');
document.write('</TD><TD>');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<SPAN style="font-size:8pt;">');
document.write('&copy; ');
document.write('2006 NBGI, ');
document.write('All rights reserved.</SPAN>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}



function copyright2(){
document.write('<DIV align="right" style="padding-right:10px;">');
document.write('<TABLE cellpaddin="0" cellspacing="0"><TR><TD>');
document.write('<IMG src="../image/bngames_80x54.gif" border="0" width="80px" height="54px">');
document.write('</TD><TD>');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<SPAN style="font-size:8pt;">');
document.write('&copy; ');
document.write('2006 NBGI, ');
document.write('All rights reserved.</SPAN>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}




// サブディレクトリ用
function copyright3(){
document.write('<DIV align="right" style="padding-right:10px;">');
document.write('<TABLE cellpaddin="0" cellspacing="0"><TR><TD>');
document.write('<IMG src="../../image/bngames_80x54.gif" border="0" width="80px" height="54px">');
document.write('</TD><TD>');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<SPAN style="font-size:8pt;">');
document.write('&copy; ');
document.write('2006 NBGI, ');
document.write('All rights reserved.</SPAN>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}




function copyright11(){
document.write('<HR noshade>');
document.write('<TABLE border="0" width="100%">');
document.write('<TBODY><TR>');
document.write('<TD valign="top"><IMG src="../image/bngames_80x54.gif" border="0" width="80px" height="54px">');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<BR>');
document.write('<SPAN style="font-size:8pt;">');
document.write('<SPAN style="color:#ff7700;">CopyRight</SPAN> ');
document.write('2006 NBGI, ');
document.write('All rights reserved.</SPAN>');
document.write('<BR clear="all"></TD>');
document.write('<TD align="right" valign="top"><SPAN style="font-size:8pt;">動画をご覧頂くにはFlashPlayer8以上が必要です。</SPAN><BR>');
document.write('<A HREF="javascript: FlashDown()"><IMG src="./image/get_flash_player.gif" border="0"></A>');
document.write('</TD></TR></TBODY></TABLE>');
}


function FlashDown() {
	window.open("http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&Lang=Japanese&P5_Language=Japanese","","");
}





function wopen_inquiry_01() {
	var w_name='inquiry';
	sWindowOption = 'width=600px, height=750px, toolbar=no,location=no,status=yes,menubar=no,resizable=yes,scrollbar=yes';
	top.window.open( '../inquiry/index.php', w_name, sWindowOption);
}





