//---------------------------- for horizontal menu -------------------------------------------
 var strNav_Menu = '<tr><td background="' + strCodeBase + 'images/common/bluebar.gif" style="height:4px"></td></tr>';
     strNav_Menu = strNav_Menu + '<tr><td height="21" bgcolor="#89927F">';
     strNav_Menu = strNav_Menu + '<div id="MenuPos" style="position:absolute;HEIGHT:19px">';

 var strEndNav_Menu = '</div></td></tr>';
 
//---------------------------------------------------------------------------------------------

//----------------------------for header ------------------------------------------------------

var stContact_Img  = "'Image1','','" + strCodeBase + "images/common/t_contact_h.gif',1";
var stFeedback_Img = "'Image2','','" + strCodeBase + "images/common/t_feedback_h.gif',1";
var stSitemap_Img  = "'Image3','','" + strCodeBase + "images/common/nav/t_sitemap_h.gif',1";
var stFAQ_Img  = "'Image4','','" + strCodeBase + "images/common/nav/t_faq_h.gif',1";

document.write('<table border="0" cellspacing=0 cellpadding=0 width="760" bgcolor="#F7F7F7">');
document.write('<tr><td align="left" valign="top"><a href="http://www.singstat.gov.sg"><img src="'+ strCodeBase + 'images/common/new_stats_logo.gif" alt="STATISTICS SINGAPORE" border="0"></a>');
document.write('</td><td align="right" valign="top">');
document.write('<table border="0" cellspacing=0 cellpadding=0 height="100%"><tr>');
document.write('<td  height="100%"><a href="http://www.gov.sg"><img src="'+ strCodeBase + 'images/common/sg.gif" border="0" alt="SG GOV" align="right" width="233" height="35"></a></td>');
document.write('</tr><tr><td align="right" valign="bottom"  height="49" >');
document.write('<table border="0" cellspacing=0 cellpadding=0><tr>');
document.write('<td rowspan="2" height="49" align="right" ></td>');

document.write('<td align="right" ><a href="'+ strCodeBase + 'contact/contact.html" target="_self" onMouseOver="MM_swapImage('+ stContact_Img +')" onMouseOut="MM_swapImgRestore()"><img src="'+ strCodeBase + 'images/common/t_contact.gif" alt="Contact Info" name="Image1" width="79" height="21" border="0" id="Image1"></a>');
document.write('<img src="'+ strCodeBase + 'images/common/dot.gif" width="10" height="21" border="0">');
document.write('<a href="'+ strScriptBase + 'feedback/feedback/feedback.asp" onMouseOver="MM_swapImage('+ stFeedback_Img +')" onMouseOut="MM_swapImgRestore()"><img src="'+ strCodeBase +'images/common/t_feedback.gif" alt="Feedback" name="Image2" width="63" height="21" border="0" id="Image2"></a>');
document.write('<img src="'+ strCodeBase + 'images/common/dot.gif" width="10" height="21" border="0">');
document.write('<a href="'+ strCodeBase + 'sitemap/sitemap.html" onMouseOver="MM_swapImage('+ stSitemap_Img +')" onMouseOut="MM_swapImgRestore()"><img src="'+ strCodeBase + 'images/common/nav/t_sitemap.gif" alt="Sitemap" name="Image3" width="56" height="21" border="0" id="Image3"></a>');

document.write('<img src="'+ strCodeBase + 'images/common/dot.gif" width="10" height="21" border="0">');
document.write('<a href="http://www.ifaq.gov.sg/singstat" target="_blank" onMouseOver="MM_swapImage('+ stFAQ_Img +')" onMouseOut="MM_swapImgRestore()"><img src="'+ strCodeBase + 'images/common/nav/t_faq.gif" alt="FAQ" name="Image4" width="30" height="21" border="0" id="Image4"></a></td>');

document.write('</tr><tr><td height="30" valign="top">');

//Google Search Box Start

document.write('<!-- Search Google -->');
document.write('<TABLE border=0 bgcolor=#F7F7F7 cellspacing=0 cellpadding=0 border=0 height="50" align="center">');
document.write('<FORM name="frmGoogleSearch" method=GET target="blank" action=http://www.google.com/cse>');
document.write('<tr valign=top>');
document.write('<td valign="center" class="search_text">');
document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="'+ strCodeBase + 'images/common/google.gif" alt="Search" align="absmiddle">&nbsp;');
document.write('</td>');
document.write('<td style="padding-bottom:2px" valign="bottom" align="right" width"50%" class="search_text" height="25">');
document.write('<INPUT TYPE=text name=q size=26 maxlength=255 value="">');
document.write('</td>');
document.write('<td valign="middle" align="right" class="search_text" height="25">');
document.write('&nbsp;<input type=image src="'+ strCodeBase + 'images/common/go.gif" onClick="javaSc'+'ript: document.frmGoogleSearch.submit();" alt="Go" height="25" width="30">');
document.write('</td>');
document.write('</tr>');
document.write('<tr height="">');
document.write('<td align="right" valign="top" class="search_text" colspan="3">');
document.write('<table border=0 cellpadding="0" cellspacing="0" width="100%" align="right" >');
document.write('<tr>');
document.write('<td align="right" valign="top" class="search_text"><input type=radio style="background-color:#F7F7F7;"  name=cx value="006524738387304832746:dcudfh9pcou" checked></td><td align="right" valign="middle" class="search_text" width="4">Singstat</td><td align="right" valign="middle" class="search_text"><input type=radio style="background-color:#F7F7F7" name=cx value="006524738387304832746:yqrxzhlskt8"&"></td><td align="left"  class="search_text" width="157">All Singapore Gov Websites</td>');
document.write('<input type=hidden name=domains value="www.singstat.gov.sg">');
document.write('<INPUT type=hidden name=cof VALUE="S:http://www.singstat.gov.sg;GL:0;AH:center;BGC:white;LH:104;L:http://www.singstat.gov.sg/images/common/new_stats_logo.gif;LW:275;T:#1789A3;AWFID:38a9925c52ba739a;">');
document.write('</tr></table>');

document.write('</td>');
document.write('</tr>');
document.write('</FORM>');
document.write('</TABLE>');
document.write('<!-- Search Google -->');

// Google Search Box End


//Shine Web Search Start

//document.write('<!-- Search Web -->');
//document.write('<TABLE border=0 bgcolor=#F7F7F7 cellspacing=0 cellpadding=0  align="center">');
//document.write('<form name="formWebSearch" method="get" action="http://web4.internet.gov.sg/scripts/singstat/search1.asp">');
//document.write('<form name="formWebSearch" method="get" action="http://dev.wph.com.sg/mti_dos/current/asp/asp/search1.asp">');
//document.write('<tr valign=top>');
//document.write('<td valign="center" class="search_text">');
//document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="'+ strCodeBase + 'images/common/search.gif" alt="Search" align="absmiddle">&nbsp;');
//document.write('</td>');
//document.write('<td style="padding-bottom:2px" valign="bottom" align="right" width"50%" class="search_text" height="25">');
//document.write(' <input type="text" name="q1" size=23 maxlength=255 value="">');
//document.write('</td>');
//document.write('<td valign="middle" align="right" class="search_text" height="25">');
//document.write('&nbsp;<input type=image src="'+ strCodeBase + 'images/common/go.gif" onClick="javaSc'+'ript: document.frmWebSearch.submit();" alt="Go" height="25" width="30">');
//document.write('<input type="hidden" name="ct" value="singstat"></td>');
//document.write('</tr>');
//document.write('<tr style="height:3px;">');
//document.write('<td align="right" valign="top" class="search_text" colspan="3">');
//document.write('<table border=0 cellpadding="0" cellspacing="0" width="80%" align="right" >');
//document.write('<tr>');
//document.write('<td align="right" valign="top" class="search_text">&nbsp;</td>');
//document.write('</td>');
//document.write('</tr></table>');

//document.write('</td>');
//document.write('</tr>');
//document.write('</FORM>');
//document.write('</TABLE>');
//document.write('<!-- Search Web -->');

//Shine Web Search End

document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

