﻿$(document).ready(function() {
	//hoverIntent
	var config = {    
     over: makeTall, // function = onMouseOver callback (REQUIRED)    
     timeout: 1000, // number = milliseconds delay before onMouseOut    
     out: makeShort // function = onMouseOut callback (REQUIRED)    
	};
	$(".search_tab").hoverIntent(config);
	function makeTall() {
        $(".search_tab").removeClass("active");
        $(this).addClass("active");
        var tabName = ".search_" + $(this).attr("id");
        //alert(tabName);
        //alert($(tabName).html());
        $(".search_tab_bg").html($(tabName).html());
        return false;
	}
    $(".search_tab_bg").html($(".search_tab_content_1").html());
	function makeShort() {
		return false;
	}
});

