// affiche un voile gris qui désactive ce qu'il y a en-dessous
function voile(show,fenetre)
{
	if (fenetre != undefined)
	{
		var docu = fenetre;
	}
	else
	{
		var docu = document;
	}

	if(docu.getElementById)
	{
		if(docu.getElementById('voile'))
		{
			var voil = docu.getElementById('voile').style;
			voil.display = !show ? 'none' : 'block';
  		}
  		else
  		{
		    var voil = docu.createElement('DIV');
		    voil.id = 'voile';
		    voil.style.display = 'block';
		    //Position.absolutize(voil);
		    voil.style.position = 'absolute';
		    voil.style.top = '0px';
		    voil.style.left = '0px';
		    voil.style.width = '100%';
		    voil.style.height = ((screen.height)*2) + 'px';
		    voil.style.backgroundColor = '#555';
		    voil.style.opacity = '0.4';
		    voil.style.khtmlOpacity = '0.4';
		    voil.style.mozOpacity = '0.4';
		    voil.style.filter = 'alpha(opacity=40)';
		    voil.style.zIndex = '50';
		    
		    docu.body.appendChild(voil);
		}
	}
} //voile
