// Procédures globales du projet
function Focus(VALIAS)
{
	var obj;
	obj = document.getElementById(VALIAS)
	
	if (obj) 
		obj.focus();
}

function EnFireFoxOuNetscapeNav()
{
	// La propriété "document.all" est gérée uniquement par IE
	// Donc si elle n'est pas définie, on est sous FF ou Netscape => la fonction renvoie vrai
	// Sinon on est sous IE, la fonction renvoie faux
	return (document.all == undefined);
	
}
function NavigateurHauteur(bForDWW)
{
	var nH;

	if (document.body.clientHeight)
		nH = document.body.clientHeight;
	else
		if (window.innerHeight)
			nH = window.innerHeight;
		else
			nH = window.clientHeight;
	
	if (bForDWW == true)
		nH = document.body.scrollHeight;
	else
		if (nH == 0) nH = document.body.scrollHeight;	
		
	return nH;			

}

function NavigateurLargeur()
{
	if (document.documentElement.clientWidth)
		return document.documentElement.clientWidth;
	else
		if (document.body.clientWidth)
			return document.body.clientWidth;
		else
			if (window.innerWidth)
				return window.innerWidth;
			else
				return window.clientWidth;
}

