
jQuery.noConflict();
(function($) {
  $(function() {
    $(document).ready(function(){
      if($('#main ul.menu ul').length) {
        /* hight correction for for #col2, because aboslute submenu on second level */
        var menuOffsetTop = $('#main ul.menu').offset().top;
        var submenuOffsetTop = $('#main ul.menu ul').offset().top;

        var correction = menuOffsetTop - submenuOffsetTop;
        correction = correction + $('#main ul.menu ul').innerHeight();

        var colHeight = $('#col2_content').height();
        colHeight = colHeight + correction;
        $('#col2_content').height(colHeight);
      }
    });
  });
})(jQuery);


