﻿/*
<SCRIPT src="http://www.ouhk.edu.hk/LIPACE/JS/frontpage/ance.js" type=text/javascript></SCRIPT>                                       
<SCRIPT type=text/javascript> postMsg('33520',true) </SCRIPT>   
*/


var c_code 
var c_other =null;
var eng
var cef_code=null;
var qf_code=null;


function info(date,code,msg){
    this.date=date;
    this.code=code;
    this.msg=msg;
}

msg = Array();


msg[0]= new info ("2000/01/01","test1","33526 Class A(6 Jul 2007) : Full")




//msg[1]= new info ("2000/01/01","8886","團體報讀優惠9 折(只適用於部分課程)<BR>[適用日期：指定課程開課前一個月的第20日或之前(公眾假期亦不例外)]於以上日期郵寄(以郵戳的日期為準)或親身遞交的報讀申請(至少3人同時報讀同一學期同一科目的同一班)可享此優惠。每位申請人均需在此報名表乙部「團體報讀優惠」一欄列明其他一同報讀人士姓名，並集齊所有人的報名表，一同遞交。單獨交表或不同時交表，恕不當團體報讀處理。")
//msg[2]= new info ("2000/01/01","8887","Group Discount 10%(Only apply for Discount Available Programme)<BR>Applicable to the enrolment applications received by LiPACE (either by hand or by post) on or before the 20th day of the preceding month of the course commencement(Public holiday inclusive), and a group of at least 3 applicants enrolling together on the same class of the same course in the same intake. Each applicant shall list all other group members. All enrolment forms should be submitted together. Enrolment forms submitted individually or not simultaneously will not be eligible for Group Discount.")
//msg[3]= new info ("2000/01/01","8886","部份課程學費，將由2008年9月學期起作出調整，<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_58253748&lang=chi&FUELAP_SITEDBID=SITE_-65\">詳情請按此</a>。")
//msg[4]= new info ("2000/01/01","8887"," Start from 2008/09 intake, tuition fee of some courses will be adjusted. 	<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_58253748&lang=chi&FUELAP_SITEDBID=SITE_-65\">	Please click here for details</a>.")




msg[1]= new info ("2000/01/01","75000"," No new students are accepted for admission at programme level.  Admission for single subjects for new applicants may be accepted if the subject(s) is/are offered at normal schedule but it is considered on a case by case basis and is also subject to NTU’s approval.")
msg[2]= new info ("2000/01/01","BN001","No new students are accepted for admission at programme and at course/unit levels. It is only provided to existing/continuing students.")
msg[3]= new info ("2000/01/01","BN002","No new students are accepted for admission at programme and at course/unit levels. It is only provided to existing/continuing students.")
msg[4]= new info ("2000/01/01","81000","No new students are accepted for admission at programme level.  Admission for single subjects for new applicants may be accepted if the subject(s) is/are offered at normal schedule but it is considered on a case by case basis and is also subject to Curtin’s approval.")
msg[5]= new info ("2000/01/01","81500"," No new students are accepted for admission at programme level.  Admission for single subjects for new applicants may be accepted if the subject(s) is/are offered at normal schedule but it is considered on a case by case basis and is also subject to Curtin’s approval.")

//msg[9]= new info ("2010/02/26","CB009","荔景教學中心4月學期現正招生");
//msg[14]= new info ("2010/02/26","DH009","荔景教學中心4月學期現正招生");
//msg[15]= new info ("2010/02/26","DH006","荔景教學中心4月學期現正招生");

//msg[19]= new info ("2010/02/26","CB009","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/CB009.htm\">&nbsp;●瀏覽開課日期</a>");
//msg[24]= new info ("2010/02/26","DH009","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DH009.htm\">&nbsp;●瀏覽開課日期</a>");
//msg[25]= new info ("2010/02/26","DH006","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DH006.htm\">&nbsp;●瀏覽開課日期</a>");


msg[6]= new info ("2010/02/26","CA014","荔景教學中心4月學期現正招生");
msg[7]= new info ("2010/02/26","DA008","荔景教學中心4月學期現正招生");
msg[8]= new info ("2010/02/26","DB002","荔景教學中心4月學期現正招生");
msg[9]= new info ("2010/02/26","CB008","荔景教學中心4月學期現正招生");
msg[10]= new info ("2010/02/26","DH008","荔景教學中心4月學期現正招生");
msg[11]= new info ("2010/02/26","DA007","荔景教學中心4月學期現正招生");
msg[12]= new info ("2010/02/26","CH024","荔景教學中心4月學期現正招生");



msg[13]= new info ("2010/02/26","CA014","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/CA014.htm\">&nbsp;●瀏覽開課日期</a>");
msg[14]= new info ("2010/02/26","DA008","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DA008.htm\">&nbsp;●瀏覽開課日期</a>");
msg[15]= new info ("2010/02/26","DB002","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DB002.htm\">&nbsp;●瀏覽開課日期</a>");
msg[16]= new info ("2010/02/26","CB008","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/CB008.htm\">&nbsp;●瀏覽開課日期</a>");
msg[17]= new info ("2010/02/26","DH008","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DH008.htm\">&nbsp;●瀏覽開課日期</a>");
msg[18]= new info ("2010/02/26","DA007","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/DA007.htm\">&nbsp;●瀏覽開課日期</a>");
msg[19]= new info ("2010/02/26","CH024","<a href=\"http://www.ouhk.edu.hk/LIPACE/courseinfo/commencement/CH024.htm\">&nbsp;●瀏覽開課日期</a>");





//msg[16]= new info ("2010/02/26","CA014","荔景教學中心4月學期現正招生");



//msg[6]= new info ("2000/01/01","DH001","Wine Seminar: 2 Mar 2010")

/*
msg[6]= new info ("2000/01/01","DB002","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[7]= new info ("2000/01/01","CB009","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[8]= new info ("2000/01/01","DB007","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[9]= new info ("2000/01/01","DB015","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[10]= new info ("2000/01/01","DA007","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[11]= new info ("2000/01/01","DA008","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[12]= new info ("2000/01/01","CA017","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[13]= new info ("2000/01/01","SA001","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[14]= new info ("2000/01/01","DH002","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[15]= new info ("2000/01/01","DH006","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
msg[16]= new info ("2000/01/01","DH008","<a onClick=\"javascript: pageTracker._trackPageview('/LearningCenter/KowloonBay.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/booklet/CITAFebIntakeLeaflet_V2.pdf\">九龍灣教學中心二月課程 9折優惠 &lt;詳情按此&gt;</a>")
*/



//msg[6]= new info ("2008/09/19","BN004","Registration for this programme is under processing.")
//msg[7]= new info ("2008/09/19","BN004","	<p style=\"margin-top: 0; margin-bottom: 0\">	<font face=\"Arial\">	<span lang=\"EN-US\">Information Session:</span></font></font></p><p style=\"margin-top: 0; margin-bottom: 0\"></p><blockquote><p class=\"MsoNormal\" style=\"margin-top: 0; margin-bottom: 0\"><font face=\"Arial\" color=\"black\"><span lang=\"EN-US\">Date: 19 September 2008 (Friday)</span></font></p><p class=\"MsoNormal\" style=\"margin-top: 0; margin-bottom: 0\">	<font face=\"Arial\" color=\"black\"><span lang=\"EN-US\">Time: 7:00-8:00 p.m.</span></font></p><p class=\"MsoNormal\" style=\"margin-top: 0; margin-bottom: 0\"><font face=\"Arial\" color=\"black\"><span lang=\"EN-US\">Venue: ILC: T15</span></font></p><p class=\"MsoNormal\" style=\"margin-top: 0; margin-bottom: 0\"><span lang=\"en-us\"><font face=\"Arial\"><b><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSubWeb&lid=SUBWEBLIST_LIPCE_56690704&cid=6&lang=eng&mid=0\">Free Online Registration</a> </b></font></span></p></blockquote>")






//********************************************************************************


function profile(nameE,nameC,file){
    this.nameE=nameE;
    this.nameC=nameC;
    this.file=file;

}

cc =new Array(4);
for (i=0; i<4; i++) cc[i]=new Array()  



cc[0][0]= new profile ("Dr. MA Hak-mei Magdy","馬克薇博士","BA(CSU), MA(PolyU), PhD(NCSU)")

//cc[0][0]= new profile ("Mr. TIN Lai-man","田禮文先生","BA(Hons)(CityU)")

cc[0][1]= new profile ("Ms. LAI Hoi-shan Perrie","黎海珊女士","ADip(HKAPA), MCS(HKBTS)")
cc[0][2]= new profile ("Ms. MOY Ka-ling Karen","梅嘉齡女士","BA(Hons), PgD, MA, MSc(PolyU)")
cc[0][3]= new profile ("Ms. YU Li Sammi","張紫伶女士","BA(UBC)")
cc[0][4]= new profile ("Mr. YAO Yi-jiang Johnny","姚一江先生","BA (UMac), MA (HKUST), MA (CUHK)")
cc[0][5]= new profile ("Ms. CHAN Yu-yan Valerina","陳汝恩女士","BSc(UBC),MA(OUHK)")
cc[0][6]= new profile ("Mr. TIN Lai-man","田禮文先生","BA(Hons)(CityU)")



cc[1][0]= new profile ("Mr. CHUNG Chun-kit Ricky","鍾俊傑先生","BSc(CSU), MBA(HKBU), MSc(CityU), CFA, CFP<sup>CM</sup>")
cc[1][1]= new profile ("Ms. CHAN Wai-mei  Amy","陳惠媚女士","BA(Hons)(PolyU), MBA(UB), FCCA, HKICPA")
cc[1][2]= new profile ("Ms. CHEN Yi-fan Yvonne","陳羿帆女士","BA(Shih Hsin), PgD(César Ritz), MSc(MMU)")
cc[1][3]= new profile ("Ms. LEE Wing-han Helen","李頴嫻女士","BA(Hons)(PolyU), MBA(London,Royal Hollaway)")
cc[1][4]= new profile ("Ms. GUO Hui Grace","郭卉女士","BA(Hons)(Gloucestershire), MSc(Brunel)")

cc[2][0]= new profile ("Mr. TSE Chun-kuen Alex","謝津權先生","BSc(Hons)(CUHK), MSc(Env.Sci.), MSc(Env.Eng.)(HKUST), Dip. Occ.Hyg.(CUHK), CIH, RPH, RSO, CMIOSH, FMHKIOEH, PMSPT")
cc[2][1]= new profile ("Ms. LI Yuk-man Charis","李毓雯女士","BSc(Hons), MPhil(CUHK)")
cc[2][2]= new profile ("Dr. TANG Mei-kuen Florence","鄧美娟博士","BVM(NTU), MPhil(HKBU), PhD(CUHK)")   
cc[2][3]= new profile ("Ms. LI Sau-man Jackie","李秀文女士","M.S.(SUNY AIbany), M.S.(SUNY Albany), M.A.(SUNY Albany), B.A.(Bard)")   
cc[2][4]= new profile ("Mr. HO Hok-man Ken","何學文先生","BN(Hons), MSc(CUHK), RN")   
cc[2][5]= new profile ("Mr. LAM Yin-tat Walter","林賢達先生","BSc(Hons), MSocSc(HKU), RSW")   

cc[3][0]= new profile ("Ms. PANG Hoi-ning Helen","彭海寧女士","BCom(UNSW),MRehabCling(USyd)")   
cc[3][1]= new profile ("Ms. LIU Ching-man Clarice","廖靜雯女士","BBA(Hons), MA(HKBU)")   




function printCC(n1,n2,english){
    
if (english==null) english = true;

              if (english){
                  document.write("<font class=\"content_text\"><font style=\"FONT-SIZE: 9pt\" face=\"Arial\"><b>")
                  document.write(cc[n1][n2].nameE)
                  document.write("<br></b></font>")
              }
              else{
                  document.write("<font class=\"content_text\"><font style=\"FONT-SIZE: 9pt\" face=\"Arial\"><b>")
                  document.write(cc[n1][n2].nameC)
                  document.write("<br></b></font>")
              }

              document.write("<font style=\"FONT-SIZE: 7pt\" face=\"Arial\">")
              document.write(cc[n1][n2].file)
              document.write("</font></font>")
}

   
     





//<font face=\"新細明體\" color=\"blue\" size=\"1\">	

//msg[1]= new info ("2000/01/01","888","<p style=\"margin-top: 0; margin-bottom: 0\">From Sep 2008, some of the course fee will be adjusted.<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_58253748&lang=chi&FUELAP_SITEDBID=SITE_-65\" style=\"text-decoration: none\">For details, please click here</a>.</p>")



//msg[1]= new info ("2000/01/01","MN001","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSubWeb&lid=SUBWEBLIST_LIPCE_56690704&cid=6&lang=eng&mid=0\">Information Session - 23 May2008 (Fri) 4:30-5:30pm</a>")

/*
//msg[1]= new info ("2008/1/25","CB008","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSubWeb&lid=SUBWEBLIST_LIPCE_56690704&cid=6&lang=eng&mid=0#25Jan2008\">Information Session - 　25 Jan 2008 (Fri) 7:00pm - 9:00pm</a>")
//msg[2]= new info ("2008/1/25","CB009","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSubWeb&lid=SUBWEBLIST_LIPCE_56690704&cid=6&lang=eng&mid=0#25Jan2008\">Information Session - 　25 Jan 2008 (Fri) 7:00pm - 9:00pm</a>")
msg[1]= new info ("2008/2/20","CA015","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[2]= new info ("2008/2/20","CA012","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[3]= new info ("2008/2/20","CA013","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[4]= new info ("2008/2/20","CA011","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[5]= new info ("2008/2/20","CA014","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[6]= new info ("2008/2/20","CA017","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[7]= new info ("2008/2/20","CA016","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
msg[8]= new info ("2008/2/20","DA008","<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_SITEDBID=SITE_-66&FUELAP_OP=FUELOP_NewScreen&CCNAME=cclipacenews&LANG=eng&ITEMID=cclipacenews_57718888&FUELAP_TEMPLATENAME=tcAbstractList_2004&\">免費英語水平測試 - 讓你了解自己的英語水平 - 　2008年2月20日(星期三)&nbsp; 7:00pm</a>")
*/





function postMsg3(c,e){

if ((urlVal.indexOf("&SASTEST=TRUE") >=0)||(urlVal.indexOf("&sastest=true") >=0)){

           if (e){
              document.write("<table border=\"1\" width=\"100%\" style=\"border-width: 0px\"><tr><td style=\"border-style: none; border-width: medium\" bgcolor=\"#FFFF00\">")
              document.write("<font face=\"Arial\">Announcement:<blockquote><ul>")
              document.write("<li><p>","TESTING MESSAGE: This is a DEMO MESSAGE-",c,"</p></li><br>")
              document.write("</ul></blockquote></font></td></tr></table>")
           }
           else {
              document.write("<table border=\"1\" width=\"100%\" style=\"border-width: 0px\"><tr><td style=\"border-style: none; border-width: medium\" bgcolor=\"#FFFF00\">")
              document.write("<font face=\"Arial\">通告 :<blockquote><ul>")
              document.write("<li><p>","訊息測試: 系統訊息測試-",c,"</p></li><br>")
              document.write("</ul></blockquote></font></td></tr></table>")
           }
}

else{

pass=false;

              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8886) ||(msg[i].code==8887) ||(msg[i].code==8888) || (msg[i].code==c)) {
                           pass=true;
                           i=msg.length;
                    }

     if (pass){
           if (e){
              document.write("<table border=\"1\" width=\"100%\" style=\"border-width: 0px\"><tr><td style=\"border-style: none; border-width: medium\" bgcolor=\"#FFFF00\">")
              document.write("<font face=\"Arial\">Announcement:<blockquote><ul>")
              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8888) ||(msg[i].code==8887) || (msg[i].code==c)) document.write("<li><p>",msg[i].msg,"</p></li><br>")
              document.write("</ul></blockquote></font></td></tr></table>")
           }
           else {
              document.write("<table border=\"1\" width=\"100%\" style=\"border-width: 0px\"><tr><td style=\"border-style: none; border-width: medium\" bgcolor=\"#FFFF00\">")
              document.write("<font face=\"Arial\">通告 :<blockquote><ul>")
              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8888) ||(msg[i].code==8886) || (msg[i].code==c)) document.write("<li><p>",msg[i].msg,"</p></li><br>")
              document.write("</ul></blockquote></font></td></tr></table>")
           }

   }

}
}



function postMsg(c,e){

}

function postMsg2(c,e){


pass=false;

              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8886) ||(msg[i].code==8887) ||(msg[i].code==8888) || (msg[i].code==c)) {
                           pass=true;
                           i=msg.length;
                    }

     if (pass){
           if (e){
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=\"#FF0000\">	");
document.write("	<p style=\"margin-left: 5px; margin-top: 0; margin-bottom: 0\">	");
document.write("	<font class=\"content_text\">	");
document.write("	<font style=\"font-size: 8pt; font-weight: 700\" color=\"#ffffff\">	");
document.write("	Programme 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\">");

              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8888) ||(msg[i].code==8887) || (msg[i].code==c)) document.write("<p>",msg[i].msg,"</p>")


document.write("	</td>	");
document.write("	</tr>	");
document.write("	</table>	");
document.write("	</font></font>	");


           }
           else {

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=\"#FF0000\">	");
document.write("	<p style=\"margin-left: 5px; margin-top: 0; margin-bottom: 0\">	");
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\">");

              for (i=0; i<msg.length; i++) 
                     if ((msg[i].code==8888) ||(msg[i].code==8886) || (msg[i].code==c)) document.write("<p>",msg[i].msg,"</p>")

document.write("	</td>	");
document.write("	</tr>	");
document.write("	</table>	");
document.write("	</font></font>	");

           }

   }


}




function oldCode(x){

//       document.write(x);
//       document.write

}





function couseCodeIcon(){

 

 

       document.write("<img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/Side_Icon_Book.gif\" width=\"32\" height=\"32\" alt=\"Please quote this/these programme code(s) in the application for enrolment form\">");
}




function onlineEnrolIcon(){

       document.write("<img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/Side_Icon_Online.gif\" width=\"32\" height=\"32\" alt=\"OUHK LiPACE Online Enrolment Function. Click here for details.\">");
}

function cEFIcon(){
    if (cef_code!=null) {
       document.write("<a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_1617019&lang=eng\" style=\"text-decoration: none\">")
       document.write("<img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/Side_Icon_CEF.gif\" width=\"32\" height=\"32\" alt=\"CEF\"></a>");
   }

}

function qFIcon(){
    if (qf_code!=null){ 
       document.write("<a href=\"http://www.ouhk.edu.hk/LIPACE/CEF/CEF2.html\" style=\"text-decoration: none\">")
       document.write("<img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/Side_Icon_QF.gif\" width=\"32\" height=\"32\" alt=\"資歷架構\"></a>");
   }
}






function couseCode(){


    if (eng){
       document.write("<font face=\"Arial\" size=\"1\">Programme Code:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       if (c_other==null)
                 document.write(c_code);
       else 
                 document.write(c_other);
       document.write("</font>");
     }
     else{
       document.write("<font face=\"Arial\" size=\"1\">課程編號:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       if (c_other==null)
                 document.write(c_code);
       else 
                 document.write(c_other);
       document.write("</font>");
     }

/************************下載課程報名表
    if (eng){


       document.write("</td></tr><tr><td><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/Form.gif\" width=\"32\" height=\"32\" alt=\"Download OUHK LiPACE Enrolment Form. Click here for details.\">");
       document.write(" </td><td><a onClick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/Forms/LiPACE_Enrolment_Form.pdf\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">Enrollment Form Download</font></a></td></tr>");
    }
else{
       document.write("</td></tr><tr><td><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/Form.gif\" width=\"32\" height=\"32\" alt=\"下載課程報名表. 詳情按此.\">");
       document.write(" </td><td><a onClick=\"javascript: pageTracker._trackPageview('/admin/EnrollmentFrom.pdf');\" href=\"http://www.ouhk.edu.hk/LIPACE/Forms/LiPACE_Enrolment_Form.pdf\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">下載課程報名表</font></a></td></tr>");
    }
*/

}





function onlineEnrol(){
    if (eng){
       document.write("<font face=\"Arial\" size=\"1\">Online Enrolment:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       enrolNow(c_code,eng);
       document.write("</font>");
     }
     else{
       document.write("<font face=\"Arial\" size=\"1\">網上報讀:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       enrolNow(c_code,eng);
       document.write("</font>");    
       }
}




function cEF(){
if (cef_code!=null) 
    if (eng){
       document.write("<font face=\"Arial\" size=\"1\">C.E. Fund Code:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(cef_code);
       document.write("</font>");
     }
     else{
       document.write("<font face=\"Arial\" size=\"1\">持續進修基金課程編號:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(cef_code);
       document.write("</font>");
    }
}





function qF(){
if (qf_code!=null) 
    if (eng){


       document.write("<font face=\"Arial\" size=\"1\">Q. F. Level:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(qf_code);
       document.write("</font>");
     }
     else{
       document.write("<font face=\"Arial\" size=\"1\">資歷架構:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(qf_code);
       document.write("</font>");
    }

}




function qF2(){
if (qf_code!=null) 
    if (eng){


       document.write("<font face=\"Arial\" size=\"1\">Q. F. Level:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(qf_code);
       document.write("</font>");
     }
     else{
       document.write("<font face=\"Arial\" size=\"1\">資歷架構:</font>");
       document.write("<font face=\"Arial\" style=\"font-size: 9pt\"><br>");
       document.write(qf_code);
       document.write("</font>");
    }



if (c_code=="DA009"){


    if (eng){


       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"Course Timetable Download.(For active student only.)\">");
       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#FFFFFF\"  style=\"font-size: 9pt\">Course Timetable Download<br></font><font color=\"#3366FF\"  style=\"font-size: 8pt\"></font></a></td></tr>");
     }

   else{
       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"下載上課時間表(只供在學學生)\">");
       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#FFFFFF\"  style=\"font-size: 9pt\">下載上課時間表</font><font color=\"#3366FF\"  style=\"font-size: 8pt\"><br></font></a></td></tr>");

     }



}

else{
    if (eng){


       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"Course Timetable Download.(For active student only.)\">");
       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">Course Timetable Download<br></font><font color=\"#3366FF\"  style=\"font-size: 8pt\"></font></a></td></tr>");


//       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"Download Course Timetable.(For active student only.)\">");
//       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">Download Course timetable<br></font><font color=\"#3366FF\"  style=\"font-size: 8pt\">Course timetable can be downloaded one week before course commencement</font></a></td></tr>");

     }

   else{
       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"下載上課時間表(只供在學學生)\">");
       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">下載上課時間表</font><font color=\"#3366FF\"  style=\"font-size: 8pt\"><br></font></a></td></tr>");

//       document.write("</td></tr><tr><td valign=\"top\"><img border=\"0\" src=\"http://www.ouhk.edu.hk/LIPACE/web/img/TT.gif\" width=\"32\" height=\"32\" alt=\"下載上課時間表(只供在學學生)\">");
//       document.write(" </td><td><a href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57348561\" style=\"text-decoration: none\"><font color=\"#000000\"  style=\"font-size: 9pt\">下載上課時間表</font><font color=\"#3366FF\"  style=\"font-size: 8pt\"><br>上課時間表可於開課前一星期下載</font></a></td></tr>");
     }

}

}


function ai(){
    document.getElementById("ai").style.color="#FF0000";
    location.href+="#Admission_Policy";
    
}


function discount(x){
    if (eng){
//             if (x) document.write("Available");
             if (x) document.write("Available<BR><a target=\"_blank\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57562705&lang=eng&FUELAP_SITEDBID=SITE_-65\" style=\"text-decoration: none\"><font  style=\"FONT-SIZE: 9pt\" >Early-Bird Discount:10%</font></a>");
             else  document.write("Not Available");

     }
     else {
             if (x) document.write("適用<br><a target=\"_blank\" href=\"http://www.ouhk.edu.hk/WCM/?FUELAP_TEMPLATENAME=tcSingPage&ITEMID=CCLIPACECONTENT_57562705&lang=chi&FUELAP_SITEDBID=SITE_-65\" style=\"text-decoration: none\"><font size=\"2\">預早報讀優惠:9折 </font></a>");
             else  document.write("不適用");
      }   
}