;(function($){$.fn.betterTooltip = function(options){  
  
        /* Setup the options */  
        var defaults = {  
            speed: 200,  
            delay: 300  
        };  
  
        var options = $.extend(defaults, options); 
        
        /* Give each item with the class */  
        $(this).children().each(function(){    
            var $this = $(this);
            var tip = $('.helper .d-hint'); 
            var tTitle = (this.title);  
            this.title = "";    
 
            /* Mouse over and out functions*/  
            $this.hover(function() { 
                tip.attr('style','');   
                tip.html(tTitle);
                setTip(77);
                showTip();  
            },  
            function() {  
                tip.attr('style','');            
                tip.hide();  
            }  
        );         
          
        setTip = function(top){  
            tip.css({'top' : top});  
        }  
 
        showTip = function(){            
            tip.animate({"top": "+=20px", "opacity": "toggle"}, defaults.speed);  
        }  
    });  
}})(jQuery);
