function createMenuALE() {
	document.write('<table width="210" border="0" cellspacing="0" cellpadding="0"><tr><td class="menu_top"><ul id="menuALE" class="MenuBarVertical"><li><a href="http://www.ied.edu.hk/web/view.php?page=about_hkied&glang=en" target="_blank" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r01','','images/m_about_r.gif',1)");
	document.write('("><img src="images/m_about.gif" name="r01" width="210" height="40" border="0"></a></li><li><a target="_self" href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("r02','','images/m_prog_r.gif',1)");
	document.write('"><img src="images/m_prog.gif" name="r02" width="210" height="40" border="0"></a><ul class="ul_prog"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="ba_cac.htm">■ Bachelor of Arts (Honours) in Creative Arts and<br><span class="pad1">Culture Programme (Three-year Full-time)</span></a></li><li><a href="ba_lang.htm" target="_self">■ Bachelor of Arts (Honours) in Language Studies<br><span class="pad1">Programme (Three-year Full-time)</span></a></li><li><a href="bed.htm" target="_self">■ Bachelor of Education (Honours) Programmes<br><span class="pad1">(Four-year Full-time)</span></a></li><li><a href="bss_ges.htm" target="_self">■ Bachelor of Social Sciences (Honours) in Global<br><span class="pad1">and Environmental Studies Programme</span><br><span class="pad1">(Three-year Full-time)</span></a></li><li class="itemgreent"><br>Self-financed programmes</li><li><a href="lse.htm" target="_self">■ Bachelor of Arts (Honours) in Liberal Studies<br><span class="pad1">Education Programme (Three-year Full-time)</span></a></li><li><a href="bme.htm" target="_self">■ Bachelor of Music in Education (Honours)<br><span class="pad1">(Contemporary Music and Performance Pedagogy)</span><br><span class="pad1">Programme (Three-year Full-time)</span></a></li><li><a href="bsed_wt.htm" target="_self">■ Bachelor of Science Education (Honours) (Science<br><span class="pad1">and Web Technology) Programme (Three-year Full-time)</span></a></li><li><a href="ss.htm" target="_self">■ Bachelor of Science Education (Honours) (Sports<br><span class="pad1">Science) Programme (Three-year Full-time)</span></a></li><li><a href="bssed_gcs.htm" target="_self">■ Bachelor of Social Science Education (Honours) (Greater<br><span class="pad1">China Studies) Programme (Three-year Full-time)</span></a></li></ul></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r03','','images/m_app_r.gif',1)");
	document.write('"><img src="images/m_app.gif" name="r03" width="210" height="40" border="0"></a><ul class="ul_app"><li class="itemgreent">Entrance Requirements</li><li class="itemgreen">■ Government-funded programmes</li><li><a target="_self" href="app_jupas.htm"><span class="pad1">■ JUPAS</span></a></li><li><a target="_blank" href="app_non_jupas.htm"><span class="pad1">■ Direct application (Non-JUPAS)</span></a></li><li><a target="_blank" href="app_sf_prog.htm">■ Self-financed programmes</a></li><li class="itemgreent"><a href="admission.htm" target="_self">Application Procedures</a></li></ul></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r04','','images/m_dates_r.gif',1)");
	document.write('"><img src="images/m_dates.gif" name="r04" width="210" height="40" border="0"></a><ul class="ul_dates"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="dates_jupas.htm">■ JUPAS</a></li><li><a target="_blank" href="dates_non_jupas.htm">■ Direct application (Non-JUPAS)</a></li><li><a target="_blank" href="dates_non_jupas_all.htm"><b>Self-financed programmes</b></a></li></ul><li><a href="fees.htm" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r05','','images/m_fees_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_fees.gif" name="r05" width="210" height="40" border="0"></a></li><li><a href="scholarship.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r06','','images/m_scholarship_r.gif',1)");
	document.write('(" onMouseOut="MM_swapImgRestore()"><img src="images/m_scholarship.gif" name="r06" width="210" height="40" border="0"></a></li><li><a href="why_hkied.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r07','','images/m_why_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_why.gif" name="r07" width="210" height="40" border="0"></a></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r09','','images/m_facts_r.gif',1)");
	document.write('"><img src="images/m_facts.gif" name="r09" width="210" height="40" border="0"></a><ul class="ul_facts"><li><a href="admission_grades.htm" class="MenuBarItemSubmenu">■ Admission Grades</a></li><li><a href="scheme.htm" class="MenuBarItemSubmenu">■ JUPAS Sub-system/Scheme</a></li></ul></li><li><a href="related_links.htm" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r11','','images/m_links_r.gif',1)");
	document.write('"><img src="images/m_links.gif" name="r11" width="210" height="40" border="0"></a></li><li><a href="contact_us.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r12','','images/m_contact_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_contact.gif" name="r12" width="210" height="40" border="0"></a></li><li><a href="ug_index.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r13','','images/m_main_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_main.gif" name="r13" width="210" height="40" border="0"></a></li></ul></td></tr><tr><td class="menu_bottom"><img src="images/tranz.gif" width="210" height="15"></td></tr></table><br><table width="210" border="0" cellspacing="0" cellpadding="0"><tr><td><ul id="menuSUPP" class="MenuBarVertical"><li><a href="#" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r15','','images/m_faq_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_faq.gif" name="r15" width="210" height="34" border="0"></a><ul class="ul_app"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="faq_jupas.htm">■ JUPAS</a></li><li><a target="_self" href="faq_non_jupas.htm">■ Direct application (Non-JUPAS)</a></li><li><a target="_self" href="faq_sf_prog.htm"><b>Self-financed programmes</b></a></li></ul></li><li><a href="ug_index_dse.htm" target="_blank" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r17','','images/m_dse_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_dse.gif" name="r17" width="210" height="34" border="0"></a></li><li><a href="#" class="MenuBarItemSubmenu"><img src="images/m_white.gif" width="210" height="30" border="0"></a></li><li><a href="http://www.ied.edu.hk/acadprog/online/" target="_blank" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r16','','images/m_online_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_online_g2.gif" name="r16" width="210" height="34" border="0"></a></li></ul></td></tr></table>');
}
function createMenuDSE() {
	document.write('<table width="210" border="0" cellspacing="0" cellpadding="0"><tr><td class="menu_top"><ul id="menuDSE" class="MenuBarVertical"><li><a href="http://www.ied.edu.hk/web/view.php?page=about_hkied&glang=en" target="_blank" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r01','','images/m_about_r.gif',1)");
	document.write('"><img src="images/m_about.gif" name="r01" width="210" height="40" border="0"></a></li><li><a target="_self" href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r02','','images/m_prog_r.gif',1)");
	document.write('"><img src="images/m_prog.gif" name="r02" width="210" height="40" border="0"></a><ul class="ul_prog"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="ba_cac_dse.htm">■ Bachelor of Arts (Honours) in Creative Arts and<br><span class="pad1">Culture Programme (Four-year Full-time)</span></a></li><li><a href="ba_lang_dse.htm" target="_self">■ Bachelor of Arts (Honours) in Language Studies<br><span class="pad1">Programme (Four-year Full-time)</span></a></li><li><a href="bed_dse.htm" target="_self">■ Bachelor of Education (Honours) Programmes<br><span class="pad1">(Five-year Full-time)</span></a></li><li><a href="bss_ges_dse.htm" target="_self">■ Bachelor of Social Sciences (Honours) in Global<br><span class="pad1">and Environmental Studies Programme</span><br><span class="pad1">(Four-year Full-time)</span></a></li><li><a href="bss_psy_dse.htm" target="_self">■ Bachelor of Social Sciences (Honours) in<br><span class="pad1">Psychology Programme (Four-year Full-time)</span></a></li><li class="itemgreent"><br>Self-financed programmes</li><a href="es_dse.htm" target="_self"><li>■ Bachelor of Arts (Honours) in Education for<br><span class="pad1">Sustainability Programme (Four-year Full-time)</span></li></a><li><a href="lse_dse.htm" target="_self">■ Bachelor of Arts (Honours) in Liberal Studies<br><span class="pad1">Education Programme (Four-year Full-time)</span></a></li><li><a href="bme_dse.htm" target="_self">■ Bachelor of Music in Education (Honours)<br><span class="pad1">(Contemporary Music and Performance Pedagogy)</span><br><span class="pad1">Programme (Four-year Full-time)</span></a></li><li><a href="bsed_wt_dse.htm" target="_self">■ Bachelor of Science Education (Honours) (Science<br><span class="pad1">and Web Technology) Programme (Four-year Full-time)</span></a></li><li><a href="ss_dse.htm" target="_self">■ Bachelor of Science Education (Honours) (Sports<br><span class="pad1">Science) Programme (Four-year Full-time)</span></a></li><li><a href="bssed_gcs_dse.htm" target="_self">■ Bachelor of Social Science Education (Honours) (Greater<br><span class="pad1">China Studies) Programme (Four-year Full-time)</span></a></li></ul></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r03','','images/m_app_r.gif',1)");
	document.write('"><img src="images/m_app.gif" name="r03" width="210" height="40" border="0"></a><ul class="ul_app"><li class="itemgreent">Entrance Requirements</li><li class="itemgreen">■ Government-funded programmes</li><li><a target="_self" href="app_jupas_dse.htm"><span class="pad1">■ JUPAS</span></a></li><li><a target="_blank" href="app_non_jupas.htm"><span class="pad1">■ Direct application (Non-JUPAS)</span></a></li><li><a href="app_sf_prog.htm" target="_blank">■ Self-financed programmes</a></li><li class="itemgreent"><a href="admission_dse.htm" target="_self">Application Procedures</a></li></ul></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r04','','images/m_dates_r.gif',1)");
	document.write('"><img src="images/m_dates.gif" name="r04" width="210" height="40" border="0"></a><ul class="ul_dates"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="dates_jupas_dse.htm">■ JUPAS</a></li><li><a target="_blank" href="dates_non_jupas_all.htm">■ Direct application (Non-JUPAS)</a></li><li><a target="_blank" href="dates_non_jupas_all.htm"><b>Self-financed programmes</b></a></li></ul></li><li><a href="fees_dse.htm" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r05','','images/m_fees_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_fees.gif" name="r05" width="210" height="40" border="0"></a></li><li><a href="scholarship_dse.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r06','','images/m_scholarship_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_scholarship.gif" name="r06" width="210" height="40" border="0"></a></li><li><a href="why_hkied_dse.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r07','','images/m_why_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_why.gif" name="r07" width="210" height="40" border="0"></a></li><!--<li><a href="#" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r09','','images/m_facts_r.gif',1)");
	document.write('"><img src="images/m_facts.gif" name="r09" width="210" height="40" border="0"></a><ul class="ul_facts"><li><a href="admission_grades.htm" class="MenuBarItemSubmenu">■ Admission Grades</a></li><li><a href="scheme.htm" class="MenuBarItemSubmenu">■ JUPAS Sub-system/Scheme</a></li></ul></li>--><li><a href="related_links_dse.htm" class="MenuBarItemSubmenu" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(');
	document.write("'r11','','images/m_links_r.gif',1)");
	document.write('"><img src="images/m_links.gif" name="r11" width="210" height="40" border="0"></a></li><li><a href="contact_us_dse.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r12','','images/m_contact_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_contact.gif" name="r12" width="210" height="40" border="0"></a></li><li><a href="ug_index_dse.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r13','','images/m_main_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_main.gif" name="r13" width="210" height="40" border="0"></a></li></ul></td></tr><tr><td class="menu_bottom"><img src="images/tranz.gif" width="210" height="15"></td></tr></table><br><table width="210" border="0" cellspacing="0" cellpadding="0"><tr><td><ul id="menuSUPP" class="MenuBarVertical"><li><a href="enquiry_dse.htm" target="_self" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r14','','images/m_enquiry_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_enquiry.gif" name="r14" width="210" height="34" border="0"></a></li><li><a href="#" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r15','','images/m_faq_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_faq.gif" name="r15" width="210" height="34" border="0"></a><ul class="ul_app"><li class="itemgreent">Government-funded programmes</li><li><a target="_self" href="faq_jupas_dse.htm">■ JUPAS</a></li><li><a target="_self" href="faq_non_jupas_dse.htm">■ Direct application (Non-JUPAS)</a></li><li><a target="_blank" href="faq_sf_prog.htm"><b>Self-financed programmes</b></a></li></ul></li><li><a href="ug_index.htm" target="_blank" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r18','','images/m_ale_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_ale.gif" name="r18" width="210" height="34" border="0"></a></li><li><a href="#" class="MenuBarItemSubmenu"><img src="images/m_white.gif" width="210" height="30" border="0"></a></li><li><a href="http://www.ied.edu.hk/acadprog/online/" target="_blank" class="MenuBarItemSubmenu" onMouseOver="MM_swapImage(');
	document.write("'r16','','images/m_online_r.gif',1)");
	document.write('" onMouseOut="MM_swapImgRestore()"><img src="images/m_online_g2.gif" name="r16" width="210" height="34" border="0"></a></li></ul></td></tr></table>');
}
function setmenu() {
	var MenuBar1 = new Spry.Widget.MenuBar("menuALE");
	var MenuBar2 = new Spry.Widget.MenuBar("menuDSE");
	var MenuBar3 = new Spry.Widget.MenuBar("menuSUPP");
}
function shiftCH() {
	var baseurl = document.location.href;
	var fileurl = baseurl.substring(baseurl.lastIndexOf("/")+1);
	var prefurl = baseurl.substring(0, baseurl.lastIndexOf("/")+1);
	document.write('<a href="'+prefurl+'ch/'+fileurl+'" target="_self"><img src="images/lang_shift.gif" width="55" height="35" border="0"></a>');
}
function shiftEN() {
	var baseurl = document.location.href;
	var fileurl = baseurl.substring(baseurl.lastIndexOf("ch/")+3);
	var prefurl = baseurl.substring(0, baseurl.lastIndexOf("ch/"));
	document.write('<a href="'+prefurl+fileurl+'" target="_self"><img src="images/lang_shift.gif" width="55" height="35" border="0"></a>');
}
function writeFooter() {
	var days = new Array(8);
	days[1] = "Sunday";
	days[2] = "Monday";
	days[3] = "Tuesday";
	days[4] = "Wednesday";
	days[5] = "Thursday";
	days[6] = "Friday";
	days[7] = "Saturday";
	var months = new Array(13);
	months[1] = "January";
	months[2] = "February";
	months[3] = "March";
	months[4] = "April";
	months[5] = "May";
	months[6] = "June";
	months[7] = "July";
	months[8] = "August";
	months[9] = "September";
	months[10] = "October";
	months[11] = "November";
	months[12] = "December";
	var dateMod = new Date(document.lastModified);
	var modDay = days[dateMod.getDay()+1];
	var modMonth = months[dateMod.getMonth()+1];
	var modDate = dateMod.getDate();
	var modYear = dateMod.getYear();
	if (modYear<2000) {
		modYear = modYear+1900;
	}
	document.write('<span class="footer">&copy; '+modYear+' <a href="http://www.ied.edu.hk/" target="_blank">The Hong Kong Institute of Education</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All rights reserved<!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Last updated on '+modDate+' '+modMonth+' '+modYear+'--></span>');
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

