function fixSides()
	{
	higher = "";
	
	if($('#body_side').height() > $('#banners_side').height())
		{
		$('#banners_side').height($('#body_side').height());
		higher = $('#body_side').height();
		}
	else
		{
		$('#body_side').height($('#banners_side').height());
		higher = $('#banners_side').height();
		}

	$('#inicio_cuerpo_left').height(higher);

	if($('#inicio_cuerpo_left').height() > $('#inicio_cuerpo_right').height())
		$('#inicio_cuerpo_right').height($('#inicio_cuerpo_left').height());
	else
		$('#inicio_cuerpo_left').height($('#inicio_cuerpo_right').height());

	$('#body_side').css({'height' : ''});
	$('#inicio_cuerpo_right').css({'height' : ''});
	}

function showBullet(bullet_id, action)
	{
	if(action == 'show')
		$("#special_bullet_"+bullet_id).slideDown(300);
	else
		$("#special_bullet_"+bullet_id).slideUp(300);
	}

$(document).ready(function(){
	$("a[rel^='popin_N']").prettyPopin({
		modal : false, /* true/false */
		width : 290, /* false/integer */
		height: 370, /* false/integer */
		opacity: 0.5, /* value from 0 to 1 */
		animationSpeed: 'fast', /* slow/medium/fast/integer */
		followScroll: true, /* true/false */
		loader_path: '/public/javascripts/jquery/prettyPopin/theme/loader.gif', /* path to your loading image */
		callback: function(){} /* callback called when closing the popin */
	});
});

$(document).ready(function(){
	$("a[rel^='popin_E']").prettyPopin({
		modal : false, /* true/false */
		width : 187, /* false/integer */
		height: 180, /* false/integer */
		opacity: 0.5, /* value from 0 to 1 */
		animationSpeed: 'fast', /* slow/medium/fast/integer */
		followScroll: true, /* true/false */
		loader_path: '/public/javascripts/jquery/prettyPopin/theme/loader.gif', /* path to your loading image */
		callback: function(){} /* callback called when closing the popin */
	});
});
