
//////////////
// Visuels
//////////////

function change(id)
{
	if (document.getElementById(id).style.display == "none")
		document.getElementById(id).style.display="block";
	else
		document.getElementById(id).style.display="none";
}


function zoom(p)
{
	if (p.className == "imageProduit")
		p.className = "imageZoom";
	else
		p.className = "imageProduit";
}



///////////////
// Pratique
//////////////

function marquer (lien)
{
	if (window.sidebar)
   	 /* Gecko */
   	 window.sidebar.addPanel(lien.title, lien.href, '');
	else
		if(window.external)
			/* IE */
    		window.external.AddFavorite(lien.href, lien.title);
		else
   	 		window.alert('Cette fonction n\'est pas supportée. Utilisez votre menu "Signets", "Marque-pages" ou "Favoris" selon votre navigateur pour marquer cette page.');

	return false;
}


//////////////////////////////////////////
//fonction change l'affichage des calques
//////////////////////////////////////////

//var  annulation = "a";
function calques(numero) {
	window.document.getElementById( annulation ).style.display="none";
	window.document.getElementById( numero ).style.visibility="visible";
	window.document.getElementById( numero ).style.display="block";
	annulation = numero;
}
