$(document).ready(function(){
// First type see comment for example #1
	el = $('#email_one');
	el.each(function(){
		el.attr('href','mailto:' + el.attr('href').replace('|','@').replace('/','').replace(':','.'));
		el.attr('title',el.attr('href').replace('|','@').replace('/','').replace(':','.').replace('mailto.','Email: '));
	});
});



$(document).ready(function( $ ){			


	$('.single_image img').hover(function(){
		this.src = this.src.replace('.png','_hover.png');	
	},function(){
		this.src = this.src.replace('_hover.png','.png');
	});

	$('.main_nav img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});
	
	$('#contactForm #submit').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});

	$('.liste img').hover(function(){
		this.src = this.src.replace('_off.jpg','_on.jpg');	
	},function(){
		this.src = this.src.replace('_on.jpg','_off.jpg');
	});

	$('.logos_partenaires img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});

	$('#post_it img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});

	$('.desc').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});

	$('.mini_nav').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on.png','_off.png');
	});

});






