{$cdtat_start}
$("#boxmain").css("background-image","url(/images/box_background_main_4_2.gif)");
currentSearchModule = {$ss};currentSearchSource = $ss;beforeSubmit = new Array();afterSubmit = new Array();$("#search_logo_container").width($("#boxmain").width() - 10);$("#search_logo_container div.search_button_small").mouseover(function() { $(this).addClass("search_button_small_hover"); } );$("#search_logo_container div.search_button_small").mouseout(function() { $(this).removeClass("search_button_small_hover"); } );$("#search_button_dropdown").click(function () { toggleSearchExtraDropdown(); } ).Tooltip({delay:0,track:true,showURL:false,showBody:" --- ", extraClass: "tooltip_normal tooltip_fixed_width"});$("#search_button_feedback").click(function () { showWindow('source_feedback', {}); } ).Tooltip({delay:0,track:true,showURL:false,showBody:" --- ", extraClass: "tooltip_normal tooltip_fixed_width"});$("#search_form").submit(function() { return performSearch('_blank'); });
$("#searchtext").keydown(function(e)
{
switch(e.keyCode)
{
case 38:
case 40:
e.preventDefault();
break;
default:
try
{
clearTimeout(userInputTimeout);
}
catch(e)
{
}
userInputTimeout = setTimeout(function()
{
if ($("#searchtext").css("color") != "rgb(153, 153, 153)" && $("#searchtext").css("color") != "#999") { $.cookie("symbalooLastSearchText", $("#searchtext").val()); }
}, 300);
}
});
$("#searchtext").val($.cookie('symbalooLastSearchText'));
$("#boxmain").focus(); $(document).ready(function(){ try { if ($("#overlay").css("display") == "none" && $("#overlayalert").css("display") == "none") { $("#searchtext").focus(); } } catch(e) {} });beforeSubmit = new Array();afterSubmit = new Array();$("#search_form").attr("action", "http://fang.kuxun.cn/search.php");$("#search_form").attr("method", "GET");hideBoxLoading();if ($("#overlay").css("display") == "block") { $("select").css("visibility", "hidden"); };
{$cdtat_end}