(function( $ ){
	$.fn.tooltipify = function( selector ) {
		return this.each( function() {
			var tooltipper,
				tooltip;
			$( this ).find( "[alt]" ).each( function() {
				tooltipper = $( this );
				tooltip =  $( '#' + tooltipper.attr( 'alt' ) );
				if ( tooltip.length > 0 ) {
					tooltipper.mouseenter( function () { 
						var tooltip = $( '#' + $( this ).attr('alt') );
						tooltip.css('top', $( this ).position().top ).fadeIn('fast'); 
					} );
					tooltipper.mouseleave( function () {
						var tooltip = $( '#' + $( this ).attr('alt') );
						tooltip.fadeOut('fast'); 
					} );
					
				}
			} );
		} );
	};
})( jQuery );
