// Identifie les proprietes principales du navigateur

caractNav = new detectionCaract();

// Creation de la variable caractNav
function detectionCaract() {

	// Caracterisitiques du navigateur et de la plateforme
	this.navNom = navigator.appName;
	this.navVersionComplet = parseFloat(navigator.appVersion);
	this.navVersion = parseInt(navigator.appVersion);
	this.navIdentif = navigator.userAgent;
	this.systMach = navigator.platform;

	// Identification de la plateforme
	this.pf_NN4 = (this.navVersion == 4) && (this.navNom == "Netscape");  
	this.pf_NN4PC = (this.pf_NN4) && (this.systMach.indexOf("Win") != -1); 
	this.pf_IE45 = (this.navVersion >= 4) && (this.navNom.indexOf("Microsoft") != -1);
	this.pf_IE4Mac = (this.pf_IE45) && (this.navIdentif.indexOf("5.0") == -1) && (this.systMach.indexOf("Mac") != -1);
	this.pf_NN6 = (this.navVersion >= 5) && (this.navNom == "Netscape");
	this.pf_Autre = (!this.pf_NN4) && (!this.pf_IE45) && (!this.pf_NN6);
	this.pf_IE5Win = (this.pf_IE45) && (this.navIdentif.indexOf("5.0") != -1) && (this.systMach.indexOf("Mac") == -1);
	
}






