﻿

function roundNumber(rnum, rlength) { // Arguments: number to round, number of decimal places
    return rnum;
//    return Math.round(rnum * Math.pow(10, rlength)) / Math.pow(10, rlength);
}

$(function() {
    $(".investmentName").tooltip({
        bodyHandler: function() {
            var content = $.trim($($(this).parent().children().get(1)).html());
            return content != '' ? content : $(this).html();
        },
        showURL: false
    });
});
