NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

//About IMS Layer
if (NS4) {
	document.write ('<LAYER ID="subAboutIMS" VISIBILITY="hide" TOP="103" LEFT="123" onMouseover="MM_showHideLayers(\'subAboutIMS\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subAboutIMS\',\'\',\'hide\');">');
} else {
	document.write ('<div id="subAboutIMS" style="position:absolute; width:120; z-index:3; left: 123px; top: 105px; visibility: hidden" onMouseover="MM_showHideLayers(\'subAboutIMS\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subAboutIMS\',\'\',\'hide\');">');
}
document.writeln('<table bgcolor="gray" cellpadding="0" cellspacing="0"><tr><td>');
document.writeln('<table border="0" cellspacing="1" cellpadding="0">');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/about/intro.htm">Introduction</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/about/contact.htm">Contact Us</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('</table>');
if (NS4) {
	document.writeln('</td></tr></table></LAYER>');
} else {
	document.writeln('</td></tr></table></DIV>');
}


//Activities
if (NS4) {
	document.write ('<LAYER ID="subActivities" VISIBILITY="hide" TOP="126" LEFT="123" onMouseover="MM_showHideLayers(\'subActivities\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subActivities\',\'\',\'hide\');">');
} else {
	document.write ('<div id="subActivities" style="position:absolute; width:140; z-index:3; left: 123px; top: 128px; visibility: hidden" onMouseover="MM_showHideLayers(\'subActivities\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subActivities\',\'\',\'hide\');">');
}
document.writeln('<table bgcolor="gray" cellpadding="0" cellspacing="0"><tr><td>');
document.writeln('<table border="0" cellspacing="1" cellpadding="0">');
document.writeln('<tr><td bgcolor="white" height="22" width="140" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/activities/conferences/">Conferences</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="140" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/cgi-bin/SeminarAdmin/bin/Web">Seminars</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="140" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/activities/yau/">Prof. Yau\'s Activities</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/activities/others/">Others Events</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('</table>');
if (NS4) {
	document.writeln('</td></tr></table></LAYER>');
} else {
	document.writeln('</td></tr></table></DIV>');
}

//Publications
if (NS4) {
	document.write ('<LAYER ID="subPublications" VISIBILITY="hide" TOP="149" LEFT="123" onMouseover="MM_showHideLayers(\'subPublications\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subPublications\',\'\',\'hide\');">');
} else {
	document.write ('<div id="subPublications" style="position:absolute; width:120; z-index:3; left: 123px; top: 151px; visibility: hidden" onMouseover="MM_showHideLayers(\'subPublications\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subPublications\',\'\',\'hide\');">');
}
document.writeln('<table bgcolor="gray" cellpadding="0" cellspacing="0"><tr><td>');
document.writeln('<table border="0" cellspacing="1" cellpadding="0">');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/cgi-bin/TechReptAdmin/bin/Web">Research Reports</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/publications/journals/">Journals</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('</table>');
if (NS4) {
	document.writeln('</td></tr></table></LAYER>');
} else {
	document.writeln('</td></tr></table></DIV>');
}

//People
if (NS4) {
	document.write ('<LAYER ID="subPeople" VISIBILITY="hide" TOP="172" LEFT="123" onMouseover="MM_showHideLayers(\'subPeople\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subPeople\',\'\',\'hide\');">');
} else {
	document.write ('<div id="subPeople" style="position:absolute; width:120; z-index:3; left: 123px; top: 174px; visibility: hidden" onMouseover="MM_showHideLayers(\'subPeople\',\'\',\'show\');" onMouseout="MM_showHideLayers(\'subPeople\',\'\',\'hide\');">');
}
document.writeln('<table bgcolor="gray" cellpadding="0" cellspacing="0"><tr><td>');
document.writeln('<table border="0" cellspacing="1" cellpadding="0">');


// add "students" by don
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/people/students/">Students</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
//end



document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('     &nbsp;<a href="/people/staff/">Staff</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="white" height="22" width="120" onMouseover="this.style.backgroundColor=\'#FD9F37\',this.style.color=\'#000000\';" onMouseout="this.style.backgroundColor=\'white\';">');
document.writeln('  <ILAYER><LAYER ID="home" bgColor="white" width="100%" onMouseover="this.bgColor=\'#FD9F37\';" onMouseout="this.bgColor=\'white\';">');
document.writeln('     &nbsp;<a href="/cgi-bin/VisitorAdmin/bin/Web">Visitors</a>');
document.writeln('  </LAYER></ILAYER>');
document.writeln('</td></tr>');
document.writeln('</table>');
if (NS4) {
	document.writeln('</td></tr></table></LAYER>');
} else {
	document.writeln('</td></tr></table></DIV>');
}
