 var Gpath="../"
 var Gmenu=[
		{
		t:"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About ART&nbsp;&nbsp;&nbsp;&nbsp;",
		href:Gpath+"about/about_1.html",
		sub:[{t:"&nbsp;Corporate Profile&nbsp;",href:Gpath+"about/about_1.html"},{t:"&nbsp;President's address&nbsp;",href:Gpath+"about/about_2.html"},{t:"&nbsp;Milestones",href:Gpath+"about/about_3.html"},{t:"&nbsp;Management Policy&nbsp;",href:Gpath+"about/Environment.html"}]		
		}
		
		
		
		,{
		t:"Manufacturing Service&nbsp;&nbsp;&nbsp;&nbsp;",
		href:Gpath+"product/product1.html",
		sub:[{t:"&nbsp;Metal Stamping&nbsp;",href:Gpath+"product/product1.html"},{t:"&nbsp;Plastic Injection&nbsp;",href:Gpath+"product/product2.html"},{t:"&nbsp;CNC Machining&nbsp;",href:Gpath+"product/product4.html"},{t:"&nbsp;Assembly&nbsp;",href:Gpath+"product/product3.html"}]
		}
		
		
		,{
		t:"Quality&nbsp;&nbsp;&nbsp;&nbsp;",
		href:Gpath+"qc.html",
		sub:[]
		}
		
		
		,{
		t:"E - Commerce&nbsp;&nbsp;&nbsp;&nbsp;",
		href:Gpath+"edi.html",
		sub:[]
		},
		
		
		{
		t:"Contact",
		href:Gpath+"Contact.html",
		sub:[{t:"Any inquiry",href:Gpath+"Any.html"}]
		}
];







    function addLoadListener(fn)
   {
    if (typeof window.addEventListener != 'undefined')
    {
      window.addEventListener('load',fn,false);
    }
     else if (typeof document.addEventListener != 'undefined')
    {
      document.addEventListener('load',fn,false);
    }
     else if (typeof window.attachEvent != 'undefined')
    {
      window.attachEvent('onload',fn);
    }
     else
    {
       var oldfn = window.onload;
       if (typeof window.onload != 'function')
      {
         window.onload = fn;
      }
      else
      {
         window.onload = function() {
         lodfn();
         fn();
         };
       }
     }
   }

function overmouse(o){
	try{o.getElementsByTagName("ul")[0].style.visibility="visible";}catch(ee){}
}
function outmouse(o){
	try{o.getElementsByTagName("ul")[0].style.visibility="hidden";}catch(ee){}
}    
    
function onloadcon(){
	var path = Gpath;
	document.write('<h1 class="logo"></h1>');
    document.write('<div class="home">');
	document.write('<a href="/index.htm" target="_parent">Home</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/index_chinese.htmL"target="_parent">中文版</a>&nbsp;&nbsp;|&nbsp;&nbsp;日本語');
	document.write('</div>');
	document.write('<div class="menu1">');
	document.write('<ul id="menublock">');

	for(var i=0,menu;menu=Gmenu[i];i++){
		document.write('<li onmouseover="overmouse(this)" onmouseout="outmouse(this)">');
		document.write('<a href="'+menu.href+'" target="_parent" hidefocus="true">'+menu.t+'</a>');
        if(menu.sub&&menu.sub.length>0){
				document.write('<ul><li><img src="'+path+'/images/ba2.jpg" width="12" height="20" /></li>');
				for(var j=menu.sub.length-1,menu2;menu2=menu.sub[j];j--){
					document.write('<li><a href="'+menu2.href+'" target="_parent">'+menu2.t+'</a></li>');
                }
 				document.write('<li><img src="'+path+'/images/ba1.jpg" width="12" height="20" /></li></ul>');
       }
	   document.write('</li>');
    }

	document.write('</ul>');
	document.write('</div>');
	
	//prompt("",document.getElementById("menucon").innerHTML);
}

onloadcon();
