document.onclick = checkMenu;

document.write("<div align='center'><center>");
document.write("<TABLE id=menuarea border=0 style='background-color:#3A4E92; color:black;' cellspacing=0 cellpadding=0 width=752 _bordercolorlight=#FFFFFF>");
document.write("<TR><TD><center>");
document.write("<TABLE ID=menuBar ONSELECTSTART='return false' ONCLICK='processClick()' ONMOUSEOVER='doHighlight(event.toElement)' ONMOUSEOUT='doCheckOut()' ONKEYDOWN='processKey()' style='cursor:hand;'>");
document.write("<TR>");
document.write("<TD NOWRAP CLASS=root OnClick='location=\"/index.html\"' OnMouseover='eq_sub_v(\"crew\",\"3\")'>&nbsp;首 页&nbsp;</td>");

document.write("<TD NOWRAP CLASS=root>&nbsp;实验室概况&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/intro.html\"'>本室简介</TD></TR>");
document.write("<TR><TD NOWRAP OnMouseover='eq_sub_d(\"crew\",\"2\")' style=\"cursor:default\"><b>研究队伍<font color=FFFFCC>>></font></TD></TR>");
document.write("<TR><TD OnClick='location=\"/rearch/crew.html\"' NOWRAP id=crew1 style=\"display:'none';color=FFFFCC\">　>队伍结构</TD></TR>");
document.write("<TR><TD OnClick='location=\"/rearch/talent.html\"' NOWRAP id=crew2 style=\"display:'none';color=FFFFCC\">　>杰出人才</TD></TR>");

document.write("<TR><TD NOWRAP OnClick='location=\"/c_equim.html\"'>仪器设备</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/bulletin.htm\"'>工作简报</TD></TR>");
document.write("</TABLE></TD>");

document.write("<TD NOWRAP CLASS=root OnMouseover='eq_sub_v(\"crew\",\"3\")'>&nbsp;实验室架构&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/director.html\"'>实验室主任</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/council.html\"'>学术委员会</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/structure.htm\"'>下属研究室</TD></TR>");
document.write("</TABLE></TD>");
document.write("<TD NOWRAP CLASS=root>&nbsp;科学研究&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/yjfx.html\"'>研究方向</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/projects.html\"'>在研项目</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/\"'>研究进展</TD></TR>");
document.write("</TABLE></TD>");

document.write("<TD NOWRAP CLASS=root>&nbsp;开放交流&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/news/inter.php\"'>交流动态</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/guide1.htm\"'>国际合作</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/kfketi/c_open.html\"'>开放课题</TD></TR>");
document.write("</TABLE></TD>");

document.write("<TD NOWRAP CLASS=root OnMouseover='eq_sub_v(\"eq\",\"3\");eq_sub_v(\"data\",\"4\")'>&nbsp;研究生培养&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/subjects.htm\"'>学科点布局</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/tutors.htm\"'>导师与方向</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/\"'>环境与条件</TD></TR>");
document.write("</TABLE></TD>");


document.write("<TD NOWRAP CLASS=root>&nbsp;内部管理&nbsp;<TABLE CELLSPACING=0 CELLPADDING=0>");
document.write("<TR><TD NOWRAP OnClick='location=\"/principle.html\"'>管理制度</TD></TR>");
document.write("<TR><TD NOWRAP OnMouseover='eq_sub_d(\"eq\",\"4\")' style=\"cursor:default\"><b>设备管理<font color=FFFFCC>>></font></TD></TR>");
document.write("<TR><TD OnClick='location=\"/equipmana/equiping.html\"'NOWRAP id=eq1 style=\"display:'none';color=FFFFCC\">　>设备查询</TD></TR>");
document.write("<TR><TD OnClick='location=\"/syrwd.doc\"'NOWRAP id=eq2 style=\"display:'none';color=FFFFCC\">　>设备使用申请表</TD></TR>");
document.write("<TR><TD OnClick='location=\"/oemtdata/engagetab/index.aspx\"'NOWRAP id=eq3 style=\"display:'none';color=FFFFCC\">　>讲学厅预约</TD></TR>");
document.write("<TR><TD OnClick='location=\"/equipmana/fees.html\"'NOWRAP id=eq4 style=\"display:'none';color=FFFFCC\">　>收费通知</TD></TR>");
document.write("<TR><TD NOWRAP OnClick='location=\"/oemtdata/grantsearch.php\"'>信息查询</TD></TR>");
document.write("<TR><TD NOWRAP OnMouseover='eq_sub_d(\"data\",\"4\")' style=\"cursor:default\"><b>数据上传<font color=FFFFCC>>></font></TD></TR>");
document.write("<TR><TD OnClick='location=\"/oemtdata/paper/grantpaperadd.php\"'NOWRAP id=data1 style=\"display:'none';color=FFFFCC\">　>发表论文</TD></TR>");
document.write("<TR><TD OnClick='location=\"/transmit/patent.html\"'NOWRAP id=data2 style=\"display:'none';color=FFFFCC\">　>申请专利</TD></TR>");
document.write("<TR><TD OnClick='location=\"/oemtdata/fruit/grantfruitadd.php\"'NOWRAP id=data3 style=\"display:'none';color=FFFFCC\">　>鉴定成果</TD></TR>");
document.write("<TR><TD OnClick='location=\"/oemtdata/meeting/grantadd.php\"'NOWRAP id=data4 style=\"display:'none';color=FFFFCC\">　>参加会议</TD></TR>");
document.write("</TABLE></TD>");


document.write("<TD NOWRAP CLASS=root OnClick='location=\"/link.html\"' OnMouseover='eq_sub_v(\"eq\",\"3\");eq_sub_v(\"data\",\"4\")'>&nbsp;相关链接&nbsp;</td>");

document.write("<TD NOWRAP CLASS=root OnClick='location=\"mailto:oemta@mail.sysu.edu.cn\"'>&nbsp;联系我们&nbsp;</td>");
document.write("<TD NOWRAP CLASS=root OnClick='location=\"/e_intro.html\"'><font face='Arial' style='font-size:12px'>&nbsp;English Version&nbsp;</font></td>");
// 填充右边界
// document.write("<TD WIDTH=100% class=clear></TD>");
//document.write("</TR>");
document.write("</TABLE></TD></TR></TABLE>");
document.write("</center></div>");

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function eq_sub_d(sid,num)
{
for(i=1;i<=num;i++)
{MM_findObj(sid+i).style.display=""}
}
function eq_sub_v(sid,num)
{
for(i=1;i<=num;i++)
{MM_findObj(sid+i).style.display="none"}
}