function MM_effectAppearFade(targetElement, duration, from, to, toggle){
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
// preloader -----------------------------------------------------
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
// divers -----------------------------------------------------
function openWin(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function changeHeight(origin, cible) {
	var valeur = document.getElementById(origin).offsetHeight;
	document.getElementById(cible).style.height = valeur + 'px';
}
function show(cible) { 
	document.getElementById(cible).style.display = 'block';
}
function mask(cible) { 
	document.getElementById(cible).style.display = 'none';
}

