/*
survole de stickers
*/
$(document).ready(function(){
$("ul.menu_body li:even").parent().append("<span></span>");
$('img.menu_head').mouseover(function() { 
$(this).parent().find('ul.menu_body').slideDown('fast').show(); 
$(this).parent().hover(function() {
}, function(){       
$(this).parent().find('ul.menu_body').slideUp('medium'); 
});
}).hover(function() {
$(this).addClass("alt"); 
}, function(){    
$(this).removeClass("alt");
});
});

$(document).ready(function(){
$("ul.menu_body1 li:even").parent().append("<span></span>");
$('img.menu_head1').mouseover(function() { 
$(this).parent().find('ul.menu_body1').slideDown('fast').show(); 
$(this).parent().hover(function() {
}, function(){       
$(this).parent().find('ul.menu_body1').slideUp('medium'); 
});
}).hover(function() {
$(this).addClass("alt"); 
}, function(){    
$(this).removeClass("alt");
});
});

$(document).ready(function(){
$("ul.menu_body2 li:even").parent().append("<span></span>");
$('img.menu_head2').mouseover(function() { 
$(this).parent().find('ul.menu_body2').slideDown('fast').show(); 
$(this).parent().hover(function() {
}, function(){       
$(this).parent().find('ul.menu_body2').slideUp('medium'); 
});
}).hover(function() {
$(this).addClass("alt"); 
}, function(){    
$(this).removeClass("alt");
});
});

$(document).ready(function(){
$("ul.menu_body3 li:even").parent().append("<span></span>");
$('img.menu_head3').mouseover(function() { 
$(this).parent().find('ul.menu_body3').slideDown('fast').show(); 
$(this).parent().hover(function() {
}, function(){       
$(this).parent().find('ul.menu_body3').slideUp('medium'); 
});
}).hover(function() {
$(this).addClass("alt"); 
}, function(){    
$(this).removeClass("alt");
});
});



/*
survole de stick
*/

function ChangeMessage(message,champ)
  {
  if(document.getElementById)
    document.getElementById(champ).innerHTML = message;
  }
  
function montre(id) 
	{
    document.getElementById(id).style.visibility="visible";
	 }
function cache(id) 
	{
   document.getElementById(id).style.visibility="hidden";
	 }
	 
 function montre0(calque)
{
		document.getElementById("calque1").style.visibility = 'visible';
			
}
function cache0()
{
		document.getElementById("calque1").style.visibility = 'hidden';
	
}
 function montre1()
{
		document.getElementById("calque2").style.visibility = 'visible';
			
}
function cache1()
{
		document.getElementById("calque2").style.visibility = 'hidden';
	
}
 function montre2()
{
		document.getElementById("calque3").style.visibility = 'visible';
			
}
function cache2()
{
		document.getElementById("calque3").style.visibility = 'hidden';
	
}
 function montre3()
{
		document.getElementById("calque4").style.visibility = 'visible';
			
}
function cache3()
{
		document.getElementById("calque4").style.visibility = 'hidden';
	
}	 
/*
afficher au click de souris
*/	 
function affCache(idpr)
{
	var pr = document.getElementById(idpr);
 
	if (pr.style.display == "") {
		pr.style.display = "none";
	} else {
		pr.style.display = "";
	}
}	

<!--
//agrandissemen des photos

var coeff=1.5;//Coefficient de reduction
var larg=450;//largeur maxi de l'image
//var haut=388;//hauteur maxi de l'image
var coeffinit=coeff;
function changer() {
if (document.image.width < larg) {
coeff = coeff-0.2;
document.image.width = Math.round(larg/coeff);
//document.image.height = Math.round(haut/coeff);
chang=window.setTimeout('changer();',60);//vitesse de l'effet
}
else {window.clearTimeout(chang);}
}
function initial() {
if (document.image.width > larg/coeffinit) {
window.clearTimeout(chang);
coeff = coeff+0.2;
document.image.width = Math.round(larg/coeff);
//document.image.height = Math.round(haut/coeff);

initi=window.setTimeout('initial();',60);//vitesse de l'effet
}
else {window.clearTimeout(initi);}
}



