function hideSubCat(subCatId) {
	var oNodeShow = document.getElementById(subCatId);
	oNodeShow.style.visibility = "hidden";
}
		
function showSubCat(subCatId) {
	var oNodeShow = document.getElementById(subCatId);
	oNodeShow.style.visibility = "visible";
}
//get the offsetTop of an element 
function getOSLeft(id){ 
     var i=0; 
     var obj = document.getElementById(id); 
     if (obj){ 
         i = obj.offsetLeft; 
          
         while(obj.offsetParent){ 
             obj = obj.offsetParent; 
             i += obj.offsetLeft; 
         } 
     } 
     //window.status += id +':' + i + ' '; 
     return i; 
 }
 
altered = false;
function alterMenu() {
	var CFName
	CFName = document.URL
	CFName = CFName.substring( CFName.lastIndexOf("/")+1,CFName.length + 1)
	var osleft = getOSLeft("menu_table");
	var smenu = document.getElementById("supplement_table01");
	var smenu2 = document.getElementById("supplement_table02");
	if ( CFName.indexOf("_e") > 0 ){
		smenu.style.left = osleft + 200;
		smenu.style.top = 63;
		smenu2.style.left = osleft + 470;
		smenu2.style.top = 63;
		
	}else{
		smenu.style.left = osleft + 200;
		smenu.style.top = 60;
		smenu2.style.left = osleft + 570;
		smenu2.style.top = 60;
	}
	altered = true;
}

var CFName
CFName = document.URL
CFName = CFName.substring( CFName.lastIndexOf("/")+1,CFName.length + 1)

if ( CFName.indexOf("_e") > 0 ){
	CFName = CFName.replace('_e','_c')
		document.write("<table border=0 cellpadding=0 cellspacing=0 id=\"menu_table\" name=\"menu_table\">")
		document.write("<tr>")
		document.write("<td align=center width=160><a href=\"loty_e_about.html\" class=menu>Sing Tao<br>Newspaper Group</a></td>")
		document.write("<td width=23 align=center><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=160 align=center class=menu onMouseOver=\"showSubCat('supplement_table01')\" onMouseOut=\"hideSubCat('supplement_table01')\">Introduction<br>on LOTY")
			document.write("<table class=\"menu01\" id=\"supplement_table01\" name=\"supplement_table01\" cellspacing=\"1\" cellpadding=\"2\" style=\"width: 100px; height: 24px; left: 220px; top: 60px\">")
			document.write("<tr>")
			document.write("<td><a href=\"loty_e_intro_1.html\">Introduction & Objectives</a></td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td><a href=\"loty_e_intro_2.html\">Judging Criteria & Judging Mechanism</a></td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td><a href=\"loty_e_intro_3.html\">Past LOTY Winners</a></td>")
			document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
		document.write("<td width=11 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=100 align=center ><a href=\"loty_e_hightlight09_1.html\" class=menu>LOTY 2009</a></td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=200 align=center class=menu onMouseOver=\"showSubCat('supplement_table02')\" onMouseOut=\"hideSubCat('supplement_table02')\">Highlights of Previous<br>LOTY Events")
			document.write("<table class=\"menu02\" id=\"supplement_table02\" name=\"supplement_table02\" cellspacing=\"1\" cellpadding=\"2\" style=\"width: 160px; height: 24px; left: 500px; top: 60px\">")
			document.write("<tr>")
			document.write("<td>LOTY 2004</a><br>")
			document.write("　　<a href=\"loty_e_hightlight04_1.html\">Overivew</a><br>")
			document.write("　　<a href=\"loty_e_hightlight04_2.html\">Video</a><br>")
			document.write("　　<a href=\"loty_e_hightlight04_3.html\">News Clipping</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>LOTY 2005<br>")
			document.write("　　<a href=\"loty_e_hightlight05_1.html\">Overivew</a><br>")
			document.write("　　<a href=\"loty_e_hightlight05_2.html\">Video</a><br>")
			document.write("　　<a href=\"loty_e_hightlight05_3.html\">News Clipping</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>LOTY 2006<br>")
			document.write("　　<a href=\"loty_e_hightlight06_1.html\">Overivew</a><br>")
			document.write("　　<a href=\"loty_e_hightlight06_2.html\">Video</a><br>")
			document.write("　　<a href=\"loty_e_hightlight06_3.html\">News Clipping</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>LOTY 2007<br>")
			document.write("　　<a href=\"loty_e_hightlight07_1.html\">Overivew</a><br>")
			document.write("　　<a href=\"loty_e_hightlight07_2.html\">Video</a><br>")
			document.write("　　<a href=\"loty_e_hightlight07_3.html\">News Clipping</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>LOTY 2008<br>")
			document.write("　　<a href=\"loty_e_hightlight08_1.html\">Overivew</a><br>")
			document.write("　　<a href=\"loty_e_hightlight08_2.html\">Video</a><br>")
			document.write("　　<a href=\"loty_e_hightlight08_3.html\">News Clipping</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td align=center width=100><a href=\"loty_c_contact.html\" class=menu>Contact Us</a></td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td align=center width=100><a href=\"loty_c_sitemap.html\" class=menu>Site Map</a></td>")
		document.write("<td align=center width=160><a href=\"" + CFName + "\" class=menu>中文版</a></td>")
		document.write("</tr>")
		document.write("</table>")

}else{
	CFName = CFName.replace('_c','_e')
		document.write("<table border=0 cellpadding=0 cellspacing=0 id=\"menu_table\" name=\"menu_table\">")
		document.write("<tr>")
		document.write("<td align=center width=150><a href=\"loty_c_about.html\" class=menu>星島報業集團</a></td>")
		document.write("<td width=23 align=center><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=200 align=center class=menu onMouseOver=\"showSubCat('supplement_table01')\" onMouseOut=\"hideSubCat('supplement_table01')\">「傑出領袖選舉」介紹")
			document.write("<table class=\"menu01\" id=\"supplement_table01\" name=\"supplement_table01\" cellspacing=\"1\" cellpadding=\"2\" style=\"width: 100px; height: 24px; left: 220px; top:60px\">")
			document.write("<tr>")
			document.write("<td><a href=\"loty_c_intro_1.html\">簡介及目的</a></td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td><a href=\"loty_c_intro_2.html\">評審準則及機制</a></td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td><a href=\"loty_c_intro_3.html\">歷屆得獎者名單</a></td>")
			document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
		document.write("<td width=11 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=170 align=center ><a href=\"loty_c_hightlight09_1.html\" class=menu>2009年<br>「傑出領袖選舉」</a></td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td width=200 align=center class=menu onMouseOver=\"showSubCat('supplement_table02')\" onMouseOut=\"hideSubCat('supplement_table02')\">2004-2008年<br>「傑出領袖選舉」")
			document.write("<table class=\"menu02\" id=\"supplement_table02\" name=\"supplement_table02\" cellspacing=\"1\" cellpadding=\"2\" style=\"width: 160px; height: 24px; left: 600px; top: 60px\">")
			document.write("<tr>")
			document.write("<td>「2004年傑出領袖選舉」</a><br>")
			document.write("　　<a href=\"loty_c_hightlight04_1.html\">概況</a><br>")
			document.write("　　<a href=\"loty_c_hightlight04_2.html\">片段</a><br>")
			document.write("　　<a href=\"loty_c_hightlight04_3.html\">新聞摘要</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>「2005年傑出領袖選舉」<br>")
			document.write("　　<a href=\"loty_c_hightlight05_1.html\">概況</a><br>")
			document.write("　　<a href=\"loty_c_hightlight05_2.html\">片段</a><br>")
			document.write("　　<a href=\"loty_c_hightlight05_3.html\">新聞摘要</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>「2006年傑出領袖選舉」<br>")
			document.write("　　<a href=\"loty_c_hightlight06_1.html\">概況</a><br>")
			document.write("　　<a href=\"loty_c_hightlight06_2.html\">片段</a><br>")
			document.write("　　<a href=\"loty_c_hightlight06_3.html\">新聞摘要</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>「2007年傑出領袖選舉」<br>")
			document.write("　　<a href=\"loty_c_hightlight07_1.html\">概況</a><br>")
			document.write("　　<a href=\"loty_c_hightlight07_2.html\">片段</a><br>")
			document.write("　　<a href=\"loty_c_hightlight07_3.html\">新聞摘要</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("<tr>")
			document.write("<td>「2008年傑出領袖選舉」<br>")
			document.write("　　<a href=\"loty_c_hightlight08_1.html\">概況</a><br>")
			document.write("　　<a href=\"loty_c_hightlight08_2.html\">片段</a><br>")
			document.write("　　<a href=\"loty_c_hightlight08_3.html\">新聞摘要</a><br>")
			document.write("　　星島光輝70載<br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th\" target=\"_blank\">主頁</a><br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th/70_01.htm\" target=\"_blank\">集團產品簡介</a><br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th/70_02.htm\" target=\"_blank\">照片回顧</a><br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th/70_02m.htm\"_blank\">光輝片段</a><br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th/70_03.htm\"_blank\">晚宴相輯</a><br>")
			document.write("　　　　<a href=\"http://www.singtao.com/70th/70_03m.htm\" target=\"_blank\">晚宴精采片段</a><br>")
			document.write("</td>")
			document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td align=center width=80><a href=\"loty_c_contact.html\" class=menu>聯絡我們</a></td>")
		document.write("<td width=23 align=center ><img src=images/spacer.gif width=23 height=23 align=absmiddle /></td>")
		document.write("<td align=center width=80><a href=\"loty_c_sitemap.html\" class=menu>網頁指南</a></td>")
		document.write("<td align=center width=80><a href=\"" + CFName + "\" class=menu>English</a></td>")
		document.write("</tr>")
		document.write("</table>")
}



                  
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                  
                