function printLeftMenu(selectedPage,language) {
var image_path = "";
var sitemapLang;
var textOnly;
if (language == 1)  {sitemapLang=sitemap;textOnly="Text Only Version";}
if (language == 2)  {image_path = "tc/";sitemapLang=sitemapTC;textOnly="ÁcÅé¯Â¤å¦rª©";}
if (language == 3)  {image_path = "sc/";sitemapLang=sitemapSC;textOnly="¼òÌå´¿ÎÄ×Ö°æ";}
document.write(" 		<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("          <tr>");
document.write("            <td width=\"139\" align=\"right\" valign=\"top\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("              <tr>");
document.write("                <td><img src=\""+rel_path+"/images/spacer.gif\" width=\"18\" height=\"18\" /></td>");
document.write("              </tr>");
document.write("              <tr>");
document.write("                <td>");
if (language != 1) {
document.write("<a href=\"javascript:langChange(1);\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image1611','','"+rel_path+"/images/btn_eng_over.gif',1)\"><img src=\""+rel_path+"/images/btn_eng.gif\" name=\"Image1611\" width=\"38\" height=\"15\" border=\"0\" id=\"Image1611\" /></a>");
} else {
document.write("<img src=\""+rel_path+"/images/btn_eng_over.gif\" width=\"38\" height=\"15\" border=\"0\" />");
}
document.write("<img src=\""+rel_path+"/images/I.gif\" width=\"9\" height=\"15\" />");
if (language != 2) {
document.write("<a href=\"javascript:langChange(2);\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image2511','','"+rel_path+"/images/btn_tc_over.gif',1)\"><img src=\""+rel_path+"/images/btn_tc.gif\" name=\"Image2511\" width=\"29\" height=\"15\" border=\"0\" id=\"Image2511\" /></a>");
} else {
document.write("<img src=\""+rel_path+"/images/btn_tc_over.gif\" width=\"29\" height=\"15\" border=\"0\" />");
}
document.write("<img src=\""+rel_path+"/images/I.gif\" width=\"9\" height=\"15\" />");
if (language != 3) {
document.write("<a href=\"javascript:langChange(3);\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image2411','','"+rel_path+"/images/btn_sc_over.gif',1)\"><img src=\""+rel_path+"/images/btn_sc.gif\" name=\"Image2411\" width=\"29\" height=\"15\" border=\"0\" id=\"Image2411\" /></a>");
} else {
document.write("<img src=\""+rel_path+"/images/btn_sc_over.gif\" width=\"29\" height=\"15\" border=\"0\" />");
}
document.write("                <div class=\"inside_content\" align=\"right\"><a href=\"javascript:txtOnly();\">"+textOnly+"</a></div>");

document.write("                </td>");
document.write("              </tr>");
if (selectedPage != 1) {
document.write("              <tr>");
document.write("                <td height=80 valign=\"bottom\" align=\"left\"><a href=\"javascript:history.go(-1);\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('btn_back','','"+rel_path+"/images/"+image_path+"btn_back_o.gif',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_back.gif\" name=\"btn_back\" border=\"0\" id=\"btn_vack\" /></a></td>");
document.write("              </tr>");
}
document.write("            </table></td>");
document.write("            <td width=\"93\" align=\"right\" valign=\"top\"><img src=\""+rel_path+"/images/"+image_path+"left_v.jpg\" width=\"93\" height=\"165\" /></td>");
document.write("          </tr>");
document.write("          <tr>");
document.write("            <td colspan=\"2\"><table width=\"232\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("              <tr>");
if (selectedPage != 2) {
document.write("                <td align=\"right\"><a href=\""+sitemapLang[2][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image171','','"+rel_path+"/images/"+image_path+"btn_01_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_01.jpg\" name=\"Image171\" width=\"199\" height=\"30\" border=\"0\" id=\"Image171\" /></a></td>");
}else {
document.write("                <td align=\"right\"><a href=\""+sitemapLang[2][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_01_over.jpg\" name=\"Image171\" width=\"199\" height=\"30\" border=\"0\" id=\"Image171\" /></a></td>");
}
document.write("                <td width=\"15\" rowspan=\"8\" background=\""+rel_path+"/images/menu_right.jpg\">&nbsp;</td>");
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 3) {
document.write("                <td><a href=\""+sitemapLang[3][0][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image181','','"+rel_path+"/images/"+image_path+"btn_02_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_02.jpg\" name=\"Image181\" width=\"199\" height=\"30\" border=\"0\" id=\"Image181\" /></a></td>");
}else{
document.write("				<td><a href=\""+sitemapLang[3][0][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_02_over.jpg\" name=\"Image181\" width=\"199\" height=\"30\" border=\"0\" id=\"Image181\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 4) {
document.write("                <td><a href=\""+sitemapLang[4][0][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image191','','"+rel_path+"/images/"+image_path+"btn_03_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_03.jpg\" name=\"Image191\" width=\"199\" height=\"30\" border=\"0\" id=\"Image191\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[4][0][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_03_over.jpg\" name=\"Image191\" width=\"199\" height=\"30\" border=\"0\" id=\"Image191\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 7) {
document.write("                <td><a href=\""+sitemapLang[7][0][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image201','','"+rel_path+"/images/"+image_path+"btn_04_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_04.jpg\" name=\"Image201\" width=\"199\" height=\"30\" border=\"0\" id=\"Image201\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[7][0][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_04_over.jpg\" name=\"Image201\" width=\"199\" height=\"30\" border=\"0\" id=\"Image201\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 8) {
document.write("                <td><a href=\""+sitemapLang[8][0][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image211','','"+rel_path+"/images/"+image_path+"btn_05_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_05.jpg\" name=\"Image211\" width=\"199\" height=\"30\" border=\"0\" id=\"Image211\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[8][0][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_05_over.jpg\" name=\"Image211\" width=\"199\" height=\"30\" border=\"0\" id=\"Image211\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 9) {
document.write("                <td><a href=\""+sitemapLang[9][0][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image221','','"+rel_path+"/images/"+image_path+"btn_06_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_06.jpg\" name=\"Image221\" width=\"199\" height=\"30\" border=\"0\" id=\"Image221\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[9][0][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_06_over.jpg\" name=\"Image221\" width=\"199\" height=\"30\" border=\"0\" id=\"Image221\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 10) {
document.write("                <td><a href=\""+sitemapLang[10][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image231','','"+rel_path+"/images/"+image_path+"btn_07_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_07.jpg\" name=\"Image231\" width=\"199\" height=\"30\" border=\"0\" id=\"Image231\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[10][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_07_over.jpg\" name=\"Image231\" width=\"199\" height=\"30\" border=\"0\" id=\"Image231\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
if (selectedPage != 11) {
document.write("                <td><a href=\""+sitemapLang[11][1]+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image241','','"+rel_path+"/images/"+image_path+"btn_08_over.jpg',1)\"><img src=\""+rel_path+"/images/"+image_path+"btn_08.jpg\" name=\"Image241\" width=\"199\" height=\"30\" border=\"0\" id=\"Image241\" /></a></td>");
}else {
document.write("                <td><a href=\""+sitemapLang[11][1]+"\"><img src=\""+rel_path+"/images/"+image_path+"btn_08_over.jpg\" name=\"Image241\" width=\"199\" height=\"30\" border=\"0\" id=\"Image241\" /></a></td>");
}
document.write("              </tr>");
document.write("              <tr align=\"right\">");
document.write("                <td valign=\"top\"><img src=\""+rel_path+"/images/"+image_path+"menu_bottom.jpg\" width=\"199\" height=\"3\" /></td>");
document.write("              </tr>");
document.write("            </table></td>");
document.write("          </tr>");
document.write("        </table>");
}


function langChange(language){
	
	if (language == 1) {
		var curr_href = window.location.href;
		curr_href=curr_href.replace("/sc/","/");
		curr_href=curr_href.replace("/tc/","/");
		
		window.location = curr_href;
	}
	if (language == 2) {
		var curr_path = window.location.pathname.toString();
		curr_path=curr_path.replace(rel_path,"");
		curr_path=curr_path.replace("/tc/","/");
		curr_path=curr_path.replace("/sc/","/");
		curr_path = ""+rel_path+"/tc"+curr_path;
		window.location = curr_path;
	}
	if (language == 3) {
		var curr_path = window.location.pathname.toString();
		curr_path=curr_path.replace(rel_path,"");
		curr_path=curr_path.replace("/tc/","/");
		curr_path=curr_path.replace("/sc/","/");
		curr_path = ""+rel_path+"/sc"+curr_path;
		window.location = curr_path;
	}
}

function leftmenuitemTxt(selectedPage, language) {
	var sitemapLang;
	var btn_back;
	if (language == 1)  {sitemapLang=sitemap;btn_back="&lt; Back";}
	if (language == 2)  {sitemapLang=sitemapTC;btn_back="&lt; ªð¦^";}
	if (language == 3)  {sitemapLang=sitemapSC;btn_back="&lt; ·µ»Ø";}
	if (selectedPage != 1) { 
		document.write ("<a href=\"javascript:history.go(-1);\">"+btn_back+"</a>");
	}
	document.write("<br />");
	if (selectedPage != 2) { 
		printLink(sitemapLang[2],false);
	} else {
		printLinkCSS(sitemapLang[2],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 3) { 
		printLink(sitemapLang[3][0],false);
	} else {
		printLinkCSS(sitemapLang[3][0],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 4) { 
		printLink(sitemapLang[4][0],false);
	} else {
		printLinkCSS(sitemapLang[4][0],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 7) { 
		printLink(sitemapLang[7][0],false);
	} else {
		printLinkCSS(sitemapLang[7][0],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 8) { 
		printLink(sitemapLang[8][0],false);
	} else {
		printLinkCSS(sitemapLang[8][0],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 9) { 
		printLink(sitemapLang[9][0],false);
	} else {
		printLinkCSS(sitemapLang[9][0],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 10) { 
		printLink(sitemapLang[10],false);
	} else {
		printLinkCSS(sitemapLang[10],false, 'color: #000000;');
	}
	document.write("<br />");
	if (selectedPage != 11) { 
		printLink(sitemapLang[11],false);
	} else {
		printLinkCSS(sitemapLang[11],false, 'color: #000000;');
	}
	
}