﻿function mainMenu(itemNo){
	document.write("\
	  <td ><a onMouseOver=window.FW_showMenu(window.fw_menu_0,196,155); \
		onMouseOut=MM_swapImgRestore();FW_startTimeout(); \
		href=\""+sitePath+"gioi_thieu/index.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-gioi_thieu");
	if(itemNo == 0) document.write("_f3");
	document.write(".gif\" \
		width=82 border=0 name=topnavcompany alt=\"Gioi thieu\"></a></td>\
	");
	
	document.write("\
	  <td ><a onMouseOver=window.FW_showMenu(window.fw_menu_1,278,155); \
		onMouseOut=MM_swapImgRestore();FW_startTimeout(); \
		href=\""+sitePath+"tin_tuc/index.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-tin_tuc");
	if(itemNo==1) document.write("_f3");
	document.write(".gif\" \
		width=122 border=0 name=topnavcompany alt=\"Tin tuc\"></a></td>\
	");
	
	document.write("\
	  <td ><a onMouseOver=window.FW_showMenu(window.fw_menu_2,402,155); \
		onMouseOut=MM_swapImgRestore();FW_startTimeout(); \
		href=\""+sitePath+"kinh_te/index.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-kinh_te");
	if(itemNo==2) document.write("_f3");
	document.write(".gif\" \
		width=122 border=0 name=topnavcompany alt=\"Kinh te\"></a></td>\
	");
	
	document.write("\
	  <td ><a onMouseOver=window.FW_showMenu(window.fw_menu_3,524,155); \
		onMouseOut=MM_swapImgRestore();FW_startTimeout(); \
		href=\""+sitePath+"van_hoa/index.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-van_hoa");
	if(itemNo==3) document.write("_f3");
	document.write(".gif\" \
		width=162 border=0 name=topnavcompany alt=\"Van hoa\"></a></td>\
	");
	
	document.write("\
	  <td ><a \
		href=\""+sitePath+"lien_ket.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-lien_ket");
	if(itemNo==4) document.write("_f3");
	document.write(".gif\" \
		width=82 border=0 name=topnavcompany alt=\"Lien ket\"></a></td>\
	");
	
	document.write("\
	  <td ><a  \
		href=\""+sitePath+"gioi_thieu/lien_he.htm\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-gop_y");
	if(itemNo==5) document.write("_f3");
	document.write(".gif\" \
		width=82 border=0 name=topnavcompany alt=\"Gop y\"></a></td>\
	");
	
	document.write("\
	  <td ><a  \
		href=\"http://mail.hoiviet-hung.org.vn\"><img height=25 \
		src=\""+sitePath+"assets/images/nav/topnav-myemail");
	if(itemNo==6) document.write("_f3");
	document.write(".gif\" \
		width=82 border=0 name=topnavcompany alt=\"Gop y\"></a></td>\
	");
	
}



function header(itemNo)
{
	if (self.location != top.location) top.location = self.location;
	document.write("\
<table id=Table1 width='100%' cellspacing=0 cellpadding=0 border=0>\
  <tbody> \
  <tr> \
    <td valign=bottom width=195 rowspan=3 bgcolor=#333366>\
		<a href='"+sitePath+"index.htm'><img width=195 border=0\
      src='"+sitePath+"assets/images/headers/header-logo.gif' \
      alt='Hoi Viet-Hung'></a></td>\
	<td height=165>\
		<table width='100%' cellspacing=0 cellpadding=0 border=0>\
			<tr height=95>\
				<td valign=bottom align=middle bgcolor=#333366><img \
					src='"+sitePath+"assets/images/banner.jpg'></td>\
			</tr>\
			<tr height=70>\
				<td background='"+sitePath+"assets/images/headers/header-bg.gif'>\
					<table cellspacing=0 cellpadding=0 border=0>\
						<tr height=36>\
							<td><img height=36 alt='' \
							  src='"+sitePath+"assets/images/headers/header-curve2.gif'\
							  width=40></td>\
						</tr>\
						<tr valign=top> \
							<td align=right width='656' >\
							  <table id=Table3 cellspacing=0 cellpadding=0 width=655>\
								<tbody> \
								<tr> \
							");
	mainMenu(itemNo);
	document.write("\
								</tr>\
								</tbody> \
							  </table>\
							</td>\
						</tr>\
						<tr valign=top> \
							<td width='656'><img height=9 \
							  src='"+sitePath+"assets/images/spacer.gif'\
							  width=1></td>\
						</tr>\
					</table>\
				</td>\
			</tr>\
		</table>\
	</td>\
  </tr>\
  </tbody>\
</table>\
	");
}



function footer()
{
	document.write("\
<TABLE id=Table1 cellSpacing=0 cellPadding=0 width='100%' border=0>\
  <TBODY>\
  <TR>\
    <TD bgColor=#333366><IMG height=1 \
      src='"+sitePath+"assets/images/spacer.gif' \
      width=1 border=0></TD></TR>\
  <TR>\
    <TD width='100%' bgColor=#333366>\
      <TABLE id=Table2 cellSpacing=2 cellPadding=0 width=735 border=0>\
        <TBODY>\
        <TR>\
          <TD class=footer noWrap><NOBR>&nbsp;©2003 Hội hữu nghị Việt-Hung <A \
            class=footer href='"+sitePath+"gioi_thieu/lien_he.htm'>Liên Hệ</A>&nbsp;&nbsp;</NOBR><BR>\
          </TD></TR>\
        <TR>\
          <TD class=footer noWrap>\
            <nobr> &nbsp; Xem \
			<a class='footer' href='"+sitePath+"gioi_thieu/legal.htm'>điều lệ</a> \
			trước khi sử dụng thông tin trong web site này \
			<br><nobr>&nbsp; <a class='footer' href='"+sitePath+"sitemap.htm'>Sơ đồ web site</a>\
          </TD></TR>\
        <TR>\
          <TD bgColor=#333366 colSpan=3><IMG height=1 \
            src='"+sitePath+"assets/images/spacer.gif' \
            width=1 border=0></TD></TR></TBODY></TABLE></TD></TR>\
		<TR>\
    		<TD \
    		background='"+sitePath+"assets/images/footer-bg.gif' \
    		colSpan=3><IMG height=18 \
      		src='"+sitePath+"assets/images/spacer.gif' \
      		width=1 border=0></TD></TR>\
	  </TBODY></TABLE>\
	");
}


function leftPanel(itemNo)
{
	document.write("\
			<br>\
            <br>\
			<p align='justify'>\
            <table width='90%' border='0' cellspacing='0' cellpadding='0'>\
              <tr> \
                <td width='5%'>&nbsp;</td>\
                <td width='5%'>&nbsp;</td>\
                <td width='90%' class='callout'>");
	document.write(folderMenuName);
	document.write("</td>\
              </tr>\
              <tr> \
                <td width='5%'>&nbsp;</td>\
                <td width='5%'>&nbsp;</td>\
                <td width='90%' class='small'>&nbsp;</td>\
              </tr>");
	leftMenu(itemNo);
	document.write("\
            </table>\
			</p>\
            <img height=10 alt='' \
            src='"+sitePath+"assets/images/leftnav_curve.gif' width=171 \
            border=0 name=leftnav_curve> <img height=1 alt='' hspace=0 \
            src='"+sitePath+"assets/images/spacer.gif' width=1 border=0> <br>\
            <img height=1 alt='' hspace=0 \
            src='"+sitePath+"assets/images/spacer.gif' width=1\
            border=0><br>\
			\
            <table cellspacing=0 cellpadding=1 border=0>\
              <form >\
                <tr> \
                  <td rowspan=3><img height=1 alt='' \
                  src='"+sitePath+"assets/images/spacer.gif' width=1 \
                  border=0></td>\
                  <td colspan=2><img height=18 alt='Search' \
                  src='"+sitePath+"assets/images/box-search.gif' \
                  width=55 border=0></td>\
                </tr>\
                <tr> \
                  <td> \
                    <input class=searchInput size=10 name=sp-q>\
                  </td>\
                  <td> \
                    <input type=image height=20 alt=Search hspace=0 width=50 \
                  src='"+sitePath+"assets/images/btn-search.gif' \
                border=0 name='image'>\
                  </td>\
                </tr>\
                <tr> \
                  <td colspan=2><a class=small \
                  href='#'>Tìm kiếm nâng cao</a></td>\
                </tr>\
              </form>\
            </table>\
            <img height=10 alt='' \
            src='"+sitePath+"assets/images/leftnav_curve.gif' width=171 \
            border=0 name=leftnav_curve> <img height=1 alt='' hspace=0 \
            src='"+sitePath+"assets/images/spacer.gif' width=1 border=0> <br>\
            <img height=1 alt='' hspace=0 \
            src='"+sitePath+"assets/images/spacer.gif' width=1\
            border=0><br>\
			<a class='callout' href='http://www.fpt.vn/unicode/unicode.exe'>Font Việt Nam</a><br>\
            <img height=10 alt='' \
            src='"+sitePath+"assets/images/leftnav_curve.gif' width=171 \
            border=0 name=leftnav_curve> <img height=1 alt='' hspace=0 \
            src='"+sitePath+"assets/images/spacer.gif' width=1 border=0> <br>\
           <br>\
            <br>\
            <br>\
            <img height=1 \
            alt='' src='"+sitePath+"assets/images/spacer.gif' width=1 \
            border=0> \
	");
}