/**
 * @author amarchal
 */

$(document).ready(function(){ 
	$("div.boxAnnonce").each(function(i){
		$(this).hover(function(){
			//$(this).css('opacity', '0.9');
			$(this).children("div.boxAnnonceTitre").css('opacity', '0.7');
			
		},function(){
			//$(this).css('opacity', '0.7');
			$(this).children("div.boxAnnonceTitre").css('opacity', '0.9');
		});
	});
});

function gotoUrl(url)
{
	window.location = url;
}


$(document).ready(function() {	
	// Append span to each LI to add reflection
	//$("#nav-reflection li").append("<span></span>");	

	// Animate buttons, move reflection and fade
	$("#nav-reflection a").hover(function() {
		$(this).stop().animate({ marginTop: "-10px" }, 200);
		//$(this).parent().find("span").stop().animate({ marginTop: "18px", opacity: 0.25 }, 200);
	},function(){
		$(this).stop().animate({ marginTop: "0px" }, 300);
		//$(this).parent().find("span").stop().animate({ marginTop: "1px", opacity: 1 }, 300);
	});
	

});




