function onIARWindowResize()
{	var eDiv			=document.getElementById('eDivFullPageLayerContainer');
	var iClientHeight,iClientWidth;
	if(eDiv.style.display=='block')
	{	// une fois le scroll désactivé, on prend les mesures
		with(document.body)
		{	iClientHeight	=clientHeight;
			iClientWidth	=clientWidth;
		}
		// on les applique
		with(eDiv.style)
		{	height	=iClientHeight+'px';
			width	=iClientWidth+'px';
		}
		// on repositionne le scroll, sans afficher la barre
		with(document.body)
		{	scrollTop	=eDiv.getAttribute('MY_BODY_SCROLL_TOP');
			scrollLeft	=eDiv.getAttribute('MY_BODY_SCROLL_LEFT');
		}	
	}
}
window.onresize	=onIARWindowResize;
function onDivFullPageLayer_ClickToShow(sShowElementId)
{	var eDiv			=document.getElementById('eDivFullPageLayerContainer');
	var iScrollTop		=document.body.scrollTop;
	var iScrollLeft		=document.body.scrollLeft;
	var iClientHeight,iClientWidth;
	var i;
	with(document.body)
	{	// désactive le scroll
		style.overflow		='hidden';
		// une fois le scroll désactivé, on prend les mesures
		iClientHeight	=clientHeight;
		iClientWidth	=clientWidth;
	}
	// On masque tout les elements concurrents
	with(eDiv)
	{	for(i=0;i<childNodes.length;i++)
			if(childNodes[i].style)
				childNodes[i].style.display		='none';
	}
	// On affiche l'element en question
	with(document.getElementById('eDivFullPageLayer_'+sShowElementId))
	{	style.display	='';
	}
	// on les applique les mesures
	with(eDiv.style)
	{	top		=iScrollTop+'px';
		left	=iScrollLeft+'px';
		height	=iClientHeight+'px';
		width	=iClientWidth+'px';
		display	='block';
	}
	// puis on repositionne le scroll, sans afficher la barre
	with(document.body)
	{	scrollTop	=iScrollTop;
		scrollLeft	=iScrollLeft;
	}
	eDiv.setAttribute('MY_BODY_SCROLL_TOP',iScrollTop);
	eDiv.setAttribute('MY_BODY_SCROLL_LEFT',iScrollLeft);
}
function onDivFullPageLayer_ClickToClose()
{	var eDiv	=document.getElementById('eDivFullPageLayerContainer');
	eDiv.style.display	='none';
	with(document.body)
	{	style.overflow	='auto';
		scrollTop		=eDiv.getAttribute('MY_BODY_SCROLL_TOP');
		scrollLeft		=eDiv.getAttribute('MY_BODY_SCROLL_LEFT');
	}
}
//document.getElementById('eDivFullPageLayerContainer').style.display	='none';