$(document).ready(function() {
	$("#item1").hover(
	  function () {
		$(this).css("background-image", "url(/img/item1_hover.gif)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/item1.gif)");
	  }
	);	
	$("#item2").hover(
	  function () {
		$(this).css("background-image", "url(/img/item2_hover.gif)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/item2.gif)");
	  }
	);
	$("#item3").hover(
	  function () {
		$(this).css("background-image", "url(/img/item3_hover.gif)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/item3.gif)");
	  }
	);
	$("#item4").hover(
	  function () {
		$(this).css("background-image", "url(/img/item4_hover.gif)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/item4.gif)");
	  }
	);
	
	
	$("#btnPrev").hover(
	  function () {
		$(this).css("background-image", "url(/img/btt_prev-hover.png)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/btt_prev.png)");
	  }
	);
	$("#btnNext").hover(
	  function () {
		$(this).css("background-image", "url(/img/btt_next-hover.png)");
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/btt_next.png)");
	  }
	);	
	
	
	$("#mateAr08Deporte").hover(
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_matear-hover.gif)");
		$("#awardData").css("background-image", "url(/img/bg_premios.png)").append('<p>MateAR 2008 - Best Sports Site: www.riverplate.com</p>');
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_matear.gif)");
		$("#awardData").css("background-image", "none").html('');
	  }
	);	
	$("#mateAr08MayorVotacion").hover(
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_matear-hover.gif)");
		$("#awardData").css("background-image", "url(/img/bg_premios.png)").append('<p>MateAR 2010 - Most Voted Site: www.riverplate.com</p>');
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_matear.gif)");
		$("#awardData").css("background-image", "none").html('');
	  }
	);	
	$("#arroba07Deporte").hover(
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_arroba-hover.gif)");
		$("#awardData").css("background-image", "url(/img/bg_premios.png)").append('<p>Golden Arroba 2007 - Best Sports Site: www.riverplate.com</p>');
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_arroba.gif)");
		$("#awardData").css("background-image", "none").html('');
	  }
	);
	$("#arroba07MasVotado").hover(
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_arroba-hover.gif)");
		$("#awardData").css("background-image", "url(/img/bg_premios.png)").append('<p>Golden Arroba 2007 - Most Voted Site: www.riverplate.com</p>');
	  }, 
	  function () {
		$(this).css("background-image", "url(/img/awards/ico_arroba.gif)");
		$("#awardData").css("background-image", "none").html('');
	  }
	);
	$("#slideImages").cycle({
		prev: '#btnPrev',
		next: '#btnNext',
		speed:   600,
		fx: 'fade'
	});	
	$('#btnPrev').click(function() { 
		$('#slideImages').cycle('resume'); 
	});	
	$('#btnNext').click(function() { 
		$('#slideImages').cycle('resume'); 
	});		
	$('#pokerStars').click(function() { 
		$('#slideImages').cycle(0); 
		$('#slideImages').cycle('pause'); 
		return false; 
	}); 
	$('#samsung').click(function() { 
		$('#slideImages').cycle(1); 
		$('#slideImages').cycle('pause'); 
		return false; 
	});	
	$('#river').click(function() { 
		$('#slideImages').cycle(2);
		$('#slideImages').cycle('pause'); 		
		return false; 
	}); 
	$('#viva').click(function() { 
		$('#slideImages').cycle(4);
		$('#slideImages').cycle('pause'); 	
		return false; 
	});	
	$('#somosLocales').click(function() { 
		$('#slideImages').cycle(5); 
		$('#slideImages').cycle('pause'); 
		return false; 
	});	
	$('#lasMalvinas').click(function() { 
		$('#slideImages').cycle(6); 
		$('#slideImages').cycle('pause'); 
		return false; 
	});
	$('#notelapierdas').click(function() { 
		$('#slideImages').cycle(3);
		$('#slideImages').cycle('pause'); 		
		return false; 
	}); 	
});
