function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function toeng() {
	var link = parent.location.href;
	var endLink = link.length;
	var i;
	var n;
	var found = 0;
	var chLinkgbx="";
	
	for(i = 0; i <= endLink; i++) {
		n = i + 3;
		if (link.substring(i, n) == "chi") {			
			chLinkgbx = link.substring(0, i) + "eng" + link.substring(n, endLink);
			break;
		}
	}
	parent.location.href = chLinkgbx;
}

function topmenu(num){
var _lvl_="";
var _path_="";
 if(num==1){
_lvl_="../";
_path_="../";
}else if (num==2){
_lvl_="../../";
_path_="../../";
}else if (num==3){
_lvl_="../../../";
_path_="../../../";
}
document.write('<table width="960" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr>');
document.write('    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('      <tr>');
document.write('        <td align="right"><a href="'+ _path_ +'home/index.html"  class="smallcontent">首頁</a>&nbsp;&nbsp;<a href="#" onclick="toeng();" class="smallcontent">English</a></td>');
document.write('        <td align="right"><img src="'+ _lvl_ +'image/common/top_img01.gif" width="45" height="28"></td>');
document.write('        <td><select name="menu1" onchange="MM_jumpMenu(\'parent\',this,0)" class="smallcontent">');
document.write('        <option selected>　　　其他國家</option>');
document.write('        <option value="http://www.gore-tex.com/remote/Satellite/home">　　　美國</option>');
document.write('          <option value="http://www.gore-tex.co.uk/">　　　英國</option>');
document.write('          <option value="http://www.gore-tex.de/">　　　德國</option>');
document.write('          <option value="http://www.gore-tex.com.au/">　　　澳大利亞</option>');
document.write('          <option value="http://www.gore-tex.de/">　　　瑞士</option>');
document.write('          <option value="http://www.gore-tex.fr/">　　　法國</option>');
document.write('          <option value="http://www.gore-tex.es/">　　　西班牙</option>');
document.write('          <option value="http://www.gore-tex.it/">　　　意大利</option>');
document.write('          <option value="http://www.gore-tex.se/">　　　瑞典</option>');
document.write('          <option value="http://www.gore-tex.se/">　　　挪威</option>');
document.write('          <option value="http://www.gore-tex.co.kr/">　　　韓國</option>');
document.write('          <option value="http://www.gore-tex.com.cn/">　　　中國</option>');
document.write('          <option value="http://www.gore-tex.com.tw/">　　　台灣</option>');
document.write('        </select></td>');
document.write('        <td align="right" class="smallcontent">同時瀏覽：     <a href="http://www.windstopper.com/remote/Satellite?childpagename=windstopper_en_US/fabrics_cont_land_c/NavLanding&pagename=SessionWrapper&navid=HomeLanding" target="_blank" class="smallcontent">windstopper.com</a>&nbsp;&nbsp;&nbsp;<a href="http://www.goreprotectivefabrics.com/" target="_blank" class="smallcontent">goreprotectivefabrics.com</a>&nbsp;&nbsp;&nbsp;<a href="http://www.gore.com/en_xx/" target="_blank" class="smallcontent">gore.com</a>&nbsp;&nbsp;&nbsp;<a href="http://www.gore.com/zh_cn/careers/index.html" target="_blank" class="smallcontent">工作機會</a>&nbsp;&nbsp;&nbsp;<a href="http://www.gore.com/zh_cn/aboutus/index.html" target="_blank" class="smallcontent">關於我們</a>&nbsp;&nbsp;&nbsp;</td>');
document.write('        <td align="center"><img src="'+ _lvl_ +'image/common/top_gore.gif" width="42" height="18"></td>');
document.write('      </tr>');
document.write('    </table>       ');
document.write('      </td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('    <td bgcolor="#333333"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('      <tr>');
document.write('        <td height="5" colspan="4"><img src="'+ _lvl_ +'image/common/space.gif" width="5" height="5"></td>');
document.write('        </tr>');
document.write('      <tr>');
document.write('        <td width="25%" style="padding: 0px 0px 0px 94px;"><div id="Layer1" style="position:absolute; width:141px; height:140px; z-index:1"><img src="'+ _lvl_ +'image/common/gore_logo.gif" width="133" height="133"></div><img src="'+ _lvl_+'image/common/space.gif" width="60" height="25" biredr="0"></td>');
document.write('        <td width="25%" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="2">');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left">PRODUCTS</td>');
document.write('          </tr>');
//////////////////////////menu///////////////////////////////////////////////////////
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'products/outerwear/outerwear.html" class="menucontent">服 裝</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'products/footwear/footwear.html" class="menucontent">鞋 履</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'products/gloves/gloves.html" class="menucontent">手 套 及 飾 物</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left" style="display:none"><a href="../../club/signup.php?lang_id=2" class="menucontent">會員登記</a></td>');
document.write('          </tr>');
document.write('        </table></td>');
document.write('        <td width="25%" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="2">');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left">DISCOVER</td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'discover/our technogies/our_main.html" class="menucontent">我 們 選 用 的 技 術</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'discover/quality testing/quality_sub10.html" class="menucontent">品 質 測 試</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'discover/about comfort/basic.html" class="menucontent">舒 適 度 測 試</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left" style="padding: 0px 0px 5px 0px;"><a href="'+ _path_ +'../../club/home.php?lang_id=2" class="menucontent">體 驗 專 區</a></td>');
document.write('          </tr>');
document.write('        </table></td>');
document.write('        <td width="25%" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="2">');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left">SUPPORT</td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left"><a href="'+ _path_ +'support/care/care01.html" class="menucontent">保 養 資 訊</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left"><a href="'+ _path_ +'support/pro_brand/pro_summary.html" class="menucontent">商 店 搜 尋</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left"><a href="'+ _path_ +'support/service/service01.html" class="menucontent">聯 絡 我 們</a></td>');
document.write('          </tr>');
document.write('        </table></td>');
document.write('      </tr>');
document.write('      <tr bgcolor="#333333">');
document.write('        <td height="5" colspan="4"><img src="'+ _lvl_ +'image/common/space.gif" width="5" height="5"></td>');
document.write('      </tr>');
document.write('      <tr bgcolor="#FFFFFF">');
document.write('        <td height="5" colspan="4"><img src="'+ _lvl_ +'image/common/space.gif" width="5" height="5"></td>');
document.write('        </tr>');
document.write('    </table>      ');
document.write('    </td>');
document.write('  </tr>');
document.write('</table>');
}
