function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

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];}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		header_03_over = newImage("images/header_03-over.jpg");
		englishi_navi_over = newImage("images/englishi_navi_over.jpg");
		profile_over = newImage("images/r_navi_1_over.jpg");
		products_over = newImage("images/r_navi_1_over.jpg");
		constracted_over = newImage("images/r_navi_1_over.jpg");
		contact_us_over = newImage("images/r_navi_1_over.jpg");

		preloadFlag = true;
	}
}

<!--
function mmLoadMenus() {
  if (window.mm_menu_01) return;
     window.mm_menu_01 = new Menu("root",230,22,"ＭＳ ゴシック",12,"#FFFFFF","#FFFFFF","#5A96C8","#3877AB","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  		mm_menu_01.addMenuItem("Theater / Hall","location='/products/stdio_04_01.html'");
  		mm_menu_01.addMenuItem("Studio","location='/products/stdio_01_01.html'");  		
  		mm_menu_01.addMenuItem("Cinemas","location='/products/stdio_03_01.html'");
  		mm_menu_01.addMenuItem("School Vocational training center","location='/products/stdio_06_01.html'");
		mm_menu_01.addMenuItem("Hotel","location='/products/stdio_08_01.html'");
  		mm_menu_01.addMenuItem("Sound examination room","location='/products.html'");
  		mm_menu_01.addMenuItem("Mechanized Parking System","location='/products/stdio_09_01.html'");
		mm_menu_01.addMenuItem("Electromagnetic shield","location='/products.html'");
		mm_menu_01.addMenuItem("Vibration insulation and floating floor","location='/products/stdio_10_01.html'");
		mm_menu_01.addMenuItem("Soundproofing Fittings","location='/products.html'");
		mm_menu_01.addMenuItem("Sound Measurement","location='/products/stdio_13_01.html'");
		mm_menu_01.addMenuItem("Factory soundproofing Acoustical testing","location='/products/stdio_14_01.html'");
		mm_menu_01.addMenuItem("Acoustic consultant Acoustic simulation","location='/products.html'");
  		mm_menu_01.hideOnMouseOut=true;
   		mm_menu_01.bgColor='#FFFFFF';
   		mm_menu_01.menuBorder=1;
   		mm_menu_01.menuLiteBgColor='';
   		mm_menu_01.menuBorderBgColor='#FFFFFF';
	window.mm_menu_02 = new Menu("root",230,22,"ＭＳ ゴシック",12,"#FFFFFF","#FFFFFF","#5A96C8","#3877AB","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  		mm_menu_02.addMenuItem("Concert Hall / Live House / Theater / Cinema Complex","location='/projects/proj_hall_act.html'");
  		mm_menu_02.addMenuItem("Studio","location='/projects/proj_studio_demansion.html'");
  		mm_menu_02.addMenuItem("Training center","location='/projects/proj_sports_ntc.html'");
  		mm_menu_02.addMenuItem("Testing room and Listening booth","location='/projects/proj_listening_fujitsu.html'");
  		mm_menu_02.addMenuItem("Conference room","location='/project.html'");
  		mm_menu_02.addMenuItem("Vibration insulation construction","location='/projects/proj_vibrat_tokiwa.html'");
  		mm_menu_02.addMenuItem("Sound measurement","location='/projects/proj_test_metro.html'");
  		mm_menu_02.addMenuItem("Soundproofing Construction","location='/project.html'");
   		mm_menu_02.hideOnMouseOut=true;
   		mm_menu_02.bgColor='#FFFFFF';
   		mm_menu_02.menuBorder=1;
   		mm_menu_02.menuLiteBgColor='#FFFFFF';
   		mm_menu_02.menuBorderBgColor='#FFFFFF';
		mm_menu_02.writeMenus();
} // mmLoadMenus()
//-->

var kaRi11=4;
var bgCoRi11=new Array();
bgCoRi11[0]=""; 
bgCoRi11[1]=""; 
bgCoRi11[2]=""; 
bgCoRi11[3]=""; 
bgCoRi11[4]=""; 
var wRiRi11=new Array(),hRiRi11=new Array();
wRiRi11[0]=151,hRiRi11[0]=30; 
wRiRi11[1]=150,hRiRi11[1]=30; 
wRiRi11[2]=151,hRiRi11[2]=30;
wRiRi11[3]=151,hRiRi11[3]=30;
wRiRi11[4]=151,hRiRi11[4]=30;
var wMeRi11=new Array(),hMeRi11=new Array();
wMeRi11[0]=151,hMeRi11[0]=352;
wMeRi11[1]=150,hMeRi11[1]=352;
wMeRi11[2]=151,hMeRi11[2]=352;
wMeRi11[3]=151,hMeRi11[3]=352;
wMeRi11[4]=151,hMeRi11[4]=352;
//----------------------------------------------//
var hoRi11=new Array(),ddRi11=new Array();
hoRi11[0]=0,ddRi11[0]=0;
hoRi11[1]=0,ddRi11[1]=0;
hoRi11[2]=0,ddRi11[2]=0;
hoRi11[3]=0,ddRi11[3]=0;
hoRi11[4]=0,ddRi11[4]=0;
//----------------------------------------------//

var i;
var obRiFRi11=new Array(),obRiRi11=new Array(),obOnRiRi11=new Array(),obMeRi11=new Array();
var x0Ri11,y0Ri11,x1Ri11,y1Ri11,axRi11,ayRi11,bxRi11,byRi11;
var idMeRi11=0,flRiRi11=false,viMeRi11=new Array();
for (i=-0;i<=kaRi11;i++) viMeRi11[i]=false;

// ƒXƒ^ƒCƒ‹ƒV[ƒg•\Ž¦E”ñ•\Ž¦

function setVisRi11(obj,fl) {
	if (document.all || document.getElementById) {
		if (fl) obj.style.visibility="visible";
		else obj.style.visibility="hidden";
	}
	else if (document.layers) {
		if (fl) obj.visibility="show";
		else obj.visibility="hide";
	}
}

// ƒXƒ^ƒCƒ‹ƒV[ƒgxyÀ•WƒZƒbƒg

function setPoRi11(obj,x,y) {
	if (document.all) {
		obj.style.pixelLeft=x;
		obj.style.pixelTop=y;
	}
	else if (document.getElementById) {
		obj.style.left=x;
		obj.style.top=y;
	}
	else if (document.layers) obj.moveTo(x,y);
}

// ”wŒiFƒZƒbƒg

function setBgCoRi11(obj,color) {
	if (document.all || document.getElementById) obj.style.backgroundColor=color;
	else if (document.layers) obj.bgColor=color;
}

// ƒƒjƒ…[•\Ž¦E”ñ•\Ž¦

function clMeRi11(id) {

	var i;
	for (i=0;i<=kaRi11;i++) {
		if (i==id) {
			setVisRi11(obOnRiRi11[i],true);
			setPoRi11(obMeRi11[i],x1Ri11,y1Ri11);
			setVisRi11(obMeRi11[i],true);
			viMeRi11[i]=true;
		}
		else if (i!=id && viMeRi11[i]==true) {
			setVisRi11(obMeRi11[i],false);
			setPoRi11(obMeRi11[i],-500,0);
			setVisRi11(obOnRiRi11[i],false);
			viMeRi11[i]=false;
		}
	}
}

// ƒ}ƒEƒXƒ€[ƒuƒƒjƒ…[Á‹Ž

function moMoXYRi11(e) {
	if (flRiRi11) {
		var x,y;
		if (!window.opera && document.all) {
			x=document.body.scrollLeft+event.clientX;
			y=document.body.scrollTop+event.clientY;
		}
		else if (document.getElementById || document.layers) {
			x=e.pageX;
			y=e.pageY;
		}
		if (hoRi11[idMeRi11]==0) {
			if (((x0Ri11<=x && axRi11>=x) && (y0Ri11<=y && y1Ri11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}
		else if (hoRi11[idMeRi11]==1) {
			if (((x0Ri11<=x && x1Ri11>=x) && (y0Ri11<=y && ayRi11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}
		else if (hoRi11[idMeRi11]==2) {
			if (((x0Ri11<=x && axRi11>=x) && (byRi11<=y && ayRi11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}
		else if (hoRi11[idMeRi11]==3) {
			if (((bxRi11<=x && axRi11>=x) && (y0Ri11<=y && ayRi11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}
		else if (hoRi11[idMeRi11]==4) {
			if (((bxRi11<=x && axRi11>=x) && (y0Ri11<=y && ayRi11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}

		else if (hoRi11[idMeRi11]==5) {
			if (((bxRi11<=x && axRi11>=x) && (y0Ri11<=y && ayRi11>=y)) || ((x1Ri11<=x && bxRi11>=x) && (y1Ri11<=y && byRi11>=y))) return;
			else flRiRi11=false,clMeRi11(-1);
		}
	}
}


// ƒXƒ^ƒCƒ‹ƒV[ƒg‰ŠúÝ’è

function preLoadRi11() {

	if (document.all || document.getElementById || document.layers) {
		var i;
		if (!window.opera && document.all) {
 			for (i=0;i<=kaRi11;i++) {
				obRiFRi11[i]=document.all("RiF"+i+"Ri11");
				obRiRi11[i]=document.all("Ri"+i+"Ri11");
				obOnRiRi11[i]=document.all("onRi"+i+"Ri11");
				obMeRi11[i]=document.all("Me"+i+"Ri11");
			}
		}
		else if (document.getElementById) {
			for (i=0;i<=kaRi11;i++) {
				obRiFRi11[i]=document.getElementById("RiF"+i+"Ri11");
				obRiRi11[i]=document.getElementById("Ri"+i+"Ri11");
				obOnRiRi11[i]=document.getElementById("onRi"+i+"Ri11");
				obMeRi11[i]=document.getElementById("Me"+i+"Ri11");
				obRiFRi11[i].style.position="absolute";
			}
		}
		else if (document.layers) {
			for (i=0;i<=kaRi11;i++) {
				obRiFRi11[i]=document.layers["RiF"+i+"Ri11"];
				obRiRi11[i]=obRiFRi11[i].document.layers["Ri"+i+"Ri11"];
				obOnRiRi11[i]=obRiFRi11[i].document.layers["onRi"+i+"Ri11"];
				obMeRi11[i]=document.layers["Me"+i+"Ri11"];
			}
		}
		if (document.layers) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove=moMoXYRi11;
		for (i=0;i<=kaRi11;i++)	if (bgCoRi11[i]!="") setBgCoRi11(obMeRi11[i],bgCoRi11[i]);
	}
}



