function createCounselingMenu(mainMenu,subMenu)
{
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="2">');

	if (mainMenu == 1) // America
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"> <b>America</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"> <b>Pick your program</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><a href="usa.html" class="left_menu"> Pick your program</a></font></td></tr>');

		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><b> หลักสูตรภาษาอังกฤษ </b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><a href="usa2.html" class="left_menu"> หลักสูตรภาษาอังกฤษ </a></font></td></tr>');
		if (subMenu == 3)
			document.write('		            <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><b> ระบบการศึกษา</b></font></td></tr>');
		else
	        document.write('		            <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><a href="usa3.html" class="left_menu"> ระบบการศึกษา</a></font></td></tr>');
		if (subMenu == 4)
			document.write('                    <tr><td><b><font face="MS Sans Serif, thonburi" size="1"><img height=10 src="../images/spacer.gif" width=50><img height=10 src="../images/ic-dot.gif" width=9></font></b><font face="MS Sans Serif, thonburi" size="1"><b> Internship</b></font></td></tr>');
		else
			document.write('                    <tr><td><b><font face="MS Sans Serif, thonburi" size="1"><img height=10 src="../images/spacer.gif" width=50><img height=10 src="../images/ic-dot.gif" width=9></font></b><font face="MS Sans Serif, thonburi" size="1"><a href="usa4.html" class="left_menu"> Internship</a></font></td></tr>');
		if (subMenu == 5)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><b> College &amp; University</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><a href="usa5.html" class="left_menu"> College &amp; University</a></font></td></tr>');
//		document.write('                    <!--<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><img src="../images/ic-dot.gif" width="9" height="10"><a href="../UNH/index.html" class="left_menu">UNIVERSITY <br><img src="../images/spacer.gif" width="60" height="10" border="0">OF NEW HAVEN</a></font></td></tr>-->');
//		if (subMenu == 6)
//			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><b> Private High School</b></font></td></tr>');
//		else
//			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><a href="/2_Culture_Exchange/th/privateHighSchool.html" class="left_menu"> Private High School</a></font></td></tr>');
		document.write('            	<tr><td><font face="MS Sans Serif, thonburi" size="1" class="left_menu"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><a href="/2_Culture_Exchange/th/privateHighSchool.html" class="left_menu"> Private High School</a></font></td></tr>');
		if (subMenu == 7)
			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><b> Kansus State U.</b></font></td></tr>');
		else
			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><a href="usa_kansus.html" class="left_menu"> Kansus State U.</a></font></td></tr>');
		if (subMenu == 8)
			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><b> Edmonds</b></font></td></tr>');
		else
			document.write('            <tr><td><font face="MS Sans Serif, thonburi" size="1"><IMG height=10 src="../images/spacer.gif" width=50><IMG height=10 src="../images/ic-dot.gif" width=9><a href="usa_edmonds.html" class="left_menu"> Edmonds</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
		//document.write('                    <tr><td> <hr width="145" noshade align="right" size="1"> </td></tr>');
	}
	else
	{
		document.write('<tr> ');
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="usa.html" class="left_menu">America</a></font></td>');
		document.write('</tr>');
	}
	if (mainMenu == 2) // Canada
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> Canada</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ข้อมูลทั่วไป</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="canada.html" class="left_menu"> ข้อมูลทั่วไป</a></font></td></tr>');
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10">ศึกษาผู้ช่วยส่วนตัว</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="canada_rb1.html" class="left_menu"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10" border="0">ศึกษาผู้ช่วยส่วนตัว</a></font></td></tr>');
		if (subMenu == 3)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10">ศึกษาด้านการดูแลเด็กเล็ก</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="canada_rb2.html" class="left_menu"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10" border="0">ศึกษาด้านการดูแลเด็กเล็ก</a></font></td></tr>');
		if (subMenu == 4)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10">ศึกษาด้านการทำอาหาร</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="canada_rb3.html" class="left_menu"> โปรแกรมการ<img src="../images/spacer.gif" width="55" height="10" border="0">ศึกษาด้านการทำอาหาร</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="canada.html" class="left_menu">Canada</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 3) // UK
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> United Kingdom</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ข้อมูลทั่วไป</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="uk.html" class="left_menu"> ข้อมูลทั่วไป</a></font></td></tr>');
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> Geography</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="uk_geo.html" class="left_menu"> Geography</a></font></td></tr>');
		if (subMenu == 3)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ระบบการศึกษา</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="uk_edu.html" class="left_menu"> ระบบการศึกษา</a></font></td></tr>');
		if (subMenu == 4)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> Work &amp; Study</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="workStudy00.html" class="left_menu"> Work &amp; Study</a></font></td></tr>');
		if (subMenu == 5)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> U. of Sunderland</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="uk_sunderland.html" class="left_menu"> U. of Sunderland</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="uk.html" class="left_menu">United Kingdom</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 4) // Swizerland
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> Swizerland</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ข้อมูลทั่วไป</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="swizerland.html" class="left_menu"> ข้อมูลทั่วไป</a></font></td></tr>');
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> วิชาการโรงแรม</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="swizerland_hotelEdu.html" class="left_menu"> วิชาการโรงแรม</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="swizerland.html" class="left_menu">Swizerland</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 5) // Australia
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> Australia</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> แนะนำ Australia </b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="aus.html" class="left_menu"> แนะนำ Australia </a></font></td></tr>');		
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> ระบบการศึกษา</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="aus2.html" class="left_menu"> ระบบการศึกษา</a></font></td></tr>');
		if (subMenu == 3)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"> <font face="MS Sans Serif, thonburi" size="2"><b> ค่าใช้จ่ายโดยประมาณ</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"> <font face="MS Sans Serif, thonburi" size="2"><a href="aus3.html" class="left_menu"> ค่าใช้จ่ายโดยประมาณ</a></font></td></tr>');
		if (subMenu == 4)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> Work &amp; Study</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="workStudy00.html" class="left_menu"> Work &amp; Study</a></font></td></tr>');
		if (subMenu == 5)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> AIT</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="aus_ait.html" class="left_menu"> AIT</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr> ');
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="aus.html" class="left_menu">Australia</a></font></td>');
		document.write('</tr>');
	}
    
	if (mainMenu == 6) // new zealand
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> New Zealand</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ระบบการศึกษา</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="nz.html" class="left_menu"> ระบบการศึกษา</a></font></td></tr>');
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> ค่าใช้จ่ายโดยประมาณ</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="nz2.html" class="left_menu"> ค่าใช้จ่ายโดยประมาณ</a></font></td></tr>');
		if (subMenu == 3)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> Work &amp; Study</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="workStudy00.html" class="left_menu"> Work &amp; Study</a></font></td></tr>');
		if (subMenu == 4)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> D &amp; A College</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="nz_danda.html" class="left_menu"> D &amp; A College</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="nz.html" class="left_menu">New Zealand</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 7) // Singapore
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> Singapore</b></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="singapore.html" class="left_menu">Singapore</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 10) // Japan
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> Japan</b></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="japan.html" class="left_menu">Japan</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 11) // China
	{
		document.write('<tr><td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="35" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> China</b></font></td></tr>');
		if (subMenu == 1)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><b><font face="MS Sans Serif, thonburi" size="2"> ข้อมูลทั่วไป</font></b></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="china_00.html" class="left_menu"> ข้อมูลทั่วไป</a></font></td></tr>');
		if (subMenu == 2)
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><b> ระบบการศึกษา</b></font></td></tr>');
		else
			document.write('                    <tr><td><font face="MS Sans Serif, thonburi" size="2"><img src="../images/spacer.gif" width="50" height="10"></font><img src="../images/ic-dot.gif" width="9" height="10"><font face="MS Sans Serif, thonburi" size="2"><a href="china_01.html" class="left_menu"> ระบบการศึกษา</a></font></td></tr>');
		document.write('                    <tr><td>&nbsp;</td></tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"><a href="china_00.html" class="left_menu">China</a></font></td>');
		document.write('</tr>');
	}

	if (mainMenu == 8) // VISA
	{
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="/images/spacer.gif" width="50" height="10"><img src="../images/gp004.gif" width="9" height="10"><b> VISA</b></font></td>');
		document.write('</tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="/images/spacer.gif" width="50" height="10"><a href="visa.html" class="left_menu" target="_blank">VISA</a></font></td>');
		document.write('</tr>');
	}
	
	if (mainMenu == 9) // Fee Comparison
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="/images/spacer.gif" width="50" height="10"><img src="../images/gp004.gif" width="9" height="10"><b>Fee Comparison</b></font></td>');
		document.write('</tr>');
	}
	else
	{
		document.write('<tr>'); 
		document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="/images/spacer.gif" width="50" height="10"><a href="cprice.html" class="left_menu" target="_blank">Fee Comparison</a></font></td>');
		document.write('</tr>');
	}

	
	
    document.write('<tr>'); 
    document.write('<td>&nbsp;</td>');
    document.write('</tr>');
	document.write('<tr>'); 
    document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"></font><font face="MS Sans Serif, thonburi" size="2"><b><font size="1">Application Form</font></b></font> </td>');
    document.write('</tr>');
	document.write('<tr>'); 
    document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"></font><font face="MS Sans Serif, thonburi" size="2"><b><a href="Application.html" class="photo"><font size="1">- Online</font></a></b></font> </td>');
    document.write('</tr>');
    document.write('<tr>'); 
    document.write('<td><font face="MS Sans Serif, thonburi" size="1"><img src="../images/spacer.gif" width="50" height="10"></font><font face="MS Sans Serif, thonburi" size="2"><b><a href="AppformCounseling.doc" class="photo"><font size="1">- Download</font></a></b></font> </td>');
    document.write('</tr>');
    document.write('<tr>'); 
    document.write('<td>&nbsp;</td>');
    document.write('</tr>');
    document.write('</table>');

}