document.writeln("<script language=\"javascript\">");
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("  function MM_showHideLayers() { //v3.0");
document.writeln("    var i,p,v,obj,args=MM_showHideLayers.arguments;");
document.writeln("    for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];");
document.writeln("    if (obj.style) { obj=obj.style; v=(v==\'show\')?\'visible\':(v=\'hide\')?\'hidden\':v; }");
document.writeln("    obj.visibility=v; }");
document.writeln("  }");
document.writeln("  function nTabs(thisObj,Num){");
document.writeln("    if(thisObj.className == \"active\")return;");
document.writeln("    var tabObj = thisObj.parentNode.id;");
document.writeln("    var tabList = document.getElementById(tabObj).getElementsByTagName(\"li\");");
document.writeln("    for(i=0; i <tabList.length; i++)");
document.writeln("    {");
document.writeln("      if (i == Num)");
document.writeln("       {");
document.writeln("        thisObj.className = \"active\"; ");
document.writeln("        document.getElementById(tabObj+\"_Content\"+i).style.display = \"block\";");
document.writeln("      }else{");
document.writeln("        tabList[i].className = \"normal\"; ");
document.writeln("        document.getElementById(tabObj+\"_Content\"+i).style.display = \"none\";");
document.writeln("      }");
document.writeln("    } ");
document.writeln("  }");
document.writeln("</script>");
