function survol () {
	if($.browser.msie) {
		$('.cadre-image a span.texte').css("display", "block");
		
		$('.cadre-image a').hover(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			}, function() {
				$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	
		// fonction qui permet le même effet à la tabulation
		$('.cadre-image a').focus(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			});
		$('.cadre-image a').blur(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	} else {
		$('.cadre-image a span.trame').css("opacity", "1");
		$('.cadre-image a span.texte').css("display", "block");
		
		$('.cadre-image a').hover(function(){
			$(this).find("span.trame").stop().animate({opacity:'0'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			}, function() {
				$(this).find("span.trame").stop().animate({opacity:'1'},{queue:false,duration:250});
				$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	
		// fonction qui permet le même effet à la tabulation
		$('.cadre-image a').focus(function(){
			$(this).find("span.trame").stop().animate({opacity:'0'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			});
		$('.cadre-image a').blur(function(){
			$(this).find("span.trame").stop().animate({opacity:'1'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	}
	
};

function survolportfolio () {
	if($.browser.msie) {
		$('.cadre-portfolio a span.texte').css("display", "block");
		
		$('.cadre-portfolio a').hover(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			}, function() {
				$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	
		// fonction qui permet le même effet à la tabulation
		$('.cadre-portfolio a').focus(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			});
		$('.cadre-portfolio a').blur(function(){
			$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	} else {
		$('.cadre-portfolio a span.trame').css("opacity", "1");
		$('.cadre-portfolio a span.texte').css("display", "block");
		
		$('.cadre-portfolio a').hover(function(){
			$(this).find("span.trame").stop().animate({opacity:'0'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			}, function() {
				$(this).find("span.trame").stop().animate({opacity:'1'},{queue:false,duration:250});
				$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	
		// fonction qui permet le même effet à la tabulation
		$('.cadre-portfolio a').focus(function(){
			$(this).find("span.trame").stop().animate({opacity:'0'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'-70px'},{queue:false,duration:250});
			});
		$('.cadre-portfolio a').blur(function(){
			$(this).find("span.trame").stop().animate({opacity:'1'},{queue:false,duration:250});
			$(this).find("span.texte").stop().animate({marginBottom:'0'},{queue:false,duration:250});
			});
	}
	
};

