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

function treeMenu(id) {
	if(document.all){
		var disp = document.all(id).style.display;
		if(disp != "none" || disp == ""){
			document.all(id).style.display = "none";
		}else{
			document.all(id).style.display = "block";
		}
	}else if(document.getElementById){
		var disp = document.getElementById(id).style.display;
		if(disp != "none" || disp == ""){
			document.getElementById(id).style.display = "none";
		}else{
			document.getElementById(id).style.display = "block";
		}
	}
}


function mmLoadMenus() {
  if (window.mm_menu_0622210334_0) return;
  var font = "Arial, Helvetica, sans-serif";
  	// DoNet
    window.mm_menu_0622210334_0_1 = new Menu("DoNet&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_1.addMenuItem("Data&nbsp;Management","location='" + dirs + "product/donet/dm.htm'");
	mm_menu_0622210334_0_1.addMenuItem("Color&nbsp;Management","location='" + dirs + "product/donet/cm.htm'");
	mm_menu_0622210334_0_1.addMenuItem("DoNet&nbsp;Systems","location='" + dirs + "product/donet/series.htm'");
	  	// Lithrone SX
    window.mm_menu_0622210334_0_8 = new Menu("LITHRONE&nbsp;SX&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_8.addMenuItem("LITHRONE&nbsp;SX&nbsp;29","location='" + dirs + "product/lith_sx/29.htm'");
	mm_menu_0622210334_0_8.addMenuItem("LITHRONE&nbsp;SX&nbsp;40","location='" + dirs + "product/lith_sx/40.htm'");
	// Lithrone S
	window.mm_menu_0622210334_0_2 = new Menu("LITHRONE&nbsp;S&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S26/S29","location='" + dirs + "product/lithrone_s/s26_29.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S26P/S29P","location='" + dirs + "product/lithrone_s/s26p_29p.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S32","location='" + dirs + "product/lithrone_s/s32.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S40","location='" + dirs + "product/lithrone_s/s40.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S40P","location='" + dirs + "product/lithrone_s/s40p.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S40SP","location='" + dirs + "product/lithrone_s/s40sp.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S44","location='" + dirs + "product/lithrone_s/s44.htm'");
	mm_menu_0622210334_0_2.addMenuItem("LITHRONE&nbsp;S44SP","location='" + dirs + "product/lithrone_s/s44sp.htm'");
	// Lithrone
	window.mm_menu_0622210334_0_3 = new Menu("LITHRONE&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_3.addMenuItem("LITHRONE&nbsp;20","location='" + dirs + "product/lithrone/20.htm'");
	mm_menu_0622210334_0_3.addMenuItem("LITHRONE&nbsp;44SP","location='" + dirs + "product/lithrone/44sp.htm'");
	mm_menu_0622210334_0_3.addMenuItem("LITHRONE&nbsp;II&nbsp;40","location='" + dirs + "product/lithrone/44ii.htm'");
	// Spica
	window.mm_menu_0622210334_0_4 = new Menu("SPICA&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_4.addMenuItem("SPICA&nbsp;26/29","location='" + dirs + "product/spica/26_29.htm'");
	mm_menu_0622210334_0_4.addMenuItem("SPICA&nbsp;26P/29P","location='" + dirs + "product/spica/26p_29p.htm'");
	// Sprint

	// System
	window.mm_menu_0622210334_0_6 = new Menu("SYSTEM&nbsp;Series",140,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;18S","location='" + dirs + "product/system/18.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;20S","location='" + dirs + "product/system/20.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;25","location='" + dirs + "product/system/25.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;35S","location='" + dirs + "product/system/35s.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;35","location='" + dirs + "product/system/35.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;35D","location='" + dirs + "product/system/35d.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;38S","location='" + dirs + "product/system/38s.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;38D","location='" + dirs + "product/system/38d.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;40","location='" + dirs + "product/system/40.htm'");
	mm_menu_0622210334_0_6.addMenuItem("SYSTEM&nbsp;43","location='" + dirs + "product/system/43.htm'");
	// PRODUCT category
	window.mm_menu_0622210334_0 = new Menu("root",136,19,font,11,"#093f7f","#cc0000","#ebebeb","#f4feff","left","middle",4,0,1000,0,0,true,true,true,2,false,true);
	mm_menu_0622210334_0.addMenuItem("Product&nbsp;Lineup&nbsp;Top","location='" + dirs + "product/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_1,"location='" + dirs + "product/donet/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_8,"location='" + dirs + "product/lith_sx/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_2,"location='" + dirs + "product/lithrone_s/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_3,"location='" + dirs + "product/lithrone/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_4,"location='" + dirs + "product/spica/index.htm'");
	mm_menu_0622210334_0.addMenuItem(mm_menu_0622210334_0_6,"location='" + dirs + "product/system/index.htm'");
	mm_menu_0622210334_0.addMenuItem("BANKNOTE&nbsp;Series","location='" + dirs + "product/banknote/index.htm'");
	mm_menu_0622210334_0.addMenuItem("CHAMBON&nbsp;Series","location='" + dirs + "product/chambon/index.htm'");
	mm_menu_0622210334_0.addMenuItem("Photo&nbsp;Gallery","window.open('http://www.komori.co.jp/hp/prod/photogallery/list.php', '_blank');");
	mm_menu_0622210334_0.childMenuIcon=dirs + "img/tmpl/arrows.gif";
	// Market info. category
	window.mm_menu_0617195920_2 = new Menu("root",136,19,font,11,"#093f7f","#cc0000","#ebebeb","#ffffee","left","middle",4,0,1000,-5,7,true,true,true,2,false,true);
	mm_menu_0617195920_2.addMenuItem("<span style=\"text-indent:1px;\">World&nbsp;Topics</span>","location='" + dirs + "info/press/index.htm'");
	mm_menu_0617195920_2.addMenuItem("Event","location='" + dirs + "info/event.htm'");
	mm_menu_0617195920_2.addMenuItem("Link","location='" + dirs + "etc/link.htm'");
	mm_menu_0617195920_2.addMenuItem("Privacy&nbsp;policy","location='" + dirs + "etc/policy.htm'");
	mm_menu_0617195920_2.addMenuItem("Sitemap","location='" + dirs + "etc/sitemap.htm'");
	// COMPANY PROFILE category
	window.mm_menu_0617195920_3 = new Menu("root",136,19,font,11,"#093f7f","#cc0000","#ebebeb","#fff7fd","left","middle",4,0,1000,-5,7,true,true,true,2,false,true);
	mm_menu_0617195920_3.addMenuItem("Profile","location='" + dirs + "company/index.htm'");
	mm_menu_0617195920_3.addMenuItem("History","location='" + dirs + "company/history.htm'");
	mm_menu_0617195920_3.addMenuItem("Japan&nbsp;Network","location='" + dirs + "company/jpn_net.htm'");
	mm_menu_0617195920_3.addMenuItem("International&nbsp;Network","location='" + dirs + "company/global_net.htm'");
	mm_menu_0617195920_3.addMenuItem("Overseas&nbsp;Distributor","location='" + dirs + "company/distributor.htm'");
	mm_menu_0617195920_3.addMenuItem("IR","location='" + dirs + "company/ir.htm'");
	mm_menu_0617195920_3.addMenuItem("Corporate&nbsp;Theme","location='" + dirs + "company/theme.htm'");
	mm_menu_0617195920_3.addMenuItem("Environment","location='" + dirs + "company/environment.htm'");
	
	mm_menu_0617195920_3.writeMenus();
} 