function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function tochi() {
	var link = parent.location.href;
	var endLink = link.length;
	var i;
	var n;
	var found = 0;
	var chLinkchi="";
	
	for(i = 0; i <= endLink; i++) {
		n = i + 3;
		if (link.substring(i, n) == "eng") {			
			chLinkeng = link.substring(0, i) + "chi" + link.substring(n, endLink);
			break;
		}
	}
	parent.location.href = chLinkeng;
}

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">Home</a>&nbsp;&nbsp;<a href="#" onclick="tochi();" class="smallcontent">中文</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>　　　Other Countries</option>');
document.write('<option value="http://www.gore-tex.com.au/">　　　Australia / New Zealand</option>');
document.write('<option value="http://www.gore-tex.com.cn/">　　　China</option>');
document.write('<option value="http://www.gore-tex.fr/">　　　France</option>');
document.write('<option value="http://www.gore-tex.de/">　　　Germany</option>');
document.write('<option value="http://www.gore-tex.it/">　　　Italy</option>');
document.write('<option value="http://www.gore-tex.co.kr/">　　　Korea</option>');
document.write('<option value="http://www.gore-tex.se/">　　　Norway</option>');
document.write('<option value="http://www.gore-tex.es/">　　　Spain</option>');
document.write('<option value="http://www.gore-tex.se/">　　　Sweden</option>');
document.write('<option value="http://www.gore-tex.de/">　　　Switzerland</option>');
document.write('<option value="http://www.gore-tex.com.tw/">　　　Taiwan</option>');
document.write('<option value="http://www.gore-tex.co.uk/">　　　United Kingdom</option>');
document.write('<option value="http://www.gore-tex.com/remote/Satellite/home">　　　United States</option>');
document.write('        </select></td>');
document.write('        <td align="right" class="smallcontent">Also Visit：     <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/en_xx/careers/" target="_blank" class="smallcontent">career</a>&nbsp;&nbsp;&nbsp;<a href="http://www.gore.com/en_xx/aboutus/" target="_blank" class="smallcontent">about us</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="29" 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">Outerwear</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'products/footwear/footwear.html" class="menucontent">Footwear</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'products/gloves/gloves.html" class="menucontent">Gloves & Accessories</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left" style="display:none"><a href="../../club/signup.php" class="menucontent">Sign up and be our Fans!</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">Our Technologies</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'discover/quality testing/quality_sub10.html" class="menucontent">Quality Testing</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td align="left"><a href="'+ _path_ +'discover/about comfort/basic.html" class="menucontent">About Comfort</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=1" class="menucontent">Community</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">Care Center</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">Store Finder</a></td>');
document.write('          </tr>');
document.write('          <tr>');
document.write('            <td class="menutitle" align="left"><a href="'+ _path_ +'support/service/service01.html" class="menucontent">Contact Us</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>');
}
