﻿$(function(){
	$(".grid tbody tr:odd, .grid:not(:has(tbody)) tr.even").addClass("alt");
	$("#quickTools")
		.hover(
			function(){ $("ul", this).hide().fadeIn("fast"); }, 
			function() { } 
		)
		.hoverClass("sfHover")
		.focus(function(){$(this).hover();})
		.each(function(){ $("ul", this).hide(); })
		;
});

$(function(){
	$(".grid tbody tr:odd, .grid:not(:has(tbody)) tr.even").addClass("alt");
	$("#other")
		.hover(
			function(){ $("ul", this).hide().fadeIn("fast"); }, 
			function() { } 
		)
		.hoverClass("sfHover")
		.focus(function(){$(this).hover();})
		.each(function(){ $("ul", this).hide(); })
		;
});


$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
};
