﻿

function subinfo_IF(eng){


if (eng){
//	 document.writeln("	<div align='right'>")
	 document.writeln("	<table border='0' width='140' style='border-collapse: collapse'><tr>")

	 document.writeln("	<td bgcolor='#FF9966' style='font-style: normal; font-family: Arial; font-size: 102%; text-decoration: none; font-weight: normal; color: #000000'>")
	 document.writeln("	<p style='margin-left: 5px'>")
	 document.writeln("	<b><font color='#FFFFFF' style='font-size: 8pt'>Subscribe Information</font></b>")

	 document.writeln("	</td></tr>")
	 document.writeln("	<tr><td style='font-style: normal; font-family: Arial; font-size: 102%; text-decoration: none; font-weight: normal; color: #000000'>")
	 document.writeln("	<span style='font-size: 10pt'>")
	 document.write("	<iframe name='subinfo' width='100%' height='150' scrolling='no' border='0' frameborder='0' src='http://www.ouhk.edu.hk/~lcewww/survey/SUB_INFO/index.htm?course=");
                   document.write(c_code);
                   document.write("'>您的瀏覽器不支援內置框架或目前的設定為不顯示內置框架。</iframe>")
	 document.writeln("	</span></td></tr>")
	 document.writeln("	</table><br>")
//	 document.writeln("	</div>")
}
else{

	 document.writeln("	<table border='0' width='140' style='border-collapse: collapse'><tr>")

	 document.writeln("	<td bgcolor='#FF9966' style='font-style: normal; font-family: Arial; font-size: 102%; text-decoration: none; font-weight: normal; color: #000000'>")
	 document.writeln("	<p style='margin-left: 5px'>")
	 document.writeln("	<b><font color='#FFFFFF' style='font-size: 8pt'>訂閱課程資訊</font></b>")

	 document.writeln("	</td></tr>")
	 document.writeln("	<tr><td style='font-style: normal; font-family: Arial; font-size: 102%; text-decoration: none; font-weight: normal; color: #000000'>")
	 document.writeln("	<span style='font-size: 10pt'>")
	 document.write("	<iframe name='subinfo' width='100%' height='150' scrolling='no' border='0' frameborder='0' src='http://www.ouhk.edu.hk/~lcewww/survey/SUB_INFO/index.htm?course=");
                   document.write(c_code);
                   document.write("'>您的瀏覽器不支援內置框架或目前的設定為不顯示內置框架。</iframe>")
	 document.writeln("	</span></td></tr>")
	 document.writeln("	</table><br>")


}

}




function topBarON(x,y){

//document.getElementById("i430banner").src="http://www.ouhk.edu.hk/LIPACE/frontpage/fontbanner/BG.gif";

	     y.src=y.src.replace("/TopBar0","/S_TopBar0");

}



function topBarOFF(x,y){
                    


	     y.src=y.src.replace("/S_TopBar0","/TopBar0");

}





function SeminarBar(){

subinfo_IF(eng);

if (eng){
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\">	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#ff9933\">	");
	 document.write("	<p style=\"margin-left: 5px\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Seminar /&nbsp; <br>	");
	 document.write("	Information Session</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<p align=\"right\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<iframe title=\"Information Session / Seminar\" name=\"I1\" align=\"top\" marginWidth=\"1\" marginHeight=\"0\" width=\"140\" scrolling=\"no\" height=\"120\" src=\"http://www.ouhk.edu.hk/LIPACE/frontpage/news.htm?course=");
	 document.write(c_code);
	 document.write("\" border=\"0\" frameborder=\"0\">Information Session / Seminar	");
	 document.write("	</iframe></font></font></td>	");
	 document.write("	</tr></table>	");
}else{


	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\">	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#ff9933\">	");
	 document.write("	<p style=\"margin-left: 5px\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	課程諮詢 / 公開講座</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<p align=\"right\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");


	 document.write("	<iframe title=\"Information Session / Seminar\" name=\"I1\" align=\"top\" marginWidth=\"1\" marginHeight=\"0\" width=\"140\" scrolling=\"no\" height=\"120\" src=\"http://www.ouhk.edu.hk/LIPACE/frontpage/news.htm?course=");
	 document.write(c_code);
	 document.write("\" border=\"0\" frameborder=\"0\">Information Session / Seminar	");



	 document.write("	</iframe></font></font></td>	");
	 document.write("	</tr></table>	");

}



}




function NewsBar(){
/*

if (eng){
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
 
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Special Announcement</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　	");


	 document.write("由於電腦系統進行升級，網上報名服務於三月九日（中午十二時）至三月廿二日（下午二時）暫停。<BR><BR>報名中心服務不受影響。");

	 document.write("	</td>	");
	 document.write("	</tr></table>	");
}else{


	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	特別通知</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　	");


	 document.write("由於電腦系統進行升級，網上報名服務於三月九日（中午十二時）至三月廿二日（下午二時）暫停。<BR><BR>報名中心服務不受影響。");

	 document.write("	</td></tr></table>	");

}

*/


}














function LinkingBar_Enrol(x){



if (eng){
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
 
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#0000ff\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Relevant links:</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table id=\"table15\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\" valign=\"middle\">	");
	 document.write("	<img alt=\"Download OUHK LiPACE Enrolment Form. Click here for details.\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Form.gif\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onclick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom2.pdf');\" href=\""+x+"\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Enrollment Form Download</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");



//*******************FAQ***********************************
//if ((faq!=" ")||(faq!=null)||(faq!="")){
        if (faq.length>1){
	 document.write("	<table id=\"table17\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"FAQ\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/FAQ.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'FAQ', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/LIPACE/webfaq/	");

	 document.write(faq);
	 document.write("	\">	");


	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Frequent Asked Questions</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");
        }





//****Programme Search**********************************************************************

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"Programme Search\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Search.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Programme Search', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57379092\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Programme Search</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");



	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");




//********************studnet area****************************

	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Student Area:<br> (For Current Students Only) </font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");

//timetable download

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"Course Timetable Download.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Timetable.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Timetable', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Course Timetable Download</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");

// SAS
	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"SAS Student Portal.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/SAS.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'SAS', c_code+' '+eng);\" href=\"https://vip91prd.ouhk.edu.hk/psp/p91prd/?cmd=login&languageCd=ENG\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">");
	 document.write("	SAS Student Portal</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");




	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");








}
else{

	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");

	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#0000ff\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	相關連結:</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table id=\"table15\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\" valign=\"middle\">	");
	 document.write("	<img alt=\"Download OUHK LiPACE Enrolment Form. Click here for details.\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Form.gif\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onclick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom2.pdf');\" href=\""+x+"\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	下載報名表</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");

//****************************FAQ****************************
if ((faq!=" ")||(faq!=null)||(faq!="")){
	 document.write("	<table id=\"table17\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"FAQ\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/FAQ.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'FAQ', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/LIPACE/webfaq/	");

 document.write(faq);
	 document.write("	\">	");


	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	常見問題</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");
}



//****Programme Search**********************************************************************

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"課程搜尋\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Search.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Programme Search', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57379092\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	課程搜尋</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");






	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");

//********************學員專區****************************

	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	學員專區:<br> (只供在學學生使用)</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");

//timetable download

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"Course Timetable Download.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Timetable.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Timetable', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	下載上課時間表</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");

// SAS
	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"SAS Student Portal.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/SAS.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'SAS', c_code+' '+eng);\" href=\"https://vip91prd.ouhk.edu.hk/psp/p91prd/?cmd=login&languageCd=ENG\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	學生行政系統</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");




	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");







} 





}























function LinkingBar(){


if (eng){
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
 
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#0000ff\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Relevant links:</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table id=\"table15\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\" valign=\"middle\">	");
	 document.write("	<img alt=\"Download OUHK LiPACE Enrolment Form. Click here for details.\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Form.gif\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onclick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/Forms/LiPACE_Enrolment_Form.pdf\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Enrollment Form Download</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");


//*******************FAQ***********************************
//if ((faq!=" ")||(faq!=null)||(faq!="")){
        if (faq.length>1){
	 document.write("	<table id=\"table17\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"FAQ\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/FAQ.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'FAQ', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/LIPACE/webfaq/	");

	 document.write(faq);
	 document.write("	\">	");


	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Frequent Asked Questions</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");
        }



//*****************Programme Search***********************************
//	 document.write("	</table>	");
	 document.write("	<table id=\"table18\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\" width=\"20\">	");
	 document.write("	<img height=\"20\" alt=\"Programme Search\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Search.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Programme Search', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57379092\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Programme Search</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");





	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");



//********************studnet area****************************

	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	Student Area:<br> (For Current Students Only) </font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");

//timetable download

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"Course Timetable Download.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Timetable.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Timetable', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	Course Timetable Download</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");

// SAS
	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"SAS Student Portal.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/SAS.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'SAS', c_code+' '+eng);\" href=\"https://vip91prd.ouhk.edu.hk/psp/p91prd/?cmd=login&languageCd=ENG\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">");
	 document.write("	SAS Student Portal</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");




	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");










}
else{
//**chinese version**************************************
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#0000ff\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	相關連結:</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");




	 document.write("	<table id=\"table15\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\" valign=\"middle\">	");
	 document.write("	<img alt=\"Download OUHK LiPACE Enrolment Form. Click here for details.\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Form.gif\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onclick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/Forms/LiPACE_Enrolment_Form.pdf\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	下載報名表</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");


//****************************FAQ****************************
if ((faq!=" ")||(faq!=null)||(faq!="")){
	 document.write("	<table id=\"table17\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"FAQ\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/FAQ.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'FAQ', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/LIPACE/webfaq/	");

               document.write(faq);
	 document.write("	\">	");


	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	常見問題</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");
}

//*****************Programme Search***********************************
//	 document.write("	</table>	");
	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"課程搜尋\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Search.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Programme Search', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57379092\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	課程搜尋</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");




	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");



//********************學員專區****************************

	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");
	 document.write("	<table style=\"BORDER-COLLAPSE: collapse\" border=\"0\" width=\"140\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\" bgColor=\"#009900\">	");
	 document.write("	<p style=\"margin-left: 5px; margin-top: 5px; margin-bottom: 5px\">	");
	 document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
	 document.write("	學員專區:<br> (只供在學學生使用)</font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">	");
	 document.write("	<font class=\"content_text\">	");
	 document.write("	<font face=\"Arial\" size=\"3\">	");

//timetable download

	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"Course Timetable Download.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/Timetable.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'Timetable', c_code+' '+eng);\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	下載上課時間表</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");

// SAS
	 document.write("	<table id=\"table16\" cellSpacing=\"0\" cellPadding=\"2\" border=\"0\" width=\"140\">	");
	 document.write("	<tr>	");
	 document.write("	<td vAlign=\"middle\" style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<img height=\"20\" alt=\"SAS Student Portal.(For active student only.)\" src=\"http://www.ouhk.edu.hk/LIPACE/webAD/icon20x20/SAS.gif\" width=\"20\" border=\"0\">	");
	 document.write("	</td>	");
	 document.write("	<td style=\"font-family: Arial; font-size: 80%; font-style: normal; font-weight: normal; color: #000000; text-decoration: none\">	");
	 document.write("	<a style=\"TEXT-DECORATION: none\" onClick=\"pageTracker._trackEvent('Programme Link', 'SAS', c_code+' '+eng);\" href=\"https://vip91prd.ouhk.edu.hk/psp/p91prd/?cmd=login&languageCd=ENG\">	");
	 document.write("	<font style=\"font-size: 8pt\" color=\"#000000\">	");
	 document.write("	學生行政系統</font></a></td>	");
	 document.write("	</tr>	");
	 document.write("	</table>	");




	 document.write("	</font></font></td>	");
	 document.write("	</tr>	");
	 document.write("	<tr style=\"font-family: 新細明體, 細明體, Tahoma, Arial; font-style: normal; font-weight: normal; color: #000000\">	");
	 document.write("	<td style=\"font-weight: normal; font-size: 102%; color: #000000; font-style: normal; font-family: Arial; text-decoration: none\">　</td>	");
	 document.write("	</tr></table>	");


} 



}



function rightBar(){


if (c_code.substring(0,2)=="BN" ) {

        subinfo_IF(eng);
}
else{

	SeminarBar();
	NewsBar();
        LinkingBar();
}

}














