function GetHeader(_Page)
{
  var _header, _menu, _marq;
  _header =  '<table height="60" width="100%"> <tbody> <tr> ';
  _header += '<td background="images/bg/top_band.gif" height="60" width="30%"></td> ';
  _header += '<td height="60" width="40%"><img src="images/bb_logo.gif" width="100%" height="60" alt="Best Buy Computers (S) Pte Ltd."></td> ';
  _header += '<td background="images/bg/top_band.gif" height="60" width="30%"></td> ';
  _header += '</tr> </tbody> </table> ';
  
  _menu  = '<table background="images/bg/db.gif" align="center" cellpadding="0" cellspacing="0"> ';
  _menu += '<tbody> <tr> ';
  if ( _Page == 'h' )
  {
      _menu += '<td class="MS" align="center" nowrap="nowrap" valign="middle" width="20%">Home</td> ';
}
  else
{
      _menu += '<td class="MN" onmouseover="MouseOver()" onmouseout="MouseOut()" align="center" nowrap="nowrap" valign="middle" width="20%"><a href="index.html">Home</a></td> ';
}
  _menu += '<td class="MSP"></td> ';
  if ( _Page == 'p' )
{
      _menu += '<td class="MS" align="center" nowrap="nowrap" valign="middle" width="20%">Products</td> ';
}
  else
{
      _menu += '<td class="MN" onmouseover="MouseOver()" onmouseout="MouseOut()" align="center" nowrap="nowrap" valign="middle" width="20%"><a href="products.html">Products</a></td> ';
} 
 _menu += '<td class="MSP"></td> ';
    if ( _Page == 'r' )
{
      _menu += '<td class="MS" align="center" nowrap="nowrap" valign="middle" width="20%">Registration</td> ';
}
  else
{
      _menu += '<td class="MN" onmouseover="MouseOver()" onmouseout="MouseOut()" align="center" nowrap="nowrap" valign="middle" width="20%"><a href="register.html">Registration</a></td> ';
}
  _menu += '<td class="MSP"></td> ';
  if ( _Page == 'd' )
{
      _menu += '<td class="MS" align="center" nowrap="nowrap" valign="middle" width="20%">Downloads</td> ';
}
  else
{
      _menu += '<td class="MN" onmouseover="MouseOver()" onmouseout="MouseOut()" align="center" nowrap="nowrap" valign="middle" width="20%"><a href="downloads.html">Downloads</a></td> ';
}
  _menu += '<td class="MSP"></td> ';
  if ( _Page == 'a' )
{
      _menu += '<td class="MS" align="center" nowrap="nowrap" valign="middle" width="20%">About Us</td> ';
}
  else
{
      _menu += '<td class="MN" onmouseover="MouseOver()" onmouseout="MouseOut()" align="center" nowrap="nowrap" valign="middle" width="20%"><a href="about.html">About Us</a></td> ';
}
  _menu += '</tr> </tbody> </table> <br>';
  
  _marq = '<marquee class="MQ" align="middle">** We are SOLE DISTRIBUTORS of TULIP ** ';
  _marq += 'We also deal in Genuine Intel Processors / Intel Motherboards ** ';
  _marq += 'AMD Processors / AMD Motherboards ** Segate Hard Disks ** ';
  _marq += 'Samsung Floppy Disks / Hard Disks / CDROM / CDRW / DVDROM / DVDRW ** ';
  _marq += 'Sony Floppy Drive / CDROM / CDRW / DVDROM / DVDRW **</marquee> &nbsp; ';

  _header += _menu + _marq;
  document.write(_header);
}


function GetFooter()
{
	var _footer;
	_footer  = '<br><table class="FS" border="0" cellpaddin="0" cellspacing="0" height="20px"> ';
	_footer += '<tr> <td class="FA" border="0" width="10%"><a href="contact.html">Contact Us</a></td> ';
	_footer += '<td class="MSP"></td> ';
	_footer += '<td class="FA" border="0" width="15%"><a href="privacy.html">Privacy Statement</a></td> ';
	_footer += '<td class="MSP"></td> ';
	_footer += '<td class="FA" border="0" width="10%"><a href="terms.html">Terms of Use</a></td> ';		
	_footer += '<td class="MSP"></td> ';
	_footer += '<td class="FS" border="0" align="right" width="65%">&copy; 2004 Best Buy Computers (S) Pte Ltd. All rights reserved.</td></tr> </table> ';			
	_footer += '<div align="center"><h6>This site has been designed by <a style="color: #000000" href="mailto:fahimbhamla@hotmail.com">Fahim H.H. Bhamla</a></h6></div> ';
	document.write(_footer);
}

