function pageheader(){
  document.write('<!-- begin: Global Banner -->');
  document.write('<table border="0" width="100%" cellpadding="0" cellspacing="0" id="Table1">');
  document.write('  <tr>'); 
  document.write('    <td width="80" align="left" valign="top">');
  document.write('      <a href=../main/main.html>'); 
  document.write('        <img src="../images/CDWlogo.jpg" border="0" align="middle" alt="CDW">');
  document.write('	</a>'); 
  document.write('    </td>');
  document.write('    <td width="10px" align="center">');
  document.write('      <img src="../images/spacer.gif" width="10px" height="65">'); 
  document.write('    </td>');
  document.write('    <td align="left" valign="top">');
  document.write('      <img src="../images/spacer.gif" width="675" height="1">');
  document.write('    </td>');
  document.write('  </tr>');
  document.write('  <tr><td colspan="3"><img src="../images/spacer.gif" height="5"></td></tr>');
  document.write('</table>');
  document.write('<!-- end: Global Banner -->');

  document.write('<!-- begin: Global Navigation -->');
  document.write('<table width="100%" cellpadding="0" cellspacing="0" border="0">');
  document.write('  <tr>'); 
  document.write('    <td width="98%" height="24" bgcolor="#dfdfef" valign="middle">&nbsp;&nbsp;<a href="../main/main.html" class="topmenu">Home</a><font color="#ffffff">&nbsp;|&nbsp;</font>');
  document.write('      <a href="../corporate/welcome.html" class="topmenu">Corporate Info</a><font color="#ffffff">&nbsp;|&nbsp;</font>');
  document.write('      <a href="../Product/products.html" class="topmenu">Products & Facilities</a><font color="#ffffff">&nbsp;|&nbsp;</font>');
  document.write('      <a href="../Investor/strategy.html" class="topmenu">Investor Relations</a>');
  document.write('    <td width="2%" align="right" valign="top" bgcolor="#dfdff0"></td>');
  document.write('  </tr>');
  document.write('</table>');
  document.write('<!-- end: Global Navigation -->');
}

function pagefooter(){
  document.write('<table width="100%" cellpadding="0" cellspacing="0" border="0" class="Footer">');
  document.write('<tr>');
  document.write('  <td class="text" style="padding-left:10">');
  document.write('    <a href="../main/main.html" onMouseOver="return ss(\'CDW Holding Ltd\')" onMouseOut="return ss(\'\')" class="bottommenu">www.cdw-holding.com.hk</a>&nbsp;|&nbsp;'); 
  document.write('    <a href="../corporate/terms_of_use.html" onMouseOver="return ss(\'Terms of Use\')" onMouseOut="return ss(\'\')" class="bottommenu">Terms of Use</a>&nbsp;|&nbsp;'); 
  document.write('    <a href="../corporate/privacy.html" onMouseOver="return ss(\'Privacy Practices\')" onMouseOut="return ss(\'\')" class="bottommenu">Privacy Practices</a>&nbsp;|&nbsp;'); 
  document.write('    <a href="../corporate/contact_us.html" onMouseOver="return ss(\'Contact Us\')" onMouseOut="return ss(\'\')" class="bottommenu">Contact Us</a>&nbsp;|&nbsp;');
  document.write('    <a href="../corporate/staff_corner.html" onMouseOver="return ss(\'Staff Corner\')" onMouseOut="return ss(\'\')" class="bottommenu">Staff Corner (For internal use)</a>');
  document.write('  </td>');
  document.write('  <td class="stext" align="right" style="padding-right:10">');
  document.write('     &copy; Copyright 2006 CDW Holding Limited. All Rights Reserved.');
  document.write('  </td>');
  document.write('</tr>');
  document.write('</table>');
}

function SetCookie(cookieName,cookieValue,nDays) {  
  var today = new Date();
  var expire = new Date();
  if (nDays==null || nDays==0) nDays=1;
  expire.setTime(today.getTime() + 3600000*24*nDays);
  document.cookie = cookieName+"="+escape(cookieValue)+";expires="+expire.toGMTString();
}
     
     
function ReadCookie(cookieName) {   
  var theCookie=""+document.cookie;
  var ind=theCookie.indexOf(cookieName);
  if (ind==-1 || cookieName=="") return ""; 
  var ind1=theCookie.indexOf(';',ind);
  if (ind1==-1) ind1=theCookie.length; 
  return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
} 


function parseCommandLine(){
  if (location.href.indexOf("?") == -1) {
    return "";   
  }
  urlQuery = location.href.split("?")
  if(urlQuery[1]!=null){
    result = urlQuery[1];
  }else{
    result = "";
  }
  return result;
}

function goLoc(loc){
  location = loc;
}                     
 
function ss(message){
   window.status=message;
   return true;
}
  


