//Tooltip Extension
//(c) 2008 StreamProtect.com
if(jQuery) (function($){
	$.extend($.fn, {
		tooltip: function(o) {
			// Defaults
			if( !o ) var o = {};
			if( o.target == undefined ) o.target = '#tooltip';
			if( o.entry == undefined ) o.entry = '';
			$(this).each( function() {
				$(this).mouseover(function(e) {
					$(o.target).css({
						"position" : "absolute",
						"top":  (e.pageY - 16) + "px"
					});
					$(o.target).find('.content').html(o.entry);
					$(o.target).show('fast');
					
				})
				$(this).mousemove(function(e) {
					$(o.target).css({
						"position" : "absolute",
						"top":  (e.pageY - 16) + "px"
					});
				})
				$(this).mouseout(function() {
					$(o.target).hide('fast');
				})
				
			});
		}
	});
})(jQuery);
