document.writeln("<script LANGUAGE=\"javascript\">");
document.writeln("<!--");
document.writeln("function showbg(){");
document.writeln("eval(\"sec_list.style.display=\'\';\");");
document.writeln("}");
document.writeln("function showoutbg(){");
document.writeln("eval(\"sec_list.style.display=\'none\';\");");
document.writeln("}");
document.writeln("");
document.writeln("var cpAD=new Array(); ");
document.writeln("var cpADlink=new Array(); ");
document.writeln("var cpADmsg=new Array();");
document.writeln("var cpADtitle = new Array(); ");
document.writeln("");
document.writeln("var adNum=5; ");
document.writeln("var coll=0;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("cpAD[0]=\"banners\/rnh_01.jpg\"; ");
document.writeln("cpADlink[0]=\"#\"; ");
document.writeln("cpADmsg[0]=\"1\";");
document.writeln("cpADtitle[0] = \"test1\"; ");
document.writeln("");
document.writeln("cpAD[1]=\"banners\/rnh_02.jpg\"; ");
document.writeln("cpADlink[1]=\"#\"");
document.writeln("cpADmsg[1]=\"2\"; ");
document.writeln("cpADtitle[1] = \"test2\"; ");
document.writeln("");
document.writeln("cpAD[2]=\"banners\/rnh_03.jpg\"; ");
document.writeln("cpADlink[2]=\"#\"; ");
document.writeln("cpADmsg[2]=\"3\";");
document.writeln("cpADtitle[2] = \"test3\"; ");
document.writeln("");
document.writeln("cpAD[3]=\"banners\/rnh_04.jpg\"; ");
document.writeln("cpADlink[3]=\"#\"; ");
document.writeln("cpADmsg[3]=\"4\"; ");
document.writeln("cpADtitle[3] = \"test4\"; ");
document.writeln("");
document.writeln("cpAD[4]=\"banners\/rnh_05.jpg\"; ");
document.writeln("cpADlink[4]=\"#\"; ");
document.writeln("cpADmsg[4]=\"5\"; ");
document.writeln("cpADtitle[4] = \"test5\"; ");
document.writeln("");
document.writeln("var preloadedimages=new Array(); ");
document.writeln("for (i=1;i<cpAD.length;i++){ ");
document.writeln("preloadedimages[i]=new Image(); ");
document.writeln("preloadedimages[i].src=cpAD[i]; ");
document.writeln("} ");
document.writeln("");
document.writeln("");
document.writeln("function jump2url()");
document.writeln("{ ");
document.writeln("jumpUrl=cpADlink[adNum]; ");
document.writeln("jumpTarget=\'_blank\'; ");
document.writeln("if (jumpUrl != \'\')");
document.writeln("{ ");
document.writeln("        if (jumpTarget != \'\')");
document.writeln("                window.open(jumpUrl,jumpTarget); ");
document.writeln("        else location.href=jumpUrl; ");
document.writeln("        } ");
document.writeln("}");
document.writeln("");
document.writeln("function changeimg(n)");
document.writeln("{");
document.writeln("        adNum=n;");
document.writeln("        switch(adNum)");
document.writeln("        {");
document.writeln("        case 0:");
document.writeln("        {");
document.writeln("               ");
document.writeln("			");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        case 1:");
document.writeln("        {");
document.writeln("             ");
document.writeln("		");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        case 2:");
document.writeln("        {");
document.writeln("             ");
document.writeln("		");
document.writeln("                break;");
document.writeln("        }");
document.writeln("                case 3:");
document.writeln("        {");
document.writeln("              ");
document.writeln("		");
document.writeln("                break;");
document.writeln("        }");
document.writeln("                case 4:");
document.writeln("        {");
document.writeln("               ");
document.writeln("	");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        }");
document.writeln("        window.clearInterval(theTimer);");
document.writeln("        adNum=adNum-1;");
document.writeln("        nextAd();");
document.writeln("}");
document.writeln("function nextAd(){ ");
document.writeln("coll++;");
document.writeln("if(coll>1)");
document.writeln("{");
document.writeln("switch(adNum+1)");
document.writeln("{");
document.writeln("        case 5:");
document.writeln("        {");
document.writeln("            ");
document.writeln("  ");
document.writeln("");
document.writeln("				");
document.writeln("				");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        case 1:");
document.writeln("        {");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        case 2:");
document.writeln("        {");
document.writeln("              ");
document.writeln("");
document.writeln("                break;");
document.writeln("        }");
document.writeln("        case 3:");
document.writeln("        {");
document.writeln("		");
document.writeln("                break;");
document.writeln("        }");
document.writeln("    case 4:");
document.writeln("        {");
document.writeln("             ");
document.writeln("				");
document.writeln("                break;");
document.writeln("        }");
document.writeln("}");
document.writeln("}");
document.writeln("if(adNum<cpAD.length-1)adNum++ ; ");
document.writeln("else adNum=0; ");
document.writeln("setTransition(); ");
document.writeln("document.images.cpADrush.src=cpAD[adNum]; ");
document.writeln("playTransition(); ");
document.writeln("displayStatusMsg();");
document.writeln("");
document.writeln("theTimer=setTimeout(\"nextAd()\", 5000); ");
document.writeln("} ");
document.writeln("");
document.writeln("function setTransition(){ ");
document.writeln("if (document.all){ ");
document.writeln("cpADrush.filters.revealTrans.Transition=23; ");
document.writeln("cpADrush.filters.revealTrans.apply(); ");
document.writeln("} ");
document.writeln("");
document.writeln("} ");
document.writeln("function playTransition(){ ");
document.writeln("if (document.all) ");
document.writeln("cpADrush.filters.revealTrans.play() ");
document.writeln("} ");
document.writeln("function displayStatusMsg() { ");
document.writeln("\/\/status=cpADmsg[adNum]; ");
document.writeln("document.returnValue = true; ");
document.writeln("} ");
document.writeln("");
document.writeln("\/\/ -->");
document.writeln("");
document.writeln("<\/script>")