var Adjustments = {
	
	minHeightBlock: 2200,
	
	init: function(){
		jQuery('#s').focus();
		Adjustments.setMinHeightToBlock();
	},
	
	setMinHeightToBlock: function(){
		var height = jQuery('#block').css('height');
		if(height){
			height = height.substr(0, (height.length-2));
			/* Degub IE */
			if(height == 'au'){
				//alert(document.getElementById("block").offsetHeight);
				var nHeight = document.getElementById("block").offsetHeight;
				height = nHeight;
			}
			if(height < Adjustments.minHeightBlock){
				jQuery('#block').height(Adjustments.minHeightBlock);
				jQuery('#content').height(Adjustments.minHeightBlock);
			}
		}
	}
}

jQuery(document).ready(function(){
	Adjustments.init();
});
