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 for check current Path
function getLocationPath(){
	var locPath=location.href.toString();
	var subPath='';

	if(location.href.toString().search('dev02.westcomzivo.com/marathon101')!=-1){
		subPath="ht"+"tp://dev02.westcomzivo.com/marathon101"
		HomePath="dev02.westcomzivo.com/marathon101"
	}
	if(location.href.toString().search('marathon101.westcomzivo.com')!=-1){
		subPath="ht"+"tp://marathon101.westcomzivo.com"
		HomePath="marathon101.westcomzivo.com"
	}
	if(location.href.toString().search('www.marathon101.com.hk')!=-1){
		subPath="ht"+"tp://www.marathon101.com.hk"
		HomePath="www.marathon101.com.hk"
	}
	if(subPath==''){
		var lastSlash=location.href.toString().lastIndexOf('/');
		subPath=location.href.toString().substring(0, lastSlash);
	}

	locationPath=subPath;
}

function langSwitch(lang) {
	var goPath;
	var pagePath=document.location.pathname;
	var temptemp;
	temptemp=document.location.toString();
	if (langID ==1){
		temptemp=temptemp.indexOf('/en');
	} else if (langID == 2){
		temptemp=temptemp.indexOf('/tc');
	} else if (langID == 3){
		temptemp=temptemp.indexOf('/sc');
	} else {
		temptemp=temptemp.indexOf('/en');
	}
	var tempPath=window.location;
	var tempLocationPath;
	tempPath = tempPath.toString();
	tempLocationPath = document.location.toString().substring(0, temptemp+1);
	
	if (lang=='en') { //change to English version
		goPath=tempLocationPath+'en/'+tempPath.substring(temptemp+4, tempPath.length);
	}
	if (lang=='tc') { //change to traditional chinese version
		goPath=tempLocationPath+'tc/'+tempPath.substring(temptemp+4, tempPath.length);
	}
	if (lang=='sc') { //change to simplified chinese version
		goPath=tempLocationPath+'sc/'+tempPath.substring(temptemp+4, tempPath.length);
	}
	
	document.location=goPath;
}

function addMenu(sectionID, caption, chi_caption,url,offPic,onPic,hasChild,sitemap,navigationMenu)
{
	menuObj[x] = new Object();
	menuObj[x].id = sectionID;
	menuObj[x].caption = caption;
	menuObj[x].chiCaption = chi_caption;
	if(url.search('http://')!=-1){
		menuObj[x].url = url;
		menuObj[x].popup = ' target="_blank"'
	}else{
		menuObj[x].url = locationPath+langPath+url;
		menuObj[x].popup = ''
	}
	menuObj[x].onPic = imagePath + "images/menu/" + onPic;
	menuObj[x].offPic = imagePath + "images/menu/" + offPic;
	menuObj[x].hasChild = hasChild;
	menuObj[x].sitemap = sitemap;
	menuObj[x].navigationMenu = navigationMenu;
	x++;
}

function addSubMenu(menuID, subSectionID, caption, chi_caption,url,sitemap,navigationMenu)
{
	subMenuObj[y] = new Object();
	subMenuObj[y].id = subSectionID;
	subMenuObj[y].menuID = menuID;
	subMenuObj[y].caption = caption;
	subMenuObj[y].chiCaption = chi_caption;
	if(url.search('http://')!=-1){
		subMenuObj[y].url = url;
		subMenuObj[y].popup = ' target="_blank"'
	}else if(url.search('.pdf')!=-1){
		subMenuObj[y].url = url;
		subMenuObj[y].popup = ' target="_blank"'
	}else if(url.search('javascript:')!=-1){
		subMenuObj[y].url = url;
		subMenuObj[y].popup = ''
	}else{
		subMenuObj[y].url = locationPath+langPath+url;
		subMenuObj[y].popup = ''
	}
	subMenuObj[y].sitemap = sitemap;
	subMenuObj[y].navigationMenu = navigationMenu;
	y++;
}

function jump(num){
//alert(num);
	var url=new Array();

	url[1] = "../education/index.html";
	url[2] = "../teaching/index.html";
	url[3] = "../extra/index.html";
	url[4] = "../teacher/index.html";
	url[5] = "../student/index.html";
	url[6] = "../resource/index.html";
	url[7] = "../news/index.html";
	url[8] = "../media/index.html";
	url[9] = "../contact/index.html";

	url[11] = "../education/index.html";
	url[12] = "../education/index_01.html";
	url[13] = "../education/index_02.html";
	url[14] = "../education/index_03.html";

	url[21] = "../teaching/index.html";
	url[22] = "../teaching/index_01.html";
	url[23] = "../teaching/index_02.html";

	url[30] = "../extra/main.html";
	url[31] = "../extra/index_04.html"
	url[32] = "../extra/index_02.html"
	url[33] = "../extra/index_03.html"
	url[34] = "../extra/index.html"

	url[41] = "../teacher/primary_login.aspx";
	url[42] = "../teacher/college_login.aspx";

	url[51] = "../student/primary.aspx";
	url[52] = "../student/college.aspx";

	url[61] = "../resource/index.html";
	url[62] = "../resource/index_01.html";
	url[63] = "../resource/index_02.html";
	url[64] = "../resource/index_03.html";

	//url[70] = "../photogallery/index_01.html";
	url[71] = "../photogallery/index_02.html";
	url[72] = "../photogallery/index_03.html";
	url[73] = "../photogallery/index_04.html";
	url[74] = "../photogallery/index_05.html";
	//url[80] = "../pastevents/main.html";
	url[81] = "../media/index.html";
	url[82] = "../media/index_01.html";
	url[83] = "../media/index_02.html";
	//url[82] = "../pastevents/index_01.html";
	//url[80] = "../media/index.html";
	//url[91] = "../media/index.html";
	//url[92] = "../media/index_01.html";

	url[90] = "../contact/index.html";
	//url[100] = "../photogallery/index_03.html";
	url[100] = "../news/index.html"
	//url[101] = "../news/index.html";
	//url[102] = "../news/index_02.html";
	if(url[num] != null)
		location.href = url[num].replace((location.href.search(/((en|tc)\/index.html$|(en|tc)\/$)/)!=-1)?"../":"",'');
}

//header Start
function getheader()
{
document.write ('<table align="center" width="779" border="0" cellspacing="0" cellpadding="0">');
document.write ('	<tr>');
document.write ('		<td align="center">');
document.write ('			<table width="779" border="0" cellspacing="0" cellpadding="0">');
document.write ('				<tr>');
document.write ('					<td width="227" rowspan="2" align="left"><a href="../index.html"><img src="../../common/images/logo.jpg" width="129" height="87"  border="0"></a><img src="../../common/images/spacer.gif" width="1" height="1" /></td>');
document.write ('					<td width="551" height="26" colspan="2" align="left" valign="bottom"><img src="../../common/images/spacer.gif" width="1" height="1" /></td>');
document.write ('				</tr>');
document.write ('				<tr>');
document.write ('					<td colspan="2" align="left" valign="top">');
document.write ('						<table width="552" height="61" border="0" cellpadding="0" cellspacing="0">');
document.write ('							<tr>');
document.write ('								<td valign="top"><img src="../images/top1.gif" width="379" height="61" /></td>');
//document.write ('								<td valign="top"><img src="../../common/images/spacer.gif" width="1" height="1" /><img src="../../common/images/spacer.gif" width="1" height="1" /></td>');
document.write ('								<td valign="top"><img src="../../common/images/spacer.gif" width="1" height="1" /><a href="javascript:langSwitch(\'tc\')" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image18\',\'\',\'../../common/images/btn_chi_over.jpg\',1)"><img src="../../common/images/btn_chi.jpg" name="Image18" width="40" height="19" border="0" id="Image18" /></a><a href="javascript:langSwitch(\'en\')" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image20\',\'\',\'../../common/images/btn_en_over.jpg\',0)"><img src="../../common/images/btn_en.jpg" name="Image20" width="44" height="19" border="0" id="Image20" /></a><img src="../../common/images/spacer.gif" width="1" height="1" /></td>');
document.write ('							</tr>');
document.write ('						</table>');
document.write ('					</td>');
document.write ('				</tr>');
document.write ('				<tr valign="top">');
document.write ('					<td colspan="3" valign="top">');
document.write ('						<table width="779" border="0" cellspacing="0" cellpadding="0">');
document.write ('							<tr valign="top">');
document.write ('								<td width="227" align="left" valign="top" background="../../common/images/right.gif">');
document.write ('									<table border="0" cellpadding="0" cellspacing="0" width="227" height="394">');
document.write ('										<tr valign="top">');
document.write ('											<td>');
document.write ('												<div id="layer1">');
document.write ('													<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="360" height="394" id="layer_test" align="middle">');
document.write ('														<param name="allowScriptAccess" value="sameDomain">');
document.write ('														<param name="movie" value="../images/inside_menu.swf">');
document.write ('														<param name="quality" value="high">');
document.write ('														<param name="scale" value="noscale">');
document.write ('														<param name="wmode" value="transparent">');
document.write ('														<param name="bgcolor" value="#ffffff">');
document.write ('														<embed src="../images/inside_menu.swf" quality="high" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="360" height="394" name="layer_test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write ('													</object>');
document.write ('												</div>');
document.write ('											</td>');
document.write ('										</tr>');
document.write ('									</table>');
if (log_in==1)
{
document.write ('									<table width="176" border="0" cellspacing="0" cellpadding="0">');
document.write ('										<tr>');
document.write ('											<td width="74"><img src="../images/login_name1.jpg" width="74" height="26" /></td>');
document.write ('											<td align="left" valign="middle"><label><input name="textfield" type="text" class="box" /></label></td>');
document.write ('										</tr>');
document.write ('										<tr>');
document.write ('											<td><img src="../images/login_name2.jpg" width="74" height="26" /></td>');
document.write ('											<td align="left" valign="middle"><input name="textfield2" type="text" class="box" /></td>');
document.write ('										</tr>');
document.write ('										<tr>');
document.write ('											<td>&nbsp;</td>');
document.write ('											<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image19\',\'\',\'../images/login_btn_over.jpg\',1)"><img src="../images/login_btn.jpg" name="Image19" width="102" height="30" border="0" id="Image19" /></a></td>');
document.write ('										</tr>');
document.write ('									</table>');
}
else
{
document.write ('									<table width="176" border="0" cellspacing="0" cellpadding="0">');
document.write ('										<tr>');
document.write ('											<td>&nbsp;</td>');
document.write ('										</tr>');
document.write ('									</table>');
}

document.write ('								</td>');
document.write ('								<td align="left" valign="top" background="../../common/images/middle.jpg" bgcolor="#E2F3F8">');
document.write ('									<table width="552" border="0" cellspacing="0" cellpadding="0">');
document.write ('										<tr>');
document.write ('											<td colspan="2"><img src="../images/top2.gif" width="552" height="80" /></td>');
document.write ('										</tr>');
document.write ('										<tr>');
if(Selected_ID != 0){
getTopic();
}else{
document.writeln('<td width="521" valign="top" class="path"><p>&nbsp;</p></td>');
}
document.write ('											<td width="31" align="right" valign="top" class="path"><img src="../../common/images/left_top.gif" width="31" height="27" /></td>');
document.write ('										</tr>');
document.write ('									</table>');
document.write ('									<table width="552" border="0" cellspacing="0" cellpadding="0">');
document.write ('										<tr valign="top">');
document.write ('											<td width="491">');

if(Selected_ID != 0){
if(Selected_ID == 12){
document.write ('												<p><img src="../images/header_pass.gif"></p>');
}else{
document.write ('												<p><img src="../images/header_'+Selected_ID+'.gif"></p>');
}
}
if((Selected_ID==10)||(Selected_ID==11))
{
document.write ('');
}
else if((Selected_ID==3 && Selected_Sub==0))
{
document.write ('												<p></p>');
}
else if((Selected_ID==3 && Selected_Sub==1))
{
document.write ('												<p><img src="../images/sub_head_reporter.gif"></p>');
}
else if((Selected_ID==3 && Selected_Sub==2))
{
document.write ('												<p><img src="../images/sub_head_cheer.gif"></p>');
}
else if((Selected_ID==3 && Selected_Sub==3))
{
document.write ('												<p><img src="../images/sub_head_community.gif"></p>');
}
else if((Selected_ID==3 && Selected_Sub==4))
{
document.write ('												<p><img src="../images/sub_head_dev_programme.gif"></p>');
}
else if((Selected_ID==3 && Selected_Sub==5))
{
document.write ('												<p><img src="../images/sub_head_competition.gif"></p>');
}
else
{
if(Selected_ID == 0 && Selected_Sub == 0 || Selected_ID == 7 && Selected_Sub == 0){
//do nth
}else{
document.write ('												<p><img src="../../common/images/title_v.jpg" border="0"><img src="../images/sub_header_'+Selected_ID+''+Selected_Sub+'.gif"></p>');
}
}
}
//Header End

//Footer Start
function getfooter()
{
document.write ('											</td>');
if( (Selected_ID==4 && Selected_Sub==1 && Right_Visual==1)||(Selected_ID==4 && Selected_Sub==2 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../images/right_visual_7.jpg" border="0"></td>');
}
else if ((Selected_ID==5 && Selected_Sub==1 && Right_Visual==1)||(Selected_ID==5 && Selected_Sub==2 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../images/right_visual_6.jpg" border="0"></td>');
}
else if ((Selected_ID==3 && Selected_Sub==0 && Right_Visual==0))
{
document.write ('											<td width="61">&nbsp;</td>');
}
else if ((Selected_ID==3 && Selected_Sub==1 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../../common/images/right_visual_3.jpg" border="0"></td>');
}
else if ((Selected_ID==3 && Selected_Sub==2 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../../common/images/right_visual_4.jpg" border="0"></td>');
}
else if ((Selected_ID==3 && Selected_Sub==3 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../../common/images/right_visual_5.jpg" border="0"></td>');
}
else if ((Selected_ID==3 && Selected_Sub==4 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../../common/images/right_visual_9.jpg" border="0"></td>');
}
else if ((Selected_ID==3 && Selected_Sub==5 && Right_Visual==1))
{
document.write ('											<td width="61"><img src="../../common/images/right_visual_8.jpg" border="0"></td>');
}
else
{
document.write ('											<td width="61">&nbsp;</td>');
}
document.write ('										</tr>');
document.write ('									</table>');
document.write ('								</td>');
document.write ('							</tr>');
document.write ('							<tr>');
document.write ('								<td align="right"><img src="../../common/images/right_bottom.gif" width="51" height="71"></td>');
if (Back_btn==1)
{
document.write ('								<td align="right" valign="top" background="../../common/images/bottom_bg.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="bottom"><td align="left"><a href="../index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'home\',\'\',\'../images/btn_home_over.gif\',1)"><img src="../images/btn_home.gif" name="home" border="0" id="home"></a></td><td align="right"><a href="javascript:history.go(-1)" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image21\',\'\',\'../images/btn_back_over.gif\',1)"><img src="../images/btn_back.gif" name="Image21" border="0" id="Image21"></a><img src="../../common/images/spacer.gif" width="40" height="40"></td></tr></table></td>');
}
else
{
document.write ('								<td align="right" valign="top" background="../../common/images/bottom_bg.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="bottom"><td align="left"><a href="../index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'home\',\'\',\'../images/btn_home_over.gif\',1)"><img src="../images/btn_home.gif" name="home" border="0" id="home"></a></td><td align="right"><img src="../../common/images/spacer.gif" width="40" height="40"></td></tr></table></td>');
}
document.write ('							</tr>');
document.write ('						</table>');
document.write ('					</td>');
document.write ('				</tr>');
document.write ('			</table>');
document.write ('			<table align="right" border="0" cellspacing="0" cellpadding="0" width="603">');
document.write ('				<tr valign="top">');
if (langID ==1)
{
document.write ('					<td width="166"><a href="http://www.hkaaa.com/hkaaa/eindex.html" target="_blank"><img src="../../common/images/footer_logo1.jpg" border="0"></a></td>');
document.write ('					<td>');
document.write ('						<p class="path">&nbsp;</p>');
update_date();
/*document.write ('						<p class="path" align="center"><br><a href="../sitemap/index.html">Site Map</a> | <a href="../disclaimer/index.html">Disclaimer</a><br>2007&copy; Marathon 101 Education Programme. All Rights Reserved.<br>Last revision date: 02 February, 2009</p>');*/
document.write ('					</td>');
document.write ('					<td width="100"><a href="http://www.standardchartered.com.hk/index.html" target="_blank"><img src="../../common/images/footer_logo2.jpg" border="0"></a></td>');
}
else
{
document.write ('					<td width="166"><a href="http://www.hkaaa.com/hkaaa/chi-index.html" target="_blank"><img src="../../common/images/footer_logo1.jpg" border="0"></a></td>');
document.write ('					<td>');
document.write ('						<p class="path">&nbsp;</p>');
update_date();
/*document.write ('						<p class="path" align="center"><br><a href="../sitemap/index.html">網頁指南</a> | <a href="../disclaimer/index.html">免責聲明</a><br>2007&copy; 馬 拉 松 101 教 育 計 劃 ， 版 權 所 有<br>修 訂 日 期 ： 2009 年 2 月 2 日</p>');*/
document.write ('					</td>');
document.write ('					<td width="100"><a href="http://www.standardchartered.com.hk/chi/c_index.html" target="_blank"><img src="../../common/images/footer_logo2.jpg" border="0"></a></td>');
}
document.write ('				</tr>');
document.write ('				<tr><td colspan="3">&nbsp;</td></tr>');
document.write ('			</table>');
document.write ('		</td>');
document.write ('	</tr>');
document.write ('</table>');
}
//Footer End

function getCaption(menu, i){
	var showAlt;

	if(langID==1)
		eval('showAlt='+menu+'['+i+'].caption');	
	else
		eval('showAlt='+menu+'['+i+'].chiCaption');	
	return showAlt;
}

function getMenuPath(ID, sub_ID, showlink){
	var strText;
	if(showlink)
		strText = "<a href='"+menuObj[Selected_ID].url+"' class='path'>"+getCaption('menuObj', ID)+"</a>"
	else
		strText = getCaption('menuObj', ID)
	return strText;
}

function getSubMenuPath(ID, sub_ID, showlink){
	var strText;
	var langText;
	
	if(langID==1)
		langText=".caption";
	else
		langText=".chiCaption";
	for(var i=1;i<y;i++){
		if (subMenuObj[i])
		{
			if (subMenuObj[i].menuID==ID){
				if (subMenuObj[i].id == sub_ID){
					if(showlink)
					{
						strText = "<a href='"+subMenuObj[i].url+"'"+subMenuObj[i].popup+" class='path'>"+eval('subMenuObj[i]'+langText)+"</a>";					
					}
					else
					{
						strText = "<span class=\"path_bold\">"+eval('subMenuObj[i]'+langText)+"</span>";
					}
				}
			}
		}
	}

	return strText;
}

function getTopic(){
	var showPath;
	if(exLink!=null)
		showPath = exLink;
	var checkList = new Array()
		checkList[0] = "Selected_Sub"
		checkList[1] = "Selected_ID"
	var functionList = new Array()
		functionList[0] ="getSubMenuPath" 
		functionList[1] ="getMenuPath" 

	for (var i in checkList){
		if(eval(checkList[i]) > 0){
			if(showPath==null){
				showPath = eval(eval("functionList["+i+"]")+"("+Selected_ID+", "+Selected_Sub+", false)");
			}else{
				showPath = eval(eval("functionList["+i+"]")+"("+Selected_ID+", "+Selected_Sub+", true)") + "<span class='path'> > </span>" + showPath;
			}
		}
	}
	showPath = "<span class='path_arrow'> > </span>" + showPath;
//	alert(showPath)
	var functionNum;
	functionNum = 1;
	if(Selected_ID<10)
		var titleNum="0"+Selected_ID;
	else
		var titleNum=Selected_ID;
	
	if(Selected_Sub>0){
		functionNum = 0;
		if(Selected_Sub<10){
			titleNum=titleNum+"_0"+Selected_Sub;
		}else{
			titleNum=titleNum+"_"+Selected_Sub;
		}
	}

	document.writeln('<td width="521" valign="top" class="path">'+showPath+'<p>&nbsp;</p></td>');
}

function getSiteMap(){
	var bulletPath1;
	var bulletPath2;
		bulletPath1='<img src="../../common/images/bullet.jpg" border=0 alt="*">';
		bulletPath2='<img src="../../common/images/bullet2.gif" border=0 alt="*">';
	
	document.writeln('<table border=0 cellspacing=0 cellpadding=3 width=100%>');
	for(var i=1;i<x;i++){
		if(menuObj[i]){
			if(menuObj[i].sitemap=="Y"){
				document.write('<tr valign=top><td nowrap>'+bulletPath1+'&nbsp;</td><td width=100%><a href="'+menuObj[i].url+'"'+menuObj[i].popup+' class="Link">'+getCaption('menuObj', i)+'</a></td>');
				if(menuObj[i].hasChild=="Y" || menuObj[i].hasChild=="L"){
					document.writeln('	<tr valign=top><td nowrap>&nbsp;</td><td width=100%><table border=0 cellspacing=0 cellpaddding=3 width=100%>');
					for(var j=1;j<y;j++){
						if (subMenuObj[j].menuID==i)
							document.write('	<tr valign=top><td nowrap>'+bulletPath2+'&nbsp;</td><td width=100%><a href="'+subMenuObj[j].url+'"'+subMenuObj[j].popup+' class="Link">'+getCaption('subMenuObj', j)+'</a></td></tr>');
					}
					document.writeln('	</table></td></tr>');
				}else{
				document.writeln('</tr>');
				}
			}
		}
	}
	document.writeln('</table>');
}

function pop(url, name, width, height) {
width=width/1;
height=height/1;

	name=window.open(url,name,'toolbar=no,resizable=yes,scrollbars=yes,width='+(width+16)+',height='+(height)+'');
}

function pop_photo(url, name, width, height){
	name=window.open(url,name,'toolbar=no,resizable=no,scrollbars=no,width='+width+',height='+height+'');
}

function update_date(){
var path = ((isIndex == null)?'../':'');
if (langID ==1)
{
document.write ('						<p class="path" align="center"><br><a href="'+path+'sitemap/index.html">Site Map</a> | <a href="'+path+'disclaimer/index.html">Disclaimer</a><br>2007&copy; Marathon 101 Education Programme. All Rights Reserved.<br>Last revision date: 16 July, 2010</p>');
}else{
document.write ('						<p class="path" align="center"><br><a href="'+path+'sitemap/index.html">網頁指南</a> | <a href="'+path+'disclaimer/index.html">免責聲明</a><br>2007&copy; 馬 拉 松 101 教 育 計 劃 ， 版 權 所 有<br>修 訂 日 期 ： 2010 年 7 月 16 日</p>');

}
}