function adjustMinHeight()
{
	boxesH = 333;
	spaceH = 20;
	leftH = jQuery("#leftbar").height();
	innerH = jQuery("#inner_content_wrapper").height();
	
	minH = boxesH + spaceH + leftH;
	if(innerH < minH)
	{
		jQuery("#inner_content_wrapper").height(minH+"px");
	}
}

function pxToInt(px)
{
	return Number(px.substr(0,(px.length - 2)));
}


$(document).ready(function() {
	$("ul#HouseMenu").superfish();
	
	adjustMinHeight();
});