function contacts_position(){              //document.title=res;
    var h_sidebar= $("#right-sidebar").height();
    var h_main_col= $("#main-column").height();
    var h_contacts= $("#contacts").height();                   //document.title=res;  
    var h_content= $("#main-content").height();
    if( (h_content + h_contacts) < h_sidebar){
        h_main_col = h_sidebar;                                               //document.title=res;  
        var must_be = h_main_col - h_content - h_contacts;                                   //document.title=res;  
        var res = "" + must_be + "px";                                                     // document.title=res;  
        
    }
    $("#contacts").css({'margin-top':res, 'visibility':'visible'});
    document.title=res;  
}
function contacts_position2(){
    contacts_position();
}


function treemenuHover(qwe){        return;
    $("#treemenu-hover-1").css({'visibility':'visible'});
    
    
    /*$("#treemenu-hover-1").css({opacity: 0, visibility: "visible"}).animate({opacity: 100},"slow" );*/
    var h = $("#"+qwe).offset().top - 252;
    var h1 = ""+h+"px";
    $("#treemenu-hover-1").css({'height':h});
    
    
    /*
    $(".katalog-tile").hover(
    function(){
        $(this).children().fadeIn(260);
    },
    function(){
        $(this).children().fadeOut(100);
    }
    );
    */
}
function treemenuHoverEnd(){
    //$("#treemenu-hover-1").css({"visibility":"hidden"});
    
   // $("#treemenu-hover-1").fadeOut(100); 
    
    
    /*$("#treemenu-hover-1").css({opacity: 100, visibility: "visible"}).animate({opacity: 0});*/       
}
function zero(){

}
