var largeurMax=screen.availWidth;
				var hauteurMax=screen.availHeight;

				function ScanCookie(variable){
					cook = document.cookie;
					variable += "=";
					place = cook.indexOf(variable,0);
					if (place <= -1)
						return("0");
					else
					{
						end = cook.indexOf(";",place)
						if (end <= -1)
							return(unescape(cook.substring(place+variable.length,cook.length)));
						else
							return(unescape(cook.substring(place+variable.length,end)));
					}
				}
				function CreationCookie(nom,valeur){
					var expDate = new Date()
					expDate.setTime(expDate.getTime() + (24 * 3600 * 1000))
					document.cookie = nom + "=" + escape(valeur) + ";expires=" + expDate.toGMTString();
				}
				function ouvrirSiteunder(){
					Siteunder = window.open('http://www.coteur.com', '_blank','toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1,width='+largeurMax+',height='+hauteurMax+'');
					temp = Siteunder.window.open('about:blank');
					temp.close();
					if (window.focus)
					  window.focus();
				}

				function ouvrirSiteunder_Chrome(){
					Siteunder = window.open('http://www.coteur.com', '_blank','toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,width='+largeurMax+',height='+hauteurMax+'');
					window.blur();
					window.focus();
				}

				function pop (){
					if(ScanCookie("clfoot")==0){
						CreationCookie("clfoot","oui")
						if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1){
							ouvrirSiteunder_Chrome();
						}else{
							ouvrirSiteunder();
						}
					}
				}

				document.onclick=pop;
