function changeBlogBlock(sort, type)
{
$("#" + type + "_switch").hide();
$("#" + type + "_loader").show();
$.ajaxCall('adblog.changetab', 'type=' + type + '&sort=' + sort);
}
$Ready(function(){
$(".profiles-menu ul li a").each( function (key, value) {
str = $(this).attr("href");
if (str) {
result = str.match('/blog');
if (result) {
if (result.length > 0) {
$(this).css("display","none");
}
}
}
});
})