﻿document.writeln("    <div id=\"AdHeadPicsDiv1\" style=\"width: 468px; height: 60px; overflow: hidden;cursor: pointer;\">");
document.writeln("        <img src=\"\/page\/images\/豪生小图.gif\" alt=\"\" style=\"width: 468px;height: 60px;\" \/>");
document.writeln("        <img src=\"\" alt=\"\" style=\"width: 468px;height: 60px;\" \/>");
document.writeln("        <div id=\"AdHeadPics\" style=\"display: none;\">");
document.writeln("            <img src=\"\/page\/images\/豪生小图.gif\" alt=\"\" href=\"/page/howard/\" \/>");
document.writeln("            <img src=\"\/page\/images\/马尔代夫小图.gif\" alt=\"\" href=\"/page/maldives\" \/>");
document.writeln("        <\/div>");
document.writeln("        <script type=\"text\/javascript\">");
document.writeln("            $(function() {");
document.writeln("                var speed = 5000;");
document.writeln("                var Div1 = $(\"#AdHeadPicsDiv1 img\");");
document.writeln("                var d = $(\"#AdHeadPics img\");");
document.writeln("                function F_AdHeadPics(s1, url) {");
document.writeln("                    Div1.eq(1).attr(\"src\", s1).unbind(\"click\").click(function() { window.open(url); });");
document.writeln("                    var height = Div1.eq(0).height();");
document.writeln("                    Div1.eq(0).animate({ height: \"0px\" }, 600, \"swing\", function() {");
document.writeln("                        Div1.eq(0).attr(\"src\", s1).height(height).unbind(\"click\").click(function() { window.open(url); });");
document.writeln("                    });");
document.writeln("                }");
document.writeln("");
document.writeln("                function ff(i) {");
document.writeln("                    F_AdHeadPics(d.eq(i).attr(\"src\"), d.eq(i).attr(\"href\"));");
document.writeln("                    i++;");
document.writeln("                    if (i < d.length) {");
document.writeln("                        setTimeout(function() { ff(i); }, speed);");
document.writeln("                    }");
document.writeln("                    else {");
document.writeln("                        setTimeout(function() { ff(0); }, speed);");
document.writeln("                    }");
document.writeln("                }");
document.writeln("                Div1.eq(0).attr(\"src\", d.eq(0).attr(\"src\")).click(function() { window.open(d.eq(0).attr(\"href\")); });");
document.writeln("                setTimeout(function() { ff(1); }, speed);");
document.writeln("            });");
document.writeln("        <\/script>");
document.writeln("    <\/div>")
