// Procédures globales du projet
function _ARR(v,d){v*=Math.pow(10,d);v=Math.round(v);return v/Math.pow(10,d)}
function PROGLOBAISBROWSER_PROBROWSERX(VPLARGURABROWSER, VPLARGURACELULA){{var VV_LARGURABROWSER=(VPLARGURABROWSER/2);var VV_LARGURACELULA=(VPLARGURACELULA/2);return(_ARR((VV_LARGURABROWSER-VV_LARGURACELULA),0))}}
function PROGLOBAISBROWSER_PROBROWSERY(VPALTURABROWSER, VPALTURACELULA){{var VV_ALTURABROWSER=(VPALTURABROWSER/2);var VV_ALTURACELULA=(VPALTURACELULA/2);var VV_RESULT=(VV_ALTURABROWSER-VV_ALTURACELULA);if((VV_RESULT<=0)){VV_RESULT=VV_ALTURABROWSER}
return(_ARR(VV_RESULT,0))}}
function pro_browser_altura(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 pro_browser_largura()
{
	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;
}
