<!--

function Is() {
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla') != -1) &&
(agent.indexOf('spoofer') == -1) &&
(agent.indexOf('compatible') == -1) &&
(agent.indexOf('opera') == -1) &&
(agent.indexOf('webtv') == -1));
this.ns2 = (this.ns && (this.major == 2));
this.ns3 = (this.ns && (this.major == 3));
this.ns4 = (this.ns && (this.major == 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major < 4));
this.ie4 = (this.ie && (this.major >= 4));
this.ie5 = (this.ie && (this.major == 4) &&
(agent.indexOf("msie 5.0") != -1));
this.ieX = (this.ie && !this.ie3 && !this.ie4);
}

var is = new Is();

if (is.ns && is.minor < 4.7 || is.ie && is.major < 4){
	this.location.href="erreur.htm";
}
		//  Function DateExpiration
		//  fixe la date d'expiration
		function DateExpiration (DateExp) {
			var aujourdhui = new Date(0);
			var aujourdhuidate = aujourdhui.getTime();
			if (aujourdhuidate > 0)
				DateExp.setTime (DateExp.getTime() - aujourdhuidate);
		}

		//  Function FixeCookie
		//  pour créer ou modifier un cookie
		function FixeCookie (nom,valeur,expire,path,domaine,securise) {
			document.cookie = nom + "=" + escape (valeur) + ((expire) ? "; expires=" + expire.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domaine) ? "; domain=" + domaine : "") + ((securise) ? "; secure" : "");
		}

		//  Function SupprCookie
		//  Supprime un Cookie
		function SupprCookie (nom,path,domaine) {
			if (GetValeurCookie(nom)) {
				document.cookie = nom + "=" + ((path) ? "; path=" + path : "") + ((domaine) ? "; domain=" + domaine : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
			}
		}

		//  Function ValeurCookie
		//  Utiliser par GetValeurCookie
		function ValeurCookie (Pos) {
			var endstr = document.cookie.indexOf (";", Pos);
			if (endstr == -1)
				endstr = document.cookie.length;
			return unescape(document.cookie.substring(Pos, endstr));
		}

		//  Function GetValeurCookie
		//  pour récupérer la valeur d'un cookie
		function GetValeurCookie (nom) {
			var cookielength = document.cookie.length;
			var arg = nom + "=";
			var arglength = arg.length;
			var i = 0;
			while (i < cookielength) {
			var j = i + arglength;
			if (document.cookie.substring(i, j) == arg)
				return ValeurCookie (j);
				i = document.cookie.indexOf(" ", i) + 1;
				if (i == 0) break; 
			}
			return null;
		}

	//-->