function header(where) {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
		document.write('<td><a href="index.html"><img src="images/head/head11.jpg" border="0" width="219" height="119"></a></td>');
		document.write('<td><img src="images/head/head12.jpg" border="0" width="194" height="119"></td>');
		document.write('<td><img src="images/head/head13.jpg" border="0" width="140" height="119" use_map="#head3"></td>');
		document.write('<td background="images/head/head14-2.jpg" width="447" height="119" valign="bottom">');
			document.write('<table width="383" border="0" cellspacing="0" cellpadding="0" align="right">');
			document.write('<tr>');
				document.write('<td>');
					document.write('<table width="368" border="0" cellspacing="0" cellpadding="0">');
					document.write('<tr><td colspan="3"><img src="images/common/spacer.gif" border="0" width="1" height="10"></td></tr>');
					document.write('<tr>');
						document.write('<td><img src="images/head/head15-tl.jpg" border="0" width="10" height="10"></td>');
						document.write('<td bgcolor="#266388"><img src="images/common/spacer.gif" border="0" width="348" height="10"></td>');
						document.write('<td><img src="images/head/head15-tr.jpg" border="0" width="10" height="10"></td>');
					document.write('</tr>');
					document.write('<tr>');
						document.write('<td bgcolor="#266388"><img src="images/common/spacer.gif" border="0" width="10" height="26"></td>');
						document.write('<td bgcolor="#266388" align="center">');
							document.write('<table border="0" cellspacing="0" cellpadding="0">');
							document.write('<tr>');
								
								if (where == 'index') {
									document.write('<td class="white"><a href="pre-register.html" class="whitelinelink">Visitor Pre-registration</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="replyform.html" class="whitelinelink">Reply Form</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="contactus.html" class="whitelinelink">Contact Us</a></td>');
								} else {
									document.write('<td class="white"><a href="pre-register.html" class="whitelinelink">Visitor Pre-registration</a> | <a href="replyform.html" class="whitelinelink">Reply Form</a> | <a href="contactus.html" class="whitelinelink">Contact Us</a> | <a href="index.html" class="whitelinelink">Home</a></td>');
								}

							document.write('</tr>');
							document.write('<tr>');
								document.write('<td><img src="images/common/spacer.gif" border="0" width="1" height="5"></td>');
							document.write('</tr>');
							document.write('</table>');
						document.write('</td>');
						document.write('<td bgcolor="#266388"><img src="images/common/spacer.gif" border="0" width="10" height="26"></td>');
					document.write('</tr>');
					document.write('</table>');
				document.write('</td>');
				document.write('<td><img src="images/common/spacer.gif" border="0" width="15" height="1"></td>');
			document.write('</tr>');
			document.write('</table>');
		document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('<map name="head3"><area shape="rect" coords="5,4,161,114" href="anex09.html" target="_blank"></map>');
	document.write('<map name="head4"><area shape="rect" coords="72,84,176,119" href="replyform.html"><area shape="rect" coords="176,84,280,119" href="contactus.html"></map>');
}

function topmenu() {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CCCC66">');
	document.write('<tr><td><img src="images/common/spacer.gif" border="0" width="1" height="37"></td></tr>');
	document.write('</table>');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td><img src="images/common/spacer.gif" border="0" width="1" height="1"></td></tr>');
	document.write('</table>');
}

function topbanner() {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
		document.write('<td><img src="images/content/ban_tl2.jpg" border="0" width="766" height="102"></td>');
		document.write('<td><a href="nwm/rate-index.html" target="_blank"><img src="images/content/ban_tr.jpg" border="0" width="233" height="102"></a></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td><img src="images/common/spacer.gif" border="0" width="1" height="30"></td></tr>');
	document.write('</table>');
}

function rightbanner() {
	document.write('<td width="41" valign="top"><img src="images/common/spacer.gif" border="0" width="41" height="1"></td>');
	document.write('<td width="1" valign="top"><img src="images/common/spacer.gif" border="0" width="1" height="1"></td>');
	document.write('<td width="218" valign="top">');		
		document.write('<table border="0" cellspacing="0" cellpadding="0" align="right">');
		document.write('<tr><td colspan="3" bgcolor="#808080"><img src="images/common/spacer.gif" border="0" width="1" height="1"></td></tr>');
		document.write('<tr>');
			document.write('<td bgcolor="#808080"><img src="images/common/spacer.gif" border="0" width="1" height="1"></td>');
			document.write('<td><a href="nwm/rate-index.html" target="_blank"><img src="images/content/nwmcoverban_side.gif" border="0"></a></td>');
			document.write('<td bgcolor="#808080"><img src="images/common/spacer.gif" border="0" width="1" height="1"></td>');
		document.write('</tr>');
		document.write('<tr><td colspan="3" bgcolor="#808080"><img src="images/common/spacer.gif" border="0" width="1" height="1"></td></tr>');
		document.write('</table>');		
	document.write('</td>');
	document.write('<td width="15" valign="top"><img src="images/common/spacer.gif" border="0" width="15" height="1"></td>');
}

function footer() {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td><img src="images/common/spacer.gif" border="0" width="1" height="30"></td></tr>');
	document.write('</table>');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
		document.write('<td width="41" valign="top"><img src="images/common/spacer.gif" border="0" width="41" height="1"></td>');
		document.write('<td width="959" valign="top" class="copyright">Copyright &copy; <a href="http://www.ubmasia.com.sg/" target="_blank" class="copyrightlink">UBM Asia</a>. Designed & Maintained by <a href="http://www.pentacle.com.sg/" target="_blank" class="copyrightlink">Pentacle Ideation</a>. All Rights Reserved.</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td><img src="images/common/spacer.gif" border="0" width="1" height="10"></td></tr>');
	document.write('</table>');
}