﻿document.writeln("<SCRIPT language=JavaScript>");
document.writeln("<!--");
document.writeln("");
document.writeln("function MM_goToURL() { \/\/v3.0");
document.writeln("  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;");
document.writeln("  for (i=0; i<(args.length-1); i+=2) eval(args[i]+\".location=\'\"+args[i+1]+\"\'\");");
document.writeln("}");
document.writeln("function JM_cc(ob){");
document.writeln("var obj=MM_findObj(ob); if (obj) { ");
document.writeln("obj.select();js=obj.createTextRange();js.execCommand(\"Copy\");}");
document.writeln("}");
document.writeln("");
document.writeln("function MM_findObj(n, d) { \/\/v4.0");
document.writeln("  var p,i,x;  if(!d) d=document; if((p=n.indexOf(\"?\"))>0 && parent.frames.length) {");
document.writeln("    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}");
document.writeln("  if(!(x=d[n]) && d.all) x=d.all[n]; for (i=0;!x && i<d.forms.length;i++) x=d.forms[i][n];");
document.writeln("  for(i=0;!x && d.layers && i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);");
document.writeln("  if(!x  &&  document.getElementById) x=document.getElementById(n); return x;");
document.writeln("}");
document.writeln("\/\/-->");
document.writeln("<\/SCRIPT>");
document.writeln("<SCRIPT language=JavaScript>");
document.writeln("<!--");
document.writeln("");
document.writeln("menuPrefix = \'menu\';  \/\/ Prefix that all menu layers must start with");
document.writeln("                      \/\/ All layers with this prefix will be treated");
document.writeln("                      \/\/ as a part of the menu system.");
document.writeln("");
document.writeln("var menuTree, mouseMenu, hideTimer, doHide;");
document.writeln("");
document.writeln("function init() {");
document.writeln("  ie4 = (document.all)?true:false;");
document.writeln("  ns4 = (document.layers)?true:false;");
document.writeln("  document.onmousemove = mouseMove;");
document.writeln("  if (ns4) { document.captureEvents(Event.MOUSEMOVE); }");
document.writeln("}");
document.writeln("");
document.writeln("function expandMenu(menuContainer,subContainer,menuLeft,menuTop) {");
document.writeln("    \/\/ Hide all submenus thats\'s not below the current level");
document.writeln("    doHide = false;");
document.writeln("  if (menuContainer != menuTree) {");
document.writeln("      if (ie4) {");
document.writeln("      var menuLayers = document.all.tags(\"DIV\");");
document.writeln("      for (i=0; i<menuLayers.length; i++) {");
document.writeln("        if ((menuLayers[i].id.indexOf(menuContainer) != -1)  &&  (menuLayers[i].id != menuContainer)) {");
document.writeln("          hideObject(menuLayers[i].id);");
document.writeln("        }");
document.writeln("      }");
document.writeln("    }");
document.writeln("    else if (ns4) {");
document.writeln("      for (i=0; i<document.layers.length; i++) {");
document.writeln("        var menuLayer = document.layers[i];");
document.writeln("        if ((menuLayer.id.indexOf(menuContainer) != -1)  &&  (menuLayer.id != menuContainer)) {");
document.writeln("          menuLayer.visibility = \"hide\";");
document.writeln("        }");
document.writeln("      }");
document.writeln("    }");
document.writeln("  }");
document.writeln("  \/\/ If this is item has a submenu, display it, or it it\'s a toplevel menu, open it");
document.writeln("  if (subContainer) {");
document.writeln("    if ((menuLeft)  &&  (menuTop)) {");
document.writeln("        positionObject(subContainer,menuLeft,menuTop);");
document.writeln("        hideAll();");
document.writeln("    }");
document.writeln("    else {");
document.writeln("      if (ie4) {");
document.writeln("          positionObject(subContainer, document.all[menuContainer].offsetWidth + document.all[menuContainer].style.pixelLeft - 10, mouseY);");
document.writeln("      }");
document.writeln("      else {");
document.writeln("          positionObject(subContainer, document.layers[menuContainer].document.width + document.layers[menuContainer].left + 50, mouseY);");
document.writeln("      }");
document.writeln("    }");
document.writeln("    showObject(subContainer);");
document.writeln("    menuTree = subContainer;");
document.writeln("  }");
document.writeln("}");
document.writeln("");
document.writeln("function showObject(obj) {");
document.writeln("  if (ie4) { document.all[obj].style.visibility = \"visible\"; }");
document.writeln("  else if (ns4) { document.layers[obj].visibility = \"show\";  }");
document.writeln("}");
document.writeln("");
document.writeln("function hideObject(obj) {");
document.writeln("  if (ie4) { document.all[obj].style.visibility = \"hidden\"; }");
document.writeln("  else if (ns4) { document.layers[obj].visibility = \"hide\"; }");
document.writeln("}");
document.writeln("");
document.writeln("function positionObject(obj,x,y) {");
document.writeln("  if (ie4) {");
document.writeln("    var foo = document.all[obj].style;");
document.writeln("    foo.left = x;");
document.writeln("    foo.top = y;");
document.writeln("  }");
document.writeln("  else if (ns4) {");
document.writeln("    var foo = document.layers[obj];");
document.writeln("    foo.left = x;");
document.writeln("    foo.top = y;");
document.writeln("   }");
document.writeln("}");
document.writeln("");
document.writeln("function hideAll() {");
document.writeln(" if (ie4) {");
document.writeln("    var menuLayers = document.all.tags(\"DIV\");");
document.writeln("    for (i=0; i<menuLayers.length; i++) {");
document.writeln("      if (menuLayers[i].id.indexOf(menuPrefix) != -1) {");
document.writeln("        hideObject(menuLayers[i].id);");
document.writeln("      }");
document.writeln("    }");
document.writeln("  }");
document.writeln("  else if (ns4) {");
document.writeln("    for (i=0; i<document.layers.length; i++) {");
document.writeln("      var menuLayer = document.layers[i];");
document.writeln("      if (menuLayer.id.indexOf(menuPrefix) != -1) {");
document.writeln("        hideObject(menuLayer.id);");
document.writeln("      }");
document.writeln("    }");
document.writeln("  }");
document.writeln("}");
document.writeln("");
document.writeln("function hideMe(hide) {");
document.writeln("    if (hide) {");
document.writeln("        if (doHide) { hideAll(); }");
document.writeln("    }");
document.writeln("    else {");
document.writeln("        doHide = true;");
document.writeln("        hideTimer = window.setTimeout(\"hideMe(true);\", 1000);");
document.writeln("    }");
document.writeln("}");
document.writeln("");
document.writeln("function mouseMove(e) {");
document.writeln("  if (ie4) { mouseY = window.event.y; }");
document.writeln("  if (ns4) { mouseY = e.pageY; }");
document.writeln("}");
document.writeln("");
document.writeln("function itemHover(obj,src,text,style) {");
document.writeln("  if (ns4) {");
document.writeln("    var text = \'<nobr><a href=\"\' + src + \'\" class=\"\' + style + \'\">\' + text + \'<\\\/a><\\\/nobr>\'");
document.writeln("    obj.document.open();");
document.writeln("    obj.document.write(text);");
document.writeln("    obj.document.close();");
document.writeln("  }");
document.writeln("}");
document.writeln("");
document.writeln("onload = init;");
document.writeln("\/\/-->");
document.writeln("<\/SCRIPT>");
document.writeln("<style type=text\/css>");
document.writeln("<!--");
document.writeln("  .menu                   { position: absolute; left: 0; top: 2;");
document.writeln("                             visibility: hidden; background: #FFFFFF;");
document.writeln("                             width: 100px; margin: 0px 0px; padding: 0px 0px;");
document.writeln("                             border: 1px silver solid;");
document.writeln("                             overflow: visible; ; clip:     rect(   )}");
document.writeln(".menu a:visited { font-family: \"Tahoma\"; font-size: 11px;");
document.writeln("                             text-decoration: none; font-weight: normal;");
document.writeln("                             color: black; background: #E2E2E2;");
document.writeln("                             width: 114px; padding-left: 8px; ; line-height: 14px; border-color: #FFFFFF #666666 #333333 #999999; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; clip:  rect(   )}");
document.writeln("  .menu a:hover            { font-family: \"Tahoma\"; font-size: 11px;");
document.writeln("                             text-decoration: none; font-weight: normal;");
document.writeln("                             color: #FFFFFF; background: #009900;");
document.writeln("                             width: 114px; padding-left: 8px; ; line-height: 14px; clip:  rect(   )}");
document.writeln("  .menu .border            { border: 1px solid #F4F4F4;");
document.writeln("                             border-bottom: 1px solid #808080;");
document.writeln("                             border-right: 1px solid #808080; }");
document.writeln("  .menu .text              { overflow: hidden;");
document.writeln("                             width: 125px; height: 14px; }");
document.writeln("  .menu .arrow             { overflow: hidden;");
document.writeln("                             width: 15px; height: 12px;");
document.writeln("                             padding-left: 5px; padding-top: 3px; }");
document.writeln("  .menu .arrow img         { width: 6px; height: 7px;");
document.writeln("                             border: 0px; }  .menu a { font-family: \"Tahoma\"; font-size: 11px;");
document.writeln("                             text-decoration: none; font-weight: normal;");
document.writeln("                             color: black; background: #E2E2E2;");
document.writeln("                             width: 114px; padding-left: 5px;  ; clip:  rect(   ); border-color: #FFFFFF #666666 #333333 #999999; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; line-height: 17px} .menu a:link {  color: #000000; text-decoration: none}");
document.writeln("");
document.writeln(".a {  font-size: 12px; text-decoration: none}");

document.writeln("-->");
document.writeln("<\/style>");
document.writeln("");
document.writeln("");

document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"7\" width=\"850\" class=\"a\">");
document.writeln("  <tr align=\"center\"> ");
document.writeln("    <td width=\"10\" height=\"2\"> <\/td>");
document.writeln("    <td width=\"64\"><a href=\"..\/\" class=\"a\" ><font color=\"#FFFFFF\">首页<\/font><\/a><\/td>");
document.writeln("    <td width=\"68\"><a href=\"NewsList.asp?SortID=10&SortPath=0,10,\" class=\"a\" ><font color=\"#FFFFFF\">走进科协<\/font><\/a><\/td>");
document.writeln("    <td width=\"68\"><a href=\"NewsList.asp?SortID=11&SortPath=0,11,\"  onMouseOver=\"expandMenu(null,\'menu1\',getPos(this,\'Left\'),getPos(this,\'Top\')+this.offsetHeight);\" class=\"a\" ><font color=\"#FFFFFF\">重要文件<\/font><\/a><\/td>");
document.writeln("    <td width=\"68\"><a href=\"NewsList.asp?SortID=21&SortPath=0,21,\"  onMouseOver=\"expandMenu(null,\'menu2\',getPos(this,\'Left\'),getPos(this,\'Top\')+this.offsetHeight);\" class=\"a\" ><font color=\"#FFFFFF\">科学普及<\/font><\/a><\/td>");
document.writeln("    <td width=\"48\"><a href=\"NewsList.asp?SortID=30&SortPath=0,30,\"  onMouseOver=\"expandMenu(null,\'menu3\',getPos(this,\'Left\'),getPos(this,\'Top\')+this.offsetHeight);\" class=\"a\" ><font color=\"#FFFFFF\">学术交流<\/font><\/a><\/td>");
document.writeln("    <td width=\"123\"><a href=\"NewsList.asp?SortID=34&SortPath=0,34,\"  onMouseOver=\"expandMenu(null,\'menu4\',getPos(this,\'Left\'),getPos(this,\'Top\')+this.offsetHeight);\" class=\"a\" ><font color=\"#FFFFFF\">科技工作者之家<\/font><\/a><\/td>");
document.writeln("    <!--可以复制上面的做出menu4 menu5 menu6....-->");
document.writeln("    ");
document.writeln("    <td width=\"45\" height=\"2\"> <\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln("<script language=\"JavaScript\">");
document.writeln("function getPos(el,sProp) { ");
document.writeln("    var iPos = 0");
document.writeln("    while (el!=null) {");
document.writeln("        iPos+=el[\"offset\" + sProp]");
document.writeln("        el = el.offsetParent");
document.writeln("    }");
document.writeln("    return iPos");
document.writeln("");
document.writeln("}");
document.writeln("<\/script>");
document.writeln("<!-- 重要文件 -->");
document.writeln("<div id=\"menu1\" class=\"menu\" onMouseOut=\"hideMe();\" style=\"\">");
document.writeln("  <a href=\"NewsList.asp?SortID=22&SortPath=0,11,22,\" onMouseOver=\"expandMenu(\'menu1\');\">政策法规<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=23&SortPath=0,11,23,\" onMouseOver=\"expandMenu(\'menu1\');\">科协文件<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=24&SortPath=0,11,24,\" onMouseOver=\"expandMenu(\'menu1\');\">领导讲话<\/a>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<!-- 科学普及 -->");
document.writeln("<div id=\"menu2\" class=\"menu\" onMouseOut=\"hideMe();\"> ");
document.writeln("  <a href=\"NewsList.asp?SortID=25&SortPath=0,21,25,\" onMouseOver=\"expandMenu(\'menu2\');\">科普动态<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=26&SortPath=0,21,26,\" onMouseOver=\"expandMenu(\'menu2\');\">大型科普活动<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=27&SortPath=0,21,27,\" onMouseOver=\"expandMenu(\'menu2\');\">科普惠农<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=28&SortPath=0,21,28,\" onMouseOver=\"expandMenu(\'menu2\');\">科普设施<\/a>");
document.writeln("  ");
document.writeln("  <a href=\"NewsList.asp?SortID=29&SortPath=0,21,29,\" onMouseOver=\"expandMenu(\'menu2\');\">科普知识<\/a>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<!-- 学术交流 -->");
document.writeln("<div id=\"menu3\" class=\"menu\" onMouseOut=\"hideMe();\"> ");
document.writeln("  <a href=\"NewsList.asp?SortID=31&SortPath=0,30,31,\" onMouseOver=\"expandMenu(\'menu3\');\">学术活动<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=32&SortPath=0,30,32,\" onMouseOver=\"expandMenu(\'menu3\');\">学术年会<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=33&SortPath=0,30,33,\" onMouseOver=\"expandMenu(\'menu3\');\">论文评审<\/a>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<!-- 科技工作者之家 -->");
document.writeln("<div id=\"menu4\" class=\"menu\" onMouseOut=\"hideMe();\"> ");
document.writeln("  <a href=\"NewsList.asp?SortID=37&SortPath=0,34,37,\" onMouseOver=\"expandMenu(\'menu4\');\">建言献策<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=35&SortPath=0,34,35,\" onMouseOver=\"expandMenu(\'menu4\');\">科技工作者维权<\/a>");
document.writeln("");
document.writeln("  <a href=\"NewsList.asp?SortID=36&SortPath=0,34,36,\" onMouseOver=\"expandMenu(\'menu4\');\">表彰奖励<\/a>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<!--可以复制上面的做出menu4 menu5 menu6....-->");
document.writeln("<p class=\"a\"> <\/p>");