function menuFix() {
  var sfEls = document.getElementById("jieqi_menu").getElementsByTagName("li");
  for (var i=0; i<sfEls.length; i++) {
    sfEls[i].onmouseover=function() {
      this.className+=(this.className.length>0? " ": "") + "sfhover";
    }
    sfEls[i].onMouseDown=function() {
      this.className+=(this.className.length>0? " ": "") + "sfhover";
    }
    sfEls[i].onMouseUp=function() {
      this.className+=(this.className.length>0? " ": "") + "sfhover";
    }
    sfEls[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
    }
  }
}
window.onload=menuFix;

document.writeln("<script language=\"javascript\">");
document.writeln("var nn;");
document.writeln("nn=1;");
document.writeln("setTimeout(\'change_img()\',5000);");
document.writeln("function change_img()");
document.writeln("{");
document.writeln(" if(nn>4) nn=1");
document.writeln(" setTimeout(\'setFocus1(\'+nn+\')\',5000);");
document.writeln(" nn++;");
document.writeln(" tt=setTimeout(\'change_img()\',5000);");
document.writeln("}");
document.writeln("function setFocus1(i)");
document.writeln("{");
document.writeln(" selectLayer1(i);");
document.writeln("}");
document.writeln("function selectLayer1(i)");
document.writeln("{");
document.writeln(" switch(i)");
document.writeln(" {");
document.writeln(" case 1:");
document.writeln(" document.getElementById(\"focusPic1\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic2\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic1nav\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic2nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4nav\").style.display=\"none\";");
document.writeln(" break;");
document.writeln(" case 2:");
document.writeln(" document.getElementById(\"focusPic1\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic3\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic1nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2nav\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic3nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4nav\").style.display=\"none\";");
document.writeln(" break;");
document.writeln(" case 3:");
document.writeln(" document.getElementById(\"focusPic1\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic4\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic1nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3nav\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic4nav\").style.display=\"none\";");
document.writeln(" break;");
document.writeln(" case 4:");
document.writeln(" document.getElementById(\"focusPic1\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4\").style.display=\"block\";");
document.writeln(" document.getElementById(\"focusPic1nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic2nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic3nav\").style.display=\"none\";");
document.writeln(" document.getElementById(\"focusPic4nav\").style.display=\"block\";");
document.writeln(" break;");
document.writeln(" }");
document.writeln("}");
document.writeln("<\/script>")