// Procédures globales du projet
function _VAL(v){var r=parseFloat(v);return isNaN(r)?0:r}
function _SDA(s,f,p,t,n,o){if(s=="")s=_SI_;if(p!="")p="&"+p;if(f!="")p="&_WW1STPAGE_="+f+p;p="?_WWREFERER_="+escape(document.referrer)+"&_WWNATION_="+_NA_+p;var a=_PAGE_.action;if(a.indexOf("://")==-1)a=document.URL
_JCL(a.substring(0,a.indexOf("/",a.indexOf("://")+3))+"/WD150AWP/WD150Awp.exe/CONNECT/"+s+p,t,n,o)}
function GLOBALESNAVIGATEUR_NETSCAPE(){{return((Position(navigator.appName.toUpperCase(),"NETSCAPE",null)>0))}}
function GLOBALESNAVIGATEUR_REDIRECT(VRESPROC, VRESBQE){{if((_VAL(VRESPROC)==1)){_SDA("WebCine","index","","_self","")}}}
function Touche()
{

	var codeTouche;       
	
	if (window.event) 
	codeTouche = window.event.keyCode;
	else
	return false;
	
	return codeTouche;	
	
}

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;
}

