document.writeln("<script language=\'javascript\' type=\'text\/javascript\'>");
document.writeln("\/\/导航切换公用函数");
document.writeln("\/*");
document.writeln("divid: 当前图层及样式对应的唯一编号");
document.writeln("cid: 当前切换的栏目id");
document.writeln("overcss:栏目标题层mouseover时的样式");
document.writeln("outcss: 栏目标题层mouseout时的样式");
document.writeln("itotal: 总个数");
document.writeln("*\/");
document.writeln("function multi_over(divid,cid,overcss,outcss,itotal)");
document.writeln("{");
document.writeln(" var i;");
document.writeln(" try");
document.writeln(" { ");
document.writeln("  document.getElementById(\"nav_\"+ divid +\"_\"+cid).className=overcss;  ");
document.writeln("  document.getElementById(\"navcontent_\"+ divid +\"_\"+cid).style.display=\'block\';");
document.writeln("\/\/  if (divid !=1 || cid != 2)");
document.writeln("\/\/  {");
document.writeln("   document.getElementById(\"href_\"+ divid + \"_\" + cid).className = \"move_zi_orange\"; ");
document.writeln("\/\/  }");
document.writeln(" ");
document.writeln("  for (i=1;i<=parseInt(itotal);i++)");
document.writeln("  {");
document.writeln("   if (i!=cid)");
document.writeln("   {");
document.writeln("    document.getElementById(\"nav_\"+ divid +\"_\"+i).className=outcss;");
document.writeln("    document.getElementById(\"navcontent_\"+ divid +\"_\"+i).style.display=\'none\';");
document.writeln(" ");
document.writeln("    if (divid ==3)");
document.writeln("    {");
document.writeln("     document.getElementById(\"href_\"+ divid + \"_\" + i).className = \"daohang_zi\";");
document.writeln("    }else if (divid ==2)");
document.writeln("    {");
document.writeln("     document.getElementById(\"href_\"+ divid + \"_\" + i).className = \"move_zi\";");
document.writeln("    }");
document.writeln("    else \/\/if (divid ==1 && i != 2)");
document.writeln("    {");
document.writeln("     document.getElementById(\"href_\"+ divid + \"_\" + i).className = \"move_zi\";    ");
document.writeln("    }");
document.writeln("     ");
document.writeln("   }");
document.writeln("  }");
document.writeln(" }");
document.writeln(" catch(e)");
document.writeln(" {");
document.writeln("  return;");
document.writeln(" }");
document.writeln("");
document.writeln("}");
document.writeln("<\/script>")