$(window).ready(
	function(){
		$('#balken5').height(($(document).height()+20));
		$(window).resize(
			function(){
				$('#balken5').height(($(document).height()+20));
			}
		);
		$('a.lightbox_thumb').lightBox(); 
		//	1066
	}	
);

$(window).ready(function(){		
	if($('body').width() < 1066){	
		var nLeft = 1066 - $('body').width();

		nLeft = (-625 + (nLeft/2));

		$('#center').css({marginLeft: nLeft+'px'});
	}
	else{
		$('#center').css({marginLeft: '-625px'});
	}
});
$(window).resize(function(){
	if($('body').width() < 1066){	
		var nLeft = 1066 - $('body').width();

		nLeft = (-625 + (nLeft/2));


		$('#center').css({marginLeft: nLeft+'px'});
	}
	else{
		$('#center').css({marginLeft: '-625px'});
	}
});

