$(function(){
	$(".slider img").hover(function(){
				if($(this).attr("src").indexOf("_hover") == -1) {
					var newSrc = $(this).attr("src").replace(".jpg","_hover.jpg#hover");
					$(this).attr("src",newSrc);
				}
			},
			function(){
				if($(this).attr("src").indexOf("_hover.jpg#hover") != -1) {
					var oldSrc = $(this).attr("src").replace("_hover.jpg#hover",".jpg");
					$(this).attr("src",oldSrc);
				}
			});
	$("#footer_content a img").hover(function(){
		if($(this).attr("src").indexOf("_hover") == -1) {
			var newSrc = $(this).attr("src").replace(".gif","_hover.gif#hover");
			$(this).attr("src",newSrc);
		}
	},
	function(){
		if($(this).attr("src").indexOf("_hover.gif#hover") != -1) {
			var oldSrc = $(this).attr("src").replace("_hover.gif#hover",".gif");
			$(this).attr("src",oldSrc);
		}
	});
});