function accWrite(siteUrl){
document.write("<img src=\""+siteUrl+"cgi-bin/acc/acclog.cgi?");
document.write("referrer="+document.referrer+"&");
document.write("width="+screen.width+"&");
document.write("height="+screen.height+"&");
document.write("color="+screen.colordepth+"\" >");
}

function chuo_topflash(){
document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"740\" height=\"250\" id=\"topmovie\" align=\"middle\">");
document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />");
document.write("<param name=\"movie\" value=\"top/swf/topmovie.swf?20070328\" />");
document.write("<param name=\"quality\" value=\"high\" />");
document.write("<param name=\"bgcolor\" value=\"#ffffff\" />");
document.write("<embed src=\"top/swf/topmovie.swf?20070328\" quality=\"high\" bgcolor=\"#ffffff\" width=\"740\" height=\"250\" name=\"topmovie\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />");
document.write("</object>");
}


function chuo_simu03(){
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=\"910\" height=\"530\">");
document.write("<param name=\"movie\" value=\"chuosimsysb3_wall.swf\">");
document.write("<param name=\"quality\" value=\"high\">");
document.write("<embed src=\"chuosimsysb3_wall.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"910\" height=\"530\">");
document.write("</embed>");
document.write("</object>");
}


function chuo_simu02(){
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=\"950\" height=\"570\">");
document.write("<param name=\"movie\" value=\"chuosimsysb1b-color_wall.swf\">");
document.write("<param name=\"quality\" value=\"high\">");
document.write("<embed src=\"chuosimsysb1b-color_wall.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"950\" height=\"570\">");
document.write("</embed>");
document.write("</object>");
}


function chuo_simu01(){
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=\"910\" height=\"530\">");
document.write("<param name=\"movie\" value=\"chuosimsysb2_wall.swf\">");
document.write("<param name=\"quality\" value=\"high\">");
document.write("<embed src=\"chuosimsysb2_wall.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"910\" height=\"530\">");
document.write("</embed>");
document.write("</object>");
}

var openedMenu = null;
var submenuTimer;

//画像メニューにポインタがきた時
function menuOvr(id){

	// 開いているメニューと違うメニューであれば隠す。
	if (openedMenu && openedMenu != id){
		CloseMenu(id);
	}

	// サブウィンドウの表示
	OpenMenu(id);
}

//レイヤメニューの表示
function OpenMenu(id){ 

	if ( document.getElementById ){
		document.getElementById( id ).style.visibility = 'visible';
	}else if ( document.all ){
		document.all( id ).style.visibility = 'visible';
	}else if ( document.layers ){
		document.layers[ id ].visibility = 'show';
	}

	clearTimeout(submenuTimer);

	openedMenu = id;

}

//レイヤメニューの削除
function CloseMenu(){ 

	if ( document.getElementById ){
		document.getElementById( openedMenu ).style.visibility = 'hidden';
	}else if ( document.all ){
		document.all( openedMenu ).style.visibility = 'hidden';
	}else if ( document.layers ){
		document.layers[ openedMenu ].visibility = 'hide';
	}

	openedMenu = null;

}



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_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_findObj(n, d) { //v3.0
  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); 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];}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function NF_openFWindow(theURL) { //v2.0

  var wst1
  wst1=window.open(theURL,"winsi1","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst1.focus();
}

function NF_openFWindow_s(theURL) { //v2.0

  var wst2
  wst2=window.open(theURL,"winsi2","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst2.focus();
}

function NF_openFWindow_capa(theURL) { //v2.0

  var wst3
  wst3=window.open(theURL,"wincapa","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst3.focus();
}

function NF_openFWindow_caparticle(theURL) { //v2.0

  var wst3
  wst3=window.open(theURL,"wincaparticle","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst3.focus();
}

function NF_openFWindow_haiban(theURL) { //v2.0

  var wsthai
  wsthai=window.open(theURL,"winhaiban","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wsthai.focus();
}

function NF_openFWindow_mark(theURL) { //v2.0

  var wst4
  wst4=window.open(theURL,"winmark","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=440,height=500,top=0,left=0");
  wst4.focus();
}

function NF_openFWindow_keijouzu(theURL) { //v2.0

  var wst5
  wst5=window.open(theURL,"winkeijouzu","toolbar=no,location=no,menubar=no,scrollbars=no,resizable=yes,width=570,height=540,top=0,left=0");
  wst5.focus();
}

function NF_openFWindow_map(theURL) { //v2.0

  var wstmap
  wstmap=window.open(theURL,"winmap","toolbar=no,location=no,menubar=yes,scrollbars=no,resizable=yes,width=530,height=530,top=0,left=0");
  wstmap.focus();
}

function NF_openFWindow_simu(theURL) { //v2.0

  var wst6
  wst6=window.open(theURL,"winsimu","toolbar=no,location=no,menubar=no,scrollbars=no,resizable=yes,width=760,height=430,top=0,left=0");
  wst6.focus();
}

function NF_openFWindow_dan(theURL) { //v2.0

  var wsta
  wsta=window.open(theURL,"windan","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wsta.focus();
}

function NF_openFWindow2(theURL) { //v2.0

  var wst7
  wst7=window.open(theURL,"winsi2","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst7.focus();
}

function NF_openFWindow_kaihi(theURL) { //v2.0

  var wst3
  wst3=window.open(theURL,"winkaihi","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  wst3.focus();
}
function NF_openFWindowfaq(theURL) { //v2.0

  var wst1
  faqwst1=window.open(theURL,"faqwinsi1","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  faqwst1.focus();
}

function NF_openFWindowfaqop(theURL) { //v2.0

  var wst1
  faqwst2=window.open(theURL,"faqwinsi2","toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=500,top=0,left=0");
  faqwst2.focus();
}

function NF_openFWindow3(theURL,winName,features) { //v2.0

  var wst8
  wst8=window.open(theURL,winName,features);
  wst8.focus();
}

function MM_closeWindow() { //v2.0
  window.close();
}

function NF_openFWindowBigphoto(theURL) { //v2.0

  var wstbigphoto
  wstbigphoto=window.open(theURL,"winbigphoto","fullscreen=no,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes,width=1018,height=710,top=0,left=0");
  wstbigphoto.focus();
}

function NF_openFWindowprdFuzokuhin(theURL) { //v2.0

  var wstfuzoku
  wstfuzoku=window.open(theURL,"wstfuzoku","fullscreen=no,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes,width=1018,height=710,top=0,left=0");
  wstfuzoku.focus();
}

