var ul_nr = $("div.oferta ul.basic_information").size();
var i = 0;
var j = 0;
var h = 0;
var nr_max_li = 0;
for (nr_max_li=0;nr_max_li<=25;nr_max_li++){
	for (i=0;i<=ul_nr;i++){
		var max_h =$("div.oferta ul.basic_information:eq("+ i +") li:eq("+ j +")").height();
		if (h <= max_h){
			var h = max_h;
		}	
	}
	for (i=0;i<=ul_nr;i++){
		$("div.oferta ul.basic_information:eq("+ i +") li:eq("+ j +")").css('height', h);
		$("ul.server_properties li:eq("+ j +")").css('height', h);
	}
	j++;
	var h = 0;
}

//step 2
/* $(document).ready( function(){
	RecalculateTotal();
}); */

$.extend($.expr[':'],{
	inView: function(a) {        
		var st = (document.documentElement.scrollTop || document.body.scrollTop),            
		ot = $(a).offset().top,            
		wh = (window.innerHeight && window.innerHeight < $(window).height()) ? window.innerHeight : $(window).height();        
		return ot > st && ($(a).height() + ot) < (st + wh);    
	}
});	



//end step 2

$('#buttonPrev').hide();
$("#buttonNext").click(function () { 
	$('#buttonPrev').show(); 
});

