docpath="/jupas/";
document.write('<meta http-equiv="Content-Type" content="text/html; charset=big5">');
document.write('<script type="text/javascript" language="javascript" src="' + docpath + 'js/sniffer.js">');
//Top Navigational Bar III v3.4.1.1b (By BrotherCake @ cake@brothercake.net)
//Permission granted/modified by Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://www.dynamicdrive.com/
//This notice MUST stay intact for legal use
document.write('</script>');
document.write('<script type="text/javascript" language="javascript1.2" src="' + docpath + 'js/c_custom.js"></script>');
document.write('<script type="text/javascript" language="javascript1.2" src="' + docpath + 'js/style.js"></script>');
document.write('<script type="text/javascript" language="javascript1.2" src="' + docpath + 'js/menu.js"></script>');


//Header
document.write('<link rel=stylesheet href=' + docpath + 'css/header.css>');
document.write('<div style="position: absolute; top: 8px; left: 10px;"><img src=' + docpath + 'image/logo_jupas_left.gif></div>');
//document.write('<div style="position: absolute; top: 3px; left: 662px;"><table border=0><tr valign=top><td nowrap><img src=' + docpath + 'image/icon_search.gif></td><td><form name="form1" method="post" action="http://jupasd.jupas.edu.hk:6128/jupas2007/bin/siteSearch.SiteSearch"><input name="word" type="text" id="word" width="30"><input type="submit" name="Submit" value="Submit"><input name="type" type="hidden" id="type" value="search"></form></td></tr></table></div>');
//document.write('<div style="position: absolute; top: 33px; left: 650px;"><table border=0><tr><td align=right colspan=2 nowrap><font face=arial size=1><a href=jupasFront2006.htm class=header>¤¤¤å</a> | <a href=jupasFront2006.htm class=header>Home</a> | <a href="content_sitemap.htm" class=header>SiteMap</a> | <a href="content_faq.htm" class=header>FAQs</a> | <a href="content_contactinfo.htm" class=header>Useful Contact</a> | <a href="content_calendar.htm" class=header>My Calendar</a></font></td></tr></table></div>')
//document.write('<div style="position: absolute; top: 33px; left: 655px;"><table border=0><tr><td align=right colspan=2 nowrap><font face=arial size=1><a href="" onclick="changeLang();return false;" onMouseOut=changeImg("imgchi","' + docpath + 'image/icon_chinese.gif") onmouseover=changeImg("imgchi","' + docpath + 'image/icon_chinese2.gif") class=header><img name="imgchi" src=' + docpath + 'image/icon_chinese.gif border=0></a> | <a href=jupasFront2006.htm class=header>Home</a> | <a href="content_sitemap.htm" class=header>SiteMap</a> | <a href="content_faq.htm" class=header>FAQs</a> | <a href="content_contactinfo.htm" class=header>Useful Contact</a> | <a href="content_calendar.htm" class=header>My Calendar</a> | <a href="javascript:document.form1.submit()" class=header>Search</a></font></td></tr></table></div>')
//document.write('<div style="position: absolute; top: 22px; left: 700px;"><table border=0><tr><td align=right colspan=2 nowrap><font face=arial size=1><a href="" onclick="changeLang();return false;" onMouseOut=changeImg("imgchi","' + docpath + 'image/src_lang.png") onmouseover=changeImg("imgchi","' + docpath + 'image/src_lang.png") class=header><img name="imgchi" src=' + docpath + 'image/src_lang.png border=0></a>   <a href=jupasFront2006.htm class=header><img src="image/src_home.png" border="0"></a>   <a href="content_sitemap.htm" class=header><img src="image/src_sitemap2.png" border="0"></a>   <a href="content_faq.htm" class=header><img src="image/src_faq.png" border="0"></a>   <a href="content_contactinfo.htm" class=header><img src="image/src_contact.png" border="0"></a>   <a href="content_calendar.htm" class=header><img src="image/src_calendar.png" border="0"></a>   <a href="javascript:document.form1.submit()" class=header><img src="image/icon_search.gif" border="0"></a></font></td></tr></table></div>')
document.write('<div style="position: absolute; top: 45px; left: 700px; z-index=2000"><table border=0><tr><td align=right colspan=2 nowrap><font face=arial size=1><a href="" onclick="changeLang();return false;" class=header><img name="imgchi" src=image/icon_top_lang.gif border=0></a><a href=c_jupasFront.htm class=header><img src="image/icon_top_home.gif" border="0"></a><a href="c_content_sitemap.htm" class=header><img src="image/icon_top_sitemap.gif" border="0"></a><a href="c_content_faq.htm" class=header><img src="image/icon_top_faq.gif" border="0"></a><a href="c_content_contactinfo.htm" class=header><img src="image/icon_top_contact.gif" border="0"></a><a href="c_content_calendar.htm" class=header><img src="image/icon_top_calendar.gif" border="0"></a><a href="c_content_search.htm" class=header><img src="image/icon_top_search.gif" border="0"></a></font></td></tr></table></div>')
document.write('<div style="position: absolute; top: 80px; left: 680px; z-index=1001"><table border=0><tr valign=top><td align=right>')
document.write('<iframe src="/jupas/c_banner.htm" frameBorder=0 width=250 height=325 border=0 scrolling=no></iframe>')
document.write('</td></tr></table></div>');


//document.write('<form name="form1" method="post" action="http://jupasd.jupas.edu.hk:6128/jupas2007/bin/siteSearch.SiteSearch"><input name="word" type="hidden" id="word" width="30"><input name="type" type="hidden" id="type" value="search"></form>');

function changeLang()
{
	if (!(typeof cLoc=='undefined'))
	{ 
		window.location=cLoc }
}

function changeImg(iname,isrc)
{
	document[iname].src=isrc
}

function changeImg2(iname,isrc)
{
	document[iname].src=isrc
}
