function buildFreeHTMLSlide(C) { var A = $(String.format("#{0}", C)); if (typeof __isEdit == "undefined") { $("#" + C + ">ul.enjoosite_cycle_container>li").hide(); $("#" + C + ">ul.enjoosite_cycle_container>li:first-child").show(); A.show(); var B = $("#" + C + ">ul"); var D = B.attr("enjoosite_fx"); if (typeof D == "undefined" || D == "") { D = "scrollUp" } B.cycle({ fx: D, pause: true, speed: 1500, timeout: 6000, pager: "#bannerNav", pagerAnchorBuilder: function(F, E) { return '<li><a href="#" title="' + $(E).text() + '"><img src="' + $(E).find("img").attr("src") + '" width="50" height="20" /></a></li>' } }); $("#" + C + ">ul>li").css("background-color", "Transparent"); $("#" + C + " img").css("border-width", "0"); $("#" + C + ">ul.enjoosite_cycle_container>li").show() } else { A.show() } } if (typeof (Sys) !== "undefined") { Sys.Application.notifyScriptLoaded() };