
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_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,scrollbar=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 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(){
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="../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="../labo/right.htm" target="_parent">このサイトの趣旨</A> <A href="../labo/right.htm" target="_parent">御利用上の注意</A></SPAN><BR>');
document.write('</DIV>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}



// 著作表記・統合（一直線、簡易バージョン）
function copyright_02(){
document.write('<DIV align="center" style="padding:0px;">');
document.write('<SPAN style="font-size:10pt;">遠山式立体表示研究所 / 株式会社バンダイナムコゲームス</SPAN>');
document.write('<SPAN style="font-size:9pt;">&copy; 2006 NBGI, All rights reserved.</SPAN>');
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="margin-right:20px;">');
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><DIV style="text-align:120%;">');
document.write('<B style="font-size:10pt;">株式会社バンダイナムコゲームス</B><BR>');
document.write('<SPAN style="font-size:9pt;">');
document.write('&copy; 2006 NBGI, ');
document.write('All rights reserved.</SPAN>');
document.write('<DIV style="font-size:9pt;"><A href="../labo/purpose.htm" target="_parent"><SPAN style="color:#777777;">●</SPAN>このサイトの趣旨</A> <A href="../labo/right.htm" target="_parent"><SPAN style="color:#777777;">●</SPAN>御利用上の注意（必ずお読みください）</A></DIV>');
document.write('</DIV></TD></TR></TABLE>');
document.write('</DIV>');
}


