// FLASH IMPUT


// NAVI_IMPUT
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="847" height="96" >\n');
	document.write('<param name="movie" value="/swf/navi.swf" style="margin:0px;padding:0px;">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/swf/navi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="847" height="96"  bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

function flash_navi2_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="847" height="96" >\n');
	document.write('<param name="movie" value="/swf/navi2.swf" style="margin:0px;padding:0px;">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/swf/navi2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="847" height="96"  bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// COVER IMPUT
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="825" height="330">\n');
	document.write('<param name="movie" value="/swf/cover.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/swf/cover.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="825" height="330" bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// COVER IMPUT
function flash_cover_write2() {
	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="565" height="330">\n');
	document.write('<param name="movie" value="/swf/cover2.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/swf/cover2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="565" height="330" bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// COVER IMPUT
function flash_cover_write3() {
	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="565" height="330">\n');
	document.write('<param name="movie" value="/swf/cover3.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/swf/cover3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="565" height="330" bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// NEWFACE IMPUT
function flash_newface() {
	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="231" height="302">\n');
	document.write('<param name="movie" value="/newface/newface.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/newface/newface.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="231" height="302" bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// NEWFACE IMPUT
function flash_newface01() {
	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="231" height="302">\n');
	document.write('<param name="movie" value="/newface/newface01.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
	document.write('<embed src="/newface/newface01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="231" height="302" bgcolor="#FFFFFF"></embed>\n');
	document.write('</object>\n');
}

// OPENING 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=520" height="325">\n');
 	document.write('<param name="movie" value="/swf/op.swf">\n');
 	document.write('<param name="quality" value="high">\n');
 	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
 	document.write('<embed src="/swf/op.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="520" height="325" bgcolor="#FFFFFF"></embed>\n');
 	document.write('</object>\n');
}

// HEADER IMPUT
 function flash_header_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=846" height="150">\n');
 	document.write('<param name="movie" value="/swf/header.swf">\n');
 	document.write('<param name="quality" value="high">\n');
 	document.write('<param name="BGCOLOR" value="#FFFFFF">\n');
 	document.write('<embed src="/swf/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="846" height="150" bgcolor="#FFFFFF"></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=640,height=650');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=640,height=650')};
if(navigator.appVersion.charAt(0)>=3){RefWin.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=600,height=700');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref6,'RefWin5','scrollbars=no,resizable=no,width=600,height=700')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

//pop
function OpenWinRESERVE(){
	win1=window.open("/system/form/form.html","RESERVE","width=510,height=480,scrollbars=no,toolbar=yes,resizable=no");
}
//pop
function OpenWinFORM(){
	win1=window.open("/form/form.html","FORM","width=510,height=380,scrollbars=no,toolbar=yes,resizable=no");
}
//pop
function OpenWinPOP(){
	win1=window.open("/pop/index.html","POP","width=450,height=359,scrollbars=no,resizable=no");
}
//mm
function OpenWinMM(){
	win1=window.open("/mm/index.html","MERUMAGA","width=500,height=600,scrollbars=no,resizable=no");
}
//mobile
function OpenWinMOBILE(){
	win1=window.open("/mb/index.html","MOBILE","width=600,height=500,scrollbars=no,resizable=no");
}
//SECRETMOVIE
function OpenWinSECRETMOVIE(){
	win1=window.open("http://db.futube.tv/shop/futube/?fid=fashion&amp;sty=black&amp;tpl=futube","MOBILE","width=670,height=440,scrollbars=yes,resizable=yes,menubar=no");
}
//recruit for driver
function OpenWinDRIVER(){
	win1=window.open("/recruit/driver.html","DRIVER","width=500,height=550,scrollbars=no,resizable=no");
}
//recruit_form
function OpenWinREC(){
	win1=window.open("/recruit/form/","REC","width=440,height=520,scrollbars=no,resizable=no");
}

//system_map
function OpenWinMAP(){
	win1=window.open("/system/map.html","MAP","width=560,height=500,scrollbars=no,resizable=no");
}
//system_ticket
function OpenWinTICKET(){
	win1=window.open("/system/ticket.html","TICKET","width=600,height=300,scrollbars=no,resizable=no");
}

//bbs
function OpenWinFORM(){
	win1=window.open("/system/form.php","FORM","width=500,height=800,scrollbars=yes,resizable=no");
}


//bookmark
function addBookmark(title,url) { 
if (window.sidebar) { 
window.sidebar.addPanel(title, url,""); 
} else if( document.all ) { 
window.external.AddFavorite( url, title); 
} else if( window.opera && window.print ) { 
return true; 
} 
}

//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];}
}

/*Flash movie*/
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');
}


/*Ticket Printout popup*/
RefHref1="";
function RefOpen1(RefHref1){
var RefWin=window.open(RefHref1,'RefWin1','scrollbars=no,resizable=no,width=640,height=205');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref1,'RefWin1','scrollbars=no,resizable=no,width=640,height=205')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}


function remote(url) {
  opener.location.href = url
  self.window.close();
}

// :::::::: 求人フォームポップアップ :::::::
function OpenWinRECMAIL(){
	win1=window.open("/recruit/mail.html","RECMAIL","width=500,height=740,scrollbars=no,resizable=yes");
}
