$(function(){
var tl=$("#block_left").height(); 
var tc=$("#block_content").height(); 
//var bp_body=$('.block_content').offset().left;
//var bp_right=document.body.clientWidth;
//var padding= bp_right-bp_body-150+'px' 
//alert(tl+'w'+tc);
if (tl<tc) { 
$("#block_left").css('height', tc+'px');
	//alert('Левый блок меньше центрального');
}


//$('body').css('background-position', padding+ ' 0px');		
/* $(window).resize(function() {
	//var bp_body=$('.container').offset().left;
	//Width = document.body.clientWidth; 
	//Height = document.body.clientHeight; 
	//var test=$(window).width()-bp_body-150;
	//$('body').css('background-position', test+'px 0px');	
}); */


});
$(function(){
	$('#menu li a').click(
function () {
			//show its submenu
if($(this).parent().find('ul').length>0){
$(this).parent().find('ul').slideToggle(200);
return false;
}
		}
	);	
});




