// 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('      Select Currency:');
document.writeln('      <select name="selectCountry" id="selectCountry" onchange="MM_jumpMenu(this,0)">');
document.writeln('        <option value="http://www.gps-supermarket.com/HKD/eng">Hong Kong Dollar (HKD)</option>');
document.writeln('        <option value="http://www.gps-supermarket.com/USD/eng">U.S. Dollar (USD)</option>');
document.writeln('        <option value="http://www.gps-supermarket.com/MYR/eng">Malaysian Ringgit (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>Home</strong></a></td>');
document.writeln('    <td background="img/menuB.jpg" width="103"><a href="shopaddtocart.asp"><strong>My Cart</strong></a></td>');
document.writeln('    <td background="img/menuR.jpg" width="103"><a href="shopcustomer.asp"><strong>Check Out</strong></a></td>');
document.writeln('    <td background="img/menuY.jpg" width="103"><a target="blank" href="http://www.mapking.com/eng/products/download.html"><strong>Download</strong></a></td>');
document.writeln('    <td background="img/menuG.jpg" width="103"><a target="blank" href="http://www.mapking.com/eng/purchase/retail.html"><strong>Retail Shop</strong></a></td>');
document.writeln('    <td background="img/menuB.jpg" width="103"><a target="blank" href="http://www.mapking.com/eng/about/contact.html"><strong>Contact Us</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('    Navigation Device');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=10">Portable</a></li>');
document.writeln('    </ul>');
document.writeln('  </li>');
document.writeln('  <li>');
document.writeln('    GPS Accessory');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=9">GPS Receiver</a></li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    MapKing PC Map');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        China');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=BJ&device=2">Beijing</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=CC&device=2">China 2300 Cities</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=DG&device=2">DongGuan</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=GZ&device=2">Guangzhou</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=2">Hong Kong</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HKH&device=2">Hong Kong Hiking</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=THH&device=2">HsinChu</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TKH&device=2">KaoHsiung</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=PR&device=2">Pearl River Delta</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SH&device=2">Shanghai</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SZ&device=2">Shenzhen</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TP&device=2">TaiPei</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TC&device=2">TaiChung</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=TN&device=2">TaiNan</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        Asia');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=BAN&device=2">Bangalore</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=BK&device=2">Bangkok</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=CHE&device=2">Chennai</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=DEL&device=2">Delhi</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=HCM&device=2">Ho Chi Minh City</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=HYD&device=2">Hyderabad</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=JK&device=2">Jakarta</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MN&device=2">Manila</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MUM&device=2">Mumbai</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=2">Peninsular Malaysia</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=2">Singapore</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SE&device=2">Seoul</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=THAI&device=2">Thailand</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=TK&device=2">Tokyo</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    MapKing Pocket PC Map');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        R12');
document.writeln('        <ul>');
document.writeln('         <li>');
document.writeln('         China');
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">Beijing</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">China 2300 Cities</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">DongGuan</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">Guangzhou</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">Hong Kong</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">Hong Kong Hiking</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">KaoHsiung</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">Macau</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">Pearl River Delta</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">Shanghai</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">Shenzhen</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">TaiPei</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">TaiChung</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">TaiNan</a></li>');
document.writeln('          </ul>');
document.writeln('         </li>');
document.writeln('         <li>');
document.writeln('         Asia');
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">Bangalore</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">Bangkok</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">Chennai</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">CanTho</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">DaNang</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">Delhi</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">HaiPhone</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">Hanoi</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">Ho Chi Minh City</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">Hyderabad</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">Jakarta</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">Kolkata</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">Manila</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">Mumbai</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">Peninsular Malaysia</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">Seoul</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">Singapore</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">Thailand</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('         China');
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">Beijing</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">China 2300 Cities</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">DongGuan</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">Guangzhou</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">Hong Kong</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">Hong Kong Hiking</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">KaoHsiung</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">Macau</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">Pearl River Delta</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">Shanghai</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">Shenzhen</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">TaiPei</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">TaiChung</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">TaiNan</a></li>');
document.writeln('          </ul>');
document.writeln('         </li>');
document.writeln('         <li>');
document.writeln('         Asia');
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">Bangalore</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">Bangkok</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">Chennai</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">CanTho</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">DaNang</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">Delhi</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">HaiPhone</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">Hanoi</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">Ho Chi Minh City</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">Hyderabad</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">Jakarta</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">Kolkata</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">Manila</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">Mumbai</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">Peninsular Malaysia</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">Seoul</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">Singapore</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">Thailand</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">Tokyo</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 Map');
document.writeln('    <ul>');
document.writeln('      <li>');
document.writeln('        China');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=BJ&device=4">Beijing</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=DG&device=4">DongGuan</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=4">Hong Kong</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=PR&device=4">Pearl River Delta</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=SH&device=4">Shanghai</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        Asia');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=4">Peninsular Malaysia</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=4">Singapore</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('        China');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=3&region=HK&device=6">Hong Kong</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('      <li>');
document.writeln('        Asia');
document.writeln('        <ul>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=MAL&device=6">Peninsular Malaysia</a></li>');
document.writeln('          <li><a href="ShopDisplayproducts.asp?id=4&region=SG&device=6">Singapore</a></li>');
document.writeln('        </ul>');
document.writeln('      </li>');
document.writeln('    </ul>');
document.writeln('  </li>');

document.writeln('  <li>');
document.writeln('    Software');
document.writeln('    <ul>');
document.writeln('      <li><a href="ShopDisplayproducts.asp?id=8">Kingsoft Internet Security</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 Hong Kong<br>PPC Map (Chinese Version)</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 Hong Kong<br>PC Map (Chinese Version)</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 Hong Kong Map<br>(Chinese Version)</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 Hong Kong<br>PPC Map (English Version)</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 Singapore<br>PPC Map (English Version)</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 Map (Chinese Version)</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 Hong Kong Hiking<br>PPC Map (Chinese Version)</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 Singapore<br>PPC Map(English version)</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 Peninsular Malaysia<br>PPC Map(English version)</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 Hanoi<br>PPC Map(English version)</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 />Kingsoft Internet<br />Security Suite V9.0</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 car navigation</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 GPS navigation</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 Singapore<br />PPC Map</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 Singapore<br />PPC Map</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 Peninsular<br />Malaysia PPC Map</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 Hanoi<br />PPC Map</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 Hong Kong<br />PC Map</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 Map</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();

}