//$(document).ready(function() {
//  var $content_div_height         = parseFloat( $('#content-div').css('height') );
//  var $content_contact_div_height = parseFloat( $('#content-contact-div').css('height') );
//  if ( $content_div_height > $content_contact_div_height ) {
//    alert ($content_div_height);
//  }
//  else {
//    alert ('kleiner'); 
//  }
//  
//  
//});

$(document).ready(function() {
   $(".fix-height").vjustify();  
});



jQuery.fn.vjustify=function() {
   var maxHeight=0;
   this.each(function(){
      if (this.offsetHeight > maxHeight) {
         maxHeight = this.offsetHeight;
      }
   });
   this.each(function(){
      $(this).height(maxHeight + "px");
         if (this.offsetHeight > maxHeight) {
            $(this).height((maxHeight-(this.offsetHeight-maxHeight))+"px");
         }
   });
};
