Your browser does not support iframes.`; $('#ux-support-lightbox-content').html(iFrame); $("#ux-support-lightbox").show(); $("#ux-support-lightbox-overlay").show(); } }); $("#ux-support-lightbox .ux-support-lightbox-close").on("click", function(e){ $("#ux-support-lightbox").hide(); $("#ux-support-lightbox-overlay").hide(); }); }); function submit(keyword) { $(".ui-loading-msg").css("display", "block"); $(".x-tab-panel-body").css("display", "none"); $(".ui-page-fb-wrap").hide(); $(".ui-poweredby-kb").hide(); $(".ui-search").hide(); $.ajax({ url: "/search/crawl_search/?keyword=" + keyword, method: "POST", dataType: "json", scope: this, success: function (result, request) { if (window.history.state == null) { setHistroyTourl(result); } else { if (window.history.state.keyword != keyword) { setHistroyTourl(result); } } if (result.count != 0) { $(".ui-search").css("display", "block"); $(".hiq-t").hide(); $(".right_toc").hide(); $(".ui-loading-msg").css("display", "none"); $(".ui-search-form").css("display", "block"); $(".ui-search-txt input").val(result.permalink.split('+').join(' ')); $(".search_hid_val").val(result.permalink); $(".ui-search-body").css("display", "block"); $(".ui-search-body").html(result.page); } else { $(".ui-search").css("display", "block"); $(".ui-loading-msg").css("display", "none"); $(".ui-search-form").css("display", "block"); $(".search_hid_val").val(result.permalink); $(".ui-search-txt input").val(result.permalink); $(".ui-search-body").css("display", "block"); $(".ui-search-body").html("
Sorry your search did not return any results"); } }, }); } //unset the session keyword -