/*$(function() {
	$(window).load(function() {
		$('div.group').not($('.top .group')).each(function() {
			$('.block', this).height(
				Math.max($('.block.left', this).height(), $('.block.right', this).height()) - 2
			);
		});
	});
});*/

$(function(){
	$('#slideshow_principal').cycle({
		fx: 'scrollHorz',
		speed:800,
		timeout: 3000,
		pause:1,
		requeueOnImageNotLoaded: true,
		next:'#next',
		prev:'#prev'
	});
	
		$('#slideshow_right').cycle({
		fx: 'scrollLeft',
		speed:300,
		requeueOnImageNotLoaded: true
	});
	
	$(window).load(function() {
		$('.cycle').cycle({
			fx: 'uncover',
			speed:800,
			timeout: 1500,
			requeueOnImageNotLoaded: true
		});
		$('.cycle .item').css('display', 'block');
	});
});

