/* ie6-7 display:table-cell fix */
function getMaxFooterBlockHeight(element) {
    var childs = element.parentNode.childNodes;
    var maxH = 0;
    for (var i = childs.length; i--; ) {
        if (childs[i].offsetHeight > maxH) {
            maxH = childs[i].offsetHeight;
        }
    }

    for (i = childs.length; i--; ) {
        childs[i].style.height = maxH - 12 + "px";
    }
}


var ShowAll = function () {
    $(".loader", "#mpShowAll").show();
    $.get("/mainpageajax.aspx?skip=28&take=1000", function (data) {
        $("#mpShowAll").before(data);
        $("#mpShowAll").remove();
    });

}
