// JavaScript Document

function MM_jumpMenu(selObj,restore){ //v3.0
  eval("parent"+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function getTop() {
document.writeln('<table width="1002" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr>');
document.writeln('    <td colspan="7"><img src="img/top_01.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td colspan="7" background="img/top_02.jpg" class="top_02" height="43">');
document.writeln('    <form name="formCountry" id="formCountry">');
document.writeln('      選擇貨幣：');
document.writeln('      <select name="selectCountry" id="selectCountry" onchange="MM_jumpMenu(this,0)">');
document.writeln('        <option value="http://www.gps-supermarket.com/HKD/eng">港元 (HKD)</option>');
document.writeln('        <option value="http://www.gps-supermarket.com/USD/eng">美元 (USD)</option>');
document.writeln('        <option value="http://www.gps-supermarket.com/MYR/eng">馬來幣 (MYR)</option>');
document.writeln('      </select>');
//document.writeln('      <img src="img/space.gif" width="20" /><a href="index.html">English</a> | <a href="index.html">Trad Chi</a> | <a href="index.html">Simp Chi</a>');
document.writeln('      <img src="img/space.gif" width="20" /><a href="../eng/index.html">English</a><img src="img/space.gif" width="10" />|<img src="img/space.gif" width="10" /><a href="../tc/index.html"><img src="img/tc.gif" border="0" /></a><img src="img/space.gif" width="10" />|<img src="img/space.gif" width="10" /><a href="../sc/index.html"><img src="img/sc.gif" border="0" /></a>');
document.writeln('    </form>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr class="menu">');
document.writeln('    <td><img src="img/top_03.jpg" /></td>');
document.writeln('    <td background="img/menuG.jpg" width="103"><a href="index.html"><strong>主頁</strong></a></td>');
document.writeln('    <td background="img/menuB.jpg" width="103"><a href="shopaddtocart.asp"><strong>購物車</strong></a></td>');
document.writeln('    <td background="img/menuR.jpg" width="103"><a href="shopcustomer.asp"><strong>結帳</strong></a></td>');
document.writeln('    <td background="img/menuY.jpg" width="103"><a target="blank" href="http://www.mapking.com/tc/products/download.html"><strong>下載</strong></a></td>');
document.writeln('    <td background="img/menuG.jpg" width="103"><a target="blank" href="http://www.mapking.com/tc/purchase/retail.html"><strong>零售店鋪</strong></a></td>');
document.writeln('    <td background="img/menuB.jpg" width="103"><a target="blank" href="http://www.mapking.com/tc/about/contact.html"><strong>聯絡我們</strong></a></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td colspan="7"><img src="img/top_04.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td colspan="7">');
document.writeln('<table width="1002" border="0" cellspacing="0" cellpadding="0">');
document.writeln('  <tr>');
}

function getLeft() {
document.writeln('    <td width="232" valign="top" bgcolor="#0070BD">');
document.writeln('<table width="192" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr>');
document.writeln('    <td height="20"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td><img src="img/cat_top.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF">');

document.writeln('<ul id="containerul">');
document.writeln('  <li>');
document.writeln('    導航裝置');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=10">攜帶型</a></li>');
document.writeln('    </ul>');
document.writeln('  </li>');
document.writeln('  <li>');
document.writeln('    GPS配件');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=9">GPS接收器</a></li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    MapKing PC地圖');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        中國');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=BJ&device=2">北京</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=CC&device=2">中國2300城市</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=DG&device=2">東莞</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=GZ&device=2">廣州</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=2">香港</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HKH&device=2">香港遠足徑</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=THH&device=2">新竹</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TKH&device=2">高雄</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=PR&device=2">珠江三角洲</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SH&device=2">上海</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SZ&device=2">深圳</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TP&device=2">台北</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TC&device=2">台中</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TN&device=2">台南</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        亞洲');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=BAN&device=2">班加羅爾</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=BK&device=2">曼谷</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=CHE&device=2">欽奈</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=DEL&device=2">德里</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=HCM&device=2">胡志明市</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=HYD&device=2">海得拉巴</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=JK&device=2">雅加達</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MN&device=2">馬尼拉</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MUM&device=2">孟買</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=2">馬來西亞半島</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=2">新加坡</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SE&device=2">漢城</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=THAI&device=2">泰國</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=TK&device=2">東京</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    MapKing Pocket PC地圖');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        R12');
document.writeln('        <ul>');
document.writeln('         <li>');
document.writeln('         中國');
document.writeln('          <ul>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=BJ&device=1&SoftVer=12">北京</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=CC&device=1&SoftVer=12">中國2300城市</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=DG&device=1&SoftVer=12">東莞</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=GZ&device=1&SoftVer=12">廣州</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=HK&device=1&SoftVer=12">香港</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=HKH&device=1&SoftVer=12">香港遠足徑</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TKH&device=1&SoftVer=12">高雄</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=MA&device=1&SoftVer=12">澳門</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=PR&device=1&SoftVer=12">珠江三角洲</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=SH&device=1&SoftVer=12">上海</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=SZ&device=1&SoftVer=12">深圳</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TP&device=1&SoftVer=12">台北</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TC&device=1&SoftVer=12">台中</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TN&device=1&SoftVer=12">台南</a></li>');
document.writeln('          </ul>');
document.writeln('         </li>');
document.writeln('         <li>');
document.writeln('         亞洲');
document.writeln('          <ul>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=BAN&device=1&SoftVer=12">班加羅爾</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=BK&device=1&SoftVer=12">曼谷</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=CHE&device=1&SoftVer=12">欽奈</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=CAN&device=1&SoftVer=12">芹苴</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=DAN&device=1&SoftVer=12">蜆港</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=DEL&device=1&SoftVer=12">德里</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HAI&device=1&SoftVer=12">海防</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HNO&device=1&SoftVer=12">河內</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HCM&device=1&SoftVer=12">胡志明市</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HYD&device=1&SoftVer=12">海得拉巴</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=JK&device=1&SoftVer=12">雅加達</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=KOL&device=1&SoftVer=12">加爾各答</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MN&device=1&SoftVer=12">馬尼拉</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MUM&device=1&SoftVer=12">孟買</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MAL&device=1&SoftVer=12">馬來西亞半島</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=SE&device=1&SoftVer=12">漢城</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=SG&device=1&SoftVer=12">新加坡</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=THAI&device=1&SoftVer=12">泰國</a></li>');
document.writeln('          </ul>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        2007');
document.writeln('        <ul>');
document.writeln('         <li>');
document.writeln('         中國');
document.writeln('          <ul>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=BJ&device=1&SoftVer=10">北京</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=CC&device=1&SoftVer=10">中國2300城市</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=DG&device=1&SoftVer=10">東莞</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=GZ&device=1&SoftVer=10">廣州</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=HK&device=1&SoftVer=10">香港</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=HKH&device=1&SoftVer=10">香港遠足徑</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TKH&device=1&SoftVer=10">高雄</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=MA&device=1&SoftVer=10">澳門</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=PR&device=1&SoftVer=10">珠江三角洲</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=SH&device=1&SoftVer=10">上海</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=SZ&device=1&SoftVer=10">深圳</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TP&device=1&SoftVer=10">台北</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TC&device=1&SoftVer=10">台中</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=3&region=TN&device=1&SoftVer=10">台南</a></li>');
document.writeln('          </ul>');
document.writeln('         </li>');
document.writeln('         <li>');
document.writeln('         亞洲');
document.writeln('          <ul>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=BAN&device=1&SoftVer=10">班加羅爾</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=BK&device=1&SoftVer=10">曼谷</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=CHE&device=1&SoftVer=10">欽奈</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=CAN&device=1&SoftVer=10">芹苴</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=DAN&device=1&SoftVer=10">蜆港</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=DEL&device=1&SoftVer=10">德里</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HAI&device=1&SoftVer=10">海防</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HNO&device=1&SoftVer=10">河內</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HCM&device=1&SoftVer=10">胡志明市</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=HYD&device=1&SoftVer=10">海得拉巴</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=JK&device=1&SoftVer=10">雅加達</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=KOL&device=1&SoftVer=10">加爾各答</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MN&device=1&SoftVer=10">馬尼拉</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MUM&device=1&SoftVer=10">孟買</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=MAL&device=1&SoftVer=10">馬來西亞半島</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=SE&device=1&SoftVer=10">漢城</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=SG&device=1&SoftVer=10">新加坡</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=THAI&device=1&SoftVer=10">泰國</a></li>');
document.writeln('          <li><a onClick=window.open("http://www.mapking.com/shopping/enhk/CompatibleModels.html","CompatibleModels","left=600,width=600,resizable=yes,scrollbars=yes"); href="ShopDisplayproducts.asp?id=4&region=TK&device=1&SoftVer=10">東京</a></li>');
document.writeln('          </ul>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    MapKing Symbian S60地圖');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        中國');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=BJ&device=4">北京</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=DG&device=4">東莞</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=4">香港</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=PR&device=4">珠江三角洲</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SH&device=4">上海</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        亞洲');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=4">馬來西亞半島</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=4">新加坡</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    Android');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        中國');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=6">香港</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        亞洲');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=6">馬來西亞半島</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=6">新加坡</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    軟件');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=8">金山毒霸</a></li>');
document.writeln('    </ul>');
document.writeln('  </li>');
document.writeln('</ul>');


document.writeln('<script>initiate()</script>');

document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td><img src="img/cat_bottom.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td height="20"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td><img src="img/top10_top.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1399">MapKing2007 香港<br>PPC 中文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1420">MapKing2007 香港<br>PC 繁簡版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1522">MapKingS60 香港<br>繁簡版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1340">MapKing2007 香港<br>PPC 英文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1337">MapKing2007 新加坡<br>PPC 英文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1354">MapKing2007 Shenzhen<br>PPC 繁簡版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1406">MapKing2007 香港遠足徑<br>PPC 繁簡版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1689">MapKingR12 新加坡<br>PPC 英文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1366">MapKing2007 馬來半島<br>PPC 英文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF"><img src="img/top10_div.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" height="10"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#FFFFFF" class="tdC">');
document.writeln('    <a href="list.asp?id=1534">MapKing2007 河內<br>PPC 英文版</a>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td><img src="img/top10_bottom.jpg" /></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td height="20"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
}

function getRight() {
document.writeln('    <td width="179" valign="top" bgcolor="#FFE807">');
document.writeln('<table width="179" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#0070BD">');
document.writeln('  <tr>');
document.writeln('    <td height="20"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="139" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr>');
document.writeln('    <td><a href="http://www.MapKing.com" target="_blank"><img src="img2/701.gif" border="0" /></a></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td height="10"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
}

function getBottom() {
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td colspan="7" height="4" bgcolor="#FFFFFF"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td colspan="7" bgcolor="#EC1B23" class="bottom">Copyright &copy; 2009, MapKing International Limited. All rights reserved.</td>');
document.writeln('  </tr>');
document.writeln('</table>');
}

function getSpecial() {
document.writeln('<a name="special" id="special"></a>');
document.writeln('<table width="591" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr bgcolor="#78BC27">');
document.writeln('    <td height="19"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td align="center" background="img/special_bg.jpg">');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/special_top.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td valign="top"><img src="img/space.gif" height="35" width="233" border="0" /><a href="#new"><img src="img/space.gif" height="35" width="159" border="0" /></a><a href="#hot"><img src="img/space.gif" height="35" width="159" border="0" /></a></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/special_top2.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1744"><div  class="img"><img src="/online/products/images/small/+BOX(120).JPG" border="0" /></div><br />金山毒霸英文版</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1765"><div  class="img"><img src="/online/products/images/small/GPS892_120.jpg" border="0" /></div><br />M5000 GPS 車載導航</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1766"><div  class="img"><img src="/online/products/images/small/EC-503BT_120.jpg" border="0" /></div><br />EC_503BT 導航</a><br /><br /></td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$98</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$1988</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$1760</td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" background="img/special_bottom.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" bgcolor="#78BC27"');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<a name="new" id="new"></a>');
document.writeln('<table width="591" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr bgcolor="#DCDCDC">');
document.writeln('    <td height="19"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td align="center" background="img/new_bg.jpg">');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/new_top.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td valign="top"><img src="img/space.gif" height="35" width="233" border="0" /><a href="#hot"><img src="img/space.gif" height="35" width="159" border="0" /></a><a href="#special"><img src="img/space.gif" height="35" width="159" border="0" /></a></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/new_top2.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1337"><div  class="img"><img src="/online/products/images/small/Singapore05_Eng_G10(120).jpg" border="0" /></div><br />MapKing2007 新加坡<br />PPC 英文版</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1689"><div  class="img"><img src="/online/products/images/small/Singapore_1(120).gif" border="0" /></div><br />MapKingR12 新加坡<br />PPC 英文版</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1366"><div  class="img"><img src="/online/products/images/small/Malaysia_PPC_Eng1(120).jpg" border="0" /></div><br />MapKing2007 馬來半島<br />PPC 英文版</a><br /><br /></td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$267</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$267</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$310</td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" background="img/new_bottom.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" bgcolor="#DCDCDC"');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<a name="hot" id="hot"></a>');
document.writeln('<table width="591" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln('  <tr bgcolor="#78BC27">');
document.writeln('    <td height="19"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td align="center" background="img/hot_bg.jpg">');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/hot_top.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td valign="top"><img src="img/space.gif" height="35" width="233" border="0" /><a href="#special"><img src="img/space.gif" height="35" width="159" border="0" /></a><a href="#new"><img src="img/space.gif" height="35" width="159" border="0" /></a></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="57" border="0" cellspacing="0" cellpadding="0" background="img/hot_top2.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1534"><div  class="img"><img src="/online/products/images/small/Honoi(120).JPG" border="0" /></div><br />MapKing2007 河內<br />PPC 英文版</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1420"><div  class="img"><img width=120 src="/online/products/images/small/HK_PC_C1_200.gif" border="0" /></div><br />MapKing2007 香港<br />PC 繁簡版</a><br /><br /></td>');
document.writeln('    <td width="179" align="center"><br /><a href="list.asp?id=1538"><div  class="img"><img src="/online/products/images/small/818(120).gif" border="0" /></div><br />GPS BT-Q818 eXtreme<br />MapKing PPC 地圖</a><br /><br /></td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td width="7"></td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$196</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$98</td>');
document.writeln('    <td width="179" height="77" background="product/price.jpg" class="special" align="center"><img src="img/space.gif" height="10" /><br />HK$920</td>');
document.writeln('    <td width="7"></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" background="img/hot_bottom.jpg" class="bg">');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="551" height="14" border="0" cellspacing="0" cellpadding="0" bgcolor="#78BC27"');
document.writeln('  <tr>');
document.writeln('    <td></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('</table>');
}

var temp, temp2, cookieArray, cookieArray2, cookieCount;

function initiate(){

  cookieCount=0;

  if(document.cookie){

    cookieArray=document.cookie.split(";");
    cookieArray2=new Array();

    for(i in cookieArray){
      cookieArray2[cookieArray[i].split("=")[0].replace(/ /g,"")]=cookieArray[i].split("=")[1].replace(/ /g,"");
    }

  }

  cookieArray=(document.cookie.indexOf("state=")>=0)?cookieArray2["state"].split(","):new Array();

  temp=document.getElementById("containerul");

  for(var o=0;o<temp.getElementsByTagName("li").length;o++){

    if(temp.getElementsByTagName("li")[o].getElementsByTagName("ul").length>0){

      temp2				= document.createElement("span");
      temp2.className			= "clicker";
      temp2.style.backgroundImage	= (cookieArray.length>0)?((cookieArray[cookieCount]=="true")?"url(img/minus.png)":"url(img/plus.png)"):"url(img/plus.png)";
      temp2.onclick=function(){
        showhide(this.parentNode);
        writeCookie();
      }

      for(var p=0;p<temp.getElementsByTagName("li")[o].childNodes.length;p++){

        if(temp.getElementsByTagName("li")[o].childNodes[p].nodeName=="#text"){
          temp2.appendChild(temp.getElementsByTagName("li")[o].childNodes[p]);
        }

      }

      temp.getElementsByTagName("li")[o].insertBefore(temp2,temp.getElementsByTagName("li")[o].firstChild)

      temp.getElementsByTagName("li")[o].getElementsByTagName("ul")[0].style.display = "none";

      if(cookieArray[cookieCount]=="true"){
        showhide(temp.getElementsByTagName("li")[o]);
      }

      cookieCount++;

    }
    else{

      temp2				= document.createElement("span");
      temp2.className			= "symbols";
      temp2.style.backgroundImage	= "url(img/page.png)";

      temp.getElementsByTagName("li")[o].insertBefore(temp2,temp.getElementsByTagName("li")[o].firstChild);

    }

  }

}



function showhide(el){

  el.getElementsByTagName("ul")[0].style.display=(el.getElementsByTagName("ul")[0].style.display=="block")?"none":"block";

  el.getElementsByTagName("span")[0].style.backgroundImage=(el.getElementsByTagName("ul")[0].style.display=="block")?"url(img/minus.png)":"url(img/plus.png)";

}



function writeCookie(){		// Runs through the menu and puts the "states" of each nested list into an array, the array is then joined together and assigned to a cookie.

  cookieArray=new Array()

  for(var q=0;q<temp.getElementsByTagName("li").length;q++){

    if(temp.getElementsByTagName("li")[q].childNodes.length>0){
      if(temp.getElementsByTagName("li")[q].childNodes[0].nodeName.toLowerCase()=="span" && temp.getElementsByTagName("li")[q].getElementsByTagName("ul").length>0){

        cookieArray[cookieArray.length]=(temp.getElementsByTagName("li")[q].getElementsByTagName("ul")[0].style.display=="block");

      }
    }

  }

  document.cookie="state="+cookieArray.join(",")+";expires="+new Date(new Date().getTime() + 365*24*60*60*1000).toGMTString();

}