// Procedures globales du projet
function COLLECTIONJAVASCRIPT_ETATMENU(VNOMMENU)
{
	{
	return eval(((clWDEncode.sEncodeCharset(unescape("document.getElementById(\'"))+VNOMMENU)+clWDEncode.sEncodeCharset(unescape("\').style")))).display;
}
}
function COLLECTIONJAVASCRIPT_HEIGHTMAX()
{
	{
	var VHW=Getwindowheight();
	var VHP=PageHauteur();
	if((VHW>VHP))
	{
		return VHW;
	}
	else {
		return VHP;
	}
}
}
function COLLECTIONJAVASCRIPT_MODIFMENU(VNOMMENU, VNEWETAT)
{
	{
	eval(((clWDEncode.sEncodeCharset(unescape("document.getElementById(\'"))+VNOMMENU)+clWDEncode.sEncodeCharset(unescape("\').style")))).display=VNEWETAT;
}
}
function COLLECTIONJAVASCRIPT_WIDTHMAX()
{
	{
	var VWW=Getwindowidth();
	var VWP=PageLargeur();
	if((VWP>VWW))
	{
		return VWP;
	}
	else {
		return VWW;
	}
}
}
function COLLECTIONJAVASCRIPT_GRISERCHAMP(VNOMCHAMP, VBNEWETAT)
{
	{
	eval(((clWDEncode.sEncodeCharset(unescape("document.getElementById(\'"))+VNOMCHAMP)+clWDEncode.sEncodeCharset(unescape("\')")))).disabled=VBNEWETAT;
}
}
function Getwindowheight() 
{
	var windowHeight=0;
	if (typeof(window.innerHeight)=='number') 
	{ 
		windowHeight=window.innerHeight;
		
		}
	else
	{
		if (document.documentElement&&document.documentElement.clientHeight) 
		{
			windowHeight = document.documentElement.clientHeight;
			}
		else
		{
			if (document.body&&document.body.clientHeight) 
			{
				windowHeight=document.body.clientHeight;
				}
			}
		}
	windowHeight+=document.body.scrollTop;
	return windowHeight;
}
function Getwindowidth() 
{
	var windowWidth=0;
	if (typeof(window.innerWidth)=='number') 
	{ 
		windowWidth=window.innerWidth;
		
		}
	else 
	{
		if (document.documentElement&&document.documentElement.clientWidth) 
		{
			windowWidth = document.documentElement.clientWidth;
			}
		else
		{
			if (document.body&&document.body.clientWidth) 
			{
				windowWidth=document.body.clientWidth;
				}
			}
		}
	windowWidth+=document.body.scrollLeft;
	return windowWidth;
}
function PageHauteur()
{
	return document.body.offsetHeight - (document.body.offsetHeight - document.body.scrollHeight);
}

function PageLargeur()
{
	return document.body.offsetWidth - (document.body.offsetWidth - document.body.scrollWidth);
}


