// FLASH IMPUT OPENING add 060810 doumaru
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="400">\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="400"></embed>\n');
	document.write('</object>\n');
}
// FLASH IMPUT NAVI add 060810 doumaru / rewrite 090413 ikeda / REWRITE add090420 kuroshima
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="148" height="400">\n');
	document.write('<param name="movie" value="../swf/navi.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="../swf/navi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="148" height="400"></embed>\n');
	document.write('</object>\n');
}
// FLASH IMPUT LOGO add 060810 doumaru
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="148" height="133">\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="148" height="133"></embed>\n');
	document.write('</object>\n');
}
// FLASH IMPUT MOVIEBBS
function flash_moviebbs_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="60">\n');
	document.write('<param name="movie" value="../swf/moviebbs.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="../swf/moviebbs.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="60"></embed>\n');
	document.write('</object>\n');
}



// new window


// popup
function openwin(url, name, features) {
  window.open(url, name, features);
}



// flash
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);
}

// ticket

function print_out() {
   /* print() use or not */
   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() use print */
   if (v) self.print();
   else alert("sorry you don't print");
}

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');
}
