// test navigateur //////////////////////
function ClassNav(){
	var n,d,s,p,o;
	n = navigator;
	p = n.plugins;
	d = document;
	s = screen;
	this.nav = n.appName;
	this.version = n.appVersion.charAt(0);
	this.userAgent = n.userAgent;
	if (d.getElementById){this.Dhtml = true;}
	if (p && p.length > 0){
		if (p["Shockwave Flash"]){
			this.implementation = "plugins";
    		this.flashInstalled = true;
			var words = p["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i){
				if (isNaN(parseInt(words[i])))
				continue;
				this.flashVersion = words[i];
				this.flashRevision = parseInt(words[words.length -1].substring(1));
    		}
		}else{
    		this.flashInstalled = false;
		}
	}else{
		this.implementation = "activeX";
		this.jscriptVersion = jscriptVersion;
		if (MM_FlashControlInstalled != null && MM_FlashControlInstalled){
			this.flashInstalled = MM_FlashControlInstalled;
			this.flashVersion = MM_FlashControlVersion;// voir testFlash.vbs
		}else{
			this.flashInstalled = false;
		}
	}
}
ClassNav.prototype.toUrl = function(){
	var temp="";
	var x;
	for (x in this){
		if (x != "toUrl") temp += x + "=" + this[x]+"&";
	}
	return(temp);
}
