
$(document).ready(function(){
	/*alert("BarR: " + $('.sideBarRight').height());
	alert("BarL: " + $('.sideBarLeft').height());
	alert("Content: " + $('.content').height());*/
if ($('.content').height() > $('.sideBarRight').height() || $('.content').height() > $('.sideBarLeft').height()){
	$('.content').css("overflow","hidden");
	if ($('.sideBarLeft').height()>$('.sideBarRight').height()){
	$('.content').height($('.sideBarLeft').height());}
	else{
	$('.content').height($('.sideBarRight').height());}
	$('.content').append('<div class="FadeDiv"></div><a class="SeeAll"> Ver Todo </a>');
	$('.SeeAll').click(function() {$('.content').css("overflow","visible");$('.content').height("auto");$(this).hide();$('.FadeDiv').hide();});
}else{}

$('#slider').nivoSlider({directionNav:false});

/*$('.RotadorMenu ul li').hover(function () {
	alert($(this).css(backgroundPosition()));
    $(this).animate({backgroundPosition : "-56px 0px"}, 500 );
  }, 
  function () {
    $(this).animate({backgroundPosition: "0px 0px"}, 500 );
  }
);*/


});


