(function($){
 $.fn.ftip = function() {
    return this.each(function() {
    	var tooltip_id = $(this).attr('class').replace('tipper ', '');
		$(this).mouseover(function(e){
			var f_pageY = e.pageY + 5;
			var f_pageX = e.pageX + 10;
			$('#' + tooltip_id).fadeIn("fast").css({
				'position' : 'absolute',
				'top' : f_pageY + 'px',
				'left' : f_pageX + 'px'
			});
		});
		
		$(this).mouseleave(function(){
			$('#' + tooltip_id).fadeOut("fast");
		});
    });
 };
})(jQuery);

$(document).ready(function(){
	$('.tipper').ftip();
	Table.Colorize();
});


Table={

	// Odd/even colorize tables
	Colorize: function() {
		$('tr:odd').addClass('alt');
	}

}