function  popupWIN(openpage,width,height){
	var title = 'HKSQUASH';
	big_pop=window.open(openpage,title,"width="+width+",height="+height+",resizable=no,scrollbars=no,menubar=no,fullscreen=no");
	big_pop.moveTo(((screen.width-width)/2),((screen.height-height)/2)-20);
	big_pop.focus();
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function showTopContent(){
	document.write('<table width="1000" border="0" cellpadding="0" cellspacing="0" align=center>');
	document.write('	<tr>');
	document.write('		<td>');

	document.write('<table width="1000" border="0" cellspacing="0" cellpadding="0" align=center>');
	document.write('  <tr>');
	document.write('    <td><img name="top01" src="images/top01.jpg" width="240" height="284" border="0" alt=""></td>');
	document.write('    <td><img name="top02" src="images/top02.jpg" width="260" height="284" border="0" alt=""></td>');
	document.write('    <td><img name="top03" src="images/top03.jpg" width="250" height="284" border="0" alt=""></td>');
	document.write('    <td><img name="top04" src="images/top04.jpg" width="250" height="284" border="0" alt=""></td>');
	document.write('  </tr>');
	document.write('</table>');
}



function showFootContent(){
	document.write('<table width="1000" border="0" cellspacing="0" cellpadding="0" align=center>');
	document.write('  <tr>');
	document.write('    <td width="1000" height="119" align="right" valign="bottom" background="images/bg_footer.jpg"><table width="950" border="0" cellspacing="2" cellpadding="0">');
	document.write('        <tr>');
	document.write('          <td width="908"><div align="right" class="style1"><a href="index.html">Home</a> | <a href="programme.html">Conference Programme</a> | <a href="speaker.html">Conference Speakers</a> | <a href="venue.html">Venue &amp; Accommodation</a> | <a href="registration.html">Registration &amp; Fees</a> | <a href="contactus.html">Contact Us</a></div></td>');
	document.write('          <td width="27">&nbsp;</td>');
	document.write('        </tr>');
	document.write('        <tr>');
	document.write('          <td><div align="right" class="style1">This site is best viewed at 1024 x 768 screen resolution. Copyright &copy Hong Kong Squash. All rights reserved.</div></td>');
	document.write('          <td>&nbsp;</td>');
	document.write('        </tr>');
	document.write('      </table></td>');
	document.write('  </tr>');
	document.write('</table>');

	document.write('	</td>');
	document.write('	<td valign=top><img src="images/bg_oly.png">');
	document.write('	</td>');
	document.write('	</tr></table>');
}

function showLeftContent(){
	document.write('<table width="240" border="0" cellspacing="0" cellpadding="0">');
	document.write('      <tr>');
	document.write('        <td><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav01\',\'\',\'images/nav01_f2.jpg\',1);"><img name="nav01" src="images/nav01.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="programme.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav02\',\'\',\'images/nav02_f2.jpg\',1);"><img name="nav02" src="images/nav02.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="speaker.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav03\',\'\',\'images/nav03_f2.jpg\',1);"><img name="nav03" src="images/nav03.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="venue.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav04\',\'\',\'images/nav04_f2.jpg\',1);"><img name="nav04" src="images/nav04.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="registration.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav05\',\'\',\'images/nav05_f2.jpg\',1);"><img name="nav05" src="images/nav05.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav06\',\'\',\'images/nav06_f2.jpg\',1);"><img name="nav06" src="images/nav06.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('      <tr>');
	document.write('        <td><a href="gallery.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'nav07\',\'\',\'images/nav07_f2.jpg\',1);"><img name="nav07" src="images/nav07.jpg" width="240" height="30" border="0" alt=""></a></td>');
	document.write('      </tr>');
	document.write('    </table>');
	document.write('    <br>');
	document.write('      <table width="240" border="0" cellspacing="0" cellpadding="0">');
	document.write('        <tr>');
	document.write('          <td><div align="center"><img src="images/logo01.jpg" alt="" name="logo01" width="76" height="112" hspace="0" vspace="2" border="0"></div></td>');
	document.write('        </tr>');
	document.write('        <tr>');
	document.write('          <td><div align="center"><img src="images/logo02.jpg" alt="" name="logo02" width="169" height="85" vspace="25" border="0"></div></td>');
	document.write('        </tr>');
	document.write('        <tr>');
	document.write('          <td><div align="center"><img src="images/logo03.jpg" alt="" name="logo03" width="192" height="64" vspace="2" border="0"></div></td>');
	document.write('        </tr>');
	document.write('      </table>');
}

