/* Tooltip plugion http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery */
jQuery.tooltip = function(){
    $('body').prepend('<div id="tooltip"></div>');


    $(".tooltip").hover(
        function(){
            $('#tooltip')
                .css('width', $(this).next('.tooltipContent').width() +'px')
                .html($(this).next('.tooltipContent').html())
                .show();
        },
        function(){
            $('#tooltip').hide();
        });

    $(".tooltip").mousemove(function(e){
        var tooltipHeight = $(this).next('.tooltipContent').height();

        $('#tooltip')
            .css("top",(e.pageY - tooltipHeight - 15) + "px")
            .css("left",(e.pageX + 5) + "px");
    });
};
