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 getkey(key){
	switch (key) {
	case "chinese_homepage" :
		document.writeln('<a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm1\',\'\',\'/img/tp_home_on.gif\',1)"><img src="/img/tp_home.gif" alt="ホーム" title="ホーム" name="tm1" width="128" height="42" border="0" id="tm1" /></a><img src="/img/tp_chinese_homepage_on.gif" alt="中国語ホームページ" title="中国語ホームページ" name="tm2" width="127" height="42" border="0" id="tm2" /><a href="/company/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm4\',\'\',\'/img/tp_company_on.gif\',1)"><img src="/img/tp_company.gif" alt="会社紹介" title="会社紹介" name="tm4" width="127" height="42" border="0" id="tm4" /></a><a href="/company/contact/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm5\',\'\',\'/img/tp_contact_on.gif\',1)"><img src="/img/tp_contact.gif" alt="お問合せ" title="お問合せ" name="tm5" width="128" height="42" border="0" id="tm5" /></a>');break;
	case "company" :
		document.writeln('<a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm1\',\'\',\'/img/tp_home_on.gif\',1)"><img src="/img/tp_home.gif" alt="ホーム" title="ホーム" name="tm1" width="128" height="42" border="0" id="tm1" /></a><a href="/china_internet_promotion/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm2\',\'\',\'/img/tp_chinese_homepage_on.gif\',1)"><img src="/img/tp_chinese_homepage.gif" alt="中国語ホームページ" title="中国語ホームページ" name="tm2" width="127" height="42" border="0" id="tm2" /></a><img src="/img/tp_company_on.gif" alt="会社紹介" title="会社紹介" name="tm4" width="127" height="42" border="0" id="tm4" /><a href="/company/contact/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm5\',\'\',\'/img/tp_contact_on.gif\',1)"><img src="/img/tp_contact.gif" alt="お問合せ" title="お問合せ" name="tm5" width="128" height="42" border="0" id="tm5" /></a>');break;
	case "contact" :
		document.writeln('<a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm1\',\'\',\'/img/tp_home_on.gif\',1)"><img src="/img/tp_home.gif" alt="ホーム" title="ホーム" name="tm1" width="128" height="42" border="0" id="tm1" /></a><a href="/china_internet_promotion/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm2\',\'\',\'/img/tp_chinese_homepage_on.gif\',1)"><img src="/img/tp_chinese_homepage.gif" alt="中国語ホームページ" title="中国語ホームページ" name="tm2" width="127" height="42" border="0" id="tm2" /></a><a href="/company/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm4\',\'\',\'/img/tp_company_on.gif\',1)"><img src="/img/tp_company.gif" alt="会社紹介" title="会社紹介" name="tm4" width="127" height="42" border="0" id="tm4" /></a><img src="/img/tp_contact_on.gif" alt="お問合せ" title="お問合せ" name="tm5" width="128" height="42" border="0" id="tm5" />');break;
	default :
		document.writeln('<a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm1\',\'\',\'/img/tp_home_on.gif\',1)"><img src="/img/tp_home.gif" alt="ホーム" title="ホーム" name="tm1" width="128" height="42" border="0" id="tm1" /></a><a href="/china_internet_promotion/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm2\',\'\',\'/img/tp_chinese_homepage_on.gif\',1)"><img src="/img/tp_chinese_homepage.gif" alt="中国語ホームページ" title="中国語ホームページ" name="tm2" width="127" height="42" border="0" id="tm2" /></a><a href="/company/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm4\',\'\',\'/img/tp_company_on.gif\',1)"><img src="/img/tp_company.gif" alt="会社紹介" title="会社紹介" name="tm4" width="127" height="42" border="0" id="tm4" /></a><a href="/company/contact/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tm5\',\'\',\'/img/tp_contact_on.gif\',1)"><img src="/img/tp_contact.gif" alt="お問合せ" title="お問合せ" name="tm5" width="128" height="42" border="0" id="tm5" /></a>');
	}
}
document.writeln('<div id="main">');
document.writeln('	<div id="top">');
document.writeln('		<div id="logo"><a href="/"><img src="/img/logo.jpg" border="0" width="257" height="45" alt="株式会社イーチャイナ" /></a><br />');
document.writeln('	</div>');
document.writeln('		<div id="web_link"><a href="http://www.e-japan.cn" target="_blank"><img src="/img/tp_sit_1.gif" alt="中国語版" title="中国語版へ" width="86" height="19" border="0" /></a><!--a href="http://www.e-china.jp" target="_blank"><img src="/img/tp_sit_2.gif" alt="e-china" width="71" height="19" border="0" /></a--><br />');
document.writeln('		</div>');
document.writeln('	</div>');
document.writeln('</div>');
document.writeln('<div id="menu_out_up">');
document.writeln('	<div id="menu_up">');
document.writeln('	<h1>中国ビジネスを加速する中国語サイト/中国語翻訳のイーチャイナ</h1>');
document.writeln('	</div>');
document.writeln('	</div>');
document.writeln('	<div id="menu_out">');
document.writeln('		<div id="menu">');
getkey(key);
document.writeln('		</div>');
document.writeln('	</div>');
document.writeln('</div>');
