jQuery(function(){

    $('a.boxLeft').removeAttr('title');
    $("a.boxLeft").click(function(){return false});
    
    function getTooltip(tooltipHref, offsetTop) {
        $.ajax({
            type: 'post',
            url: tooltipHref,
            success: function(msg){
                if(msg != null ) {
                    var left = $('#container').offset().left + 40;
                    $('body').append('<div class="tooltipbox" style="position:absolute; top:'+offsetTop+'px; left:'+left +'px; width:250px;background-color:white;">'+msg+'</div>');
                }
            }
         });
    }
    
    $("a.boxLeft").each(function(){
        var tooltipHref = $(this).attr('href');
        getTooltip(tooltipHref, $(this).offset().top);
    });
});
