$(function(){

$("#menu>ul>li>a").append("<strong></strong>"); //Throws an empty a tag right before the a tag

$("#menu ul li a").each(function() { //For each list item...
var linkText = $(this).find("span").html(); //Find the text inside of the <span> tag
$(this).find("strong").show().html(linkText); //Add the text in the <strong> tag
}); 

$("#menu>ul>li>a").hover(function() { //On hover...
$(this).find("span").stop().animate({
marginTop: "-33" //Find the <span> tag and move it up 40 pixels
}, 250);

      } , function() { //On hover out...
$(this).find("span").stop().animate({
marginTop: "0"  //Move the <span> back to its original state (0px)
}, 250);

});


$("#hautpage a").mouseover(function(){
 $(this).stop().animate({backgroundPosition:"(0px 0px)"},750); 
});

$("#hautpage a").mouseout(function(){
 $(this).stop().animate({backgroundPosition:"(0px 20px)"},750); 
});
$("#imprimpage a").mouseover(function(){
 $(this).stop().animate({backgroundPosition:"(0px 0px)"},750); 
});
$("#imprimpage a").mouseout(function(){
 $(this).stop().animate({backgroundPosition:"(0px 20px)"},750); 
});
$(".rssAccueil a").mouseover(function(){
 $(this).stop().animate({backgroundPosition:"(0px 10px)"},750); 
});
$(".rssAccueil a").mouseout(function(){
 $(this).stop().animate({backgroundPosition:"(0px 25px)"},750); 
});

$(".hr").after("<hr />").remove(".hr");


});
