<!--
//Constructor d'un objet représentant l'état du Player Flash

var implementation //la forme du player "ActiveX Control" (IE) ou "plug-in" Netscape, IE5 sur Mac
var autoInstallable //true si le player peut-être automatiquement installé ou updaté
var installed //true si le player est intallé, undefined si il est indétectable
var version //la version du player si il est installé
var revision //révision si implementation est "plug-in"

if (navigator.plugins && navigator.plugins.length > 0){
	this.implementation = "Plug-in";
	this.autoInstallable = false;	// until Netscape SmartUpdate supported

	// controle si le plugin est installé

	if (navigator.plugins["Shockwave Flash"]){
	    this.installed = true;

	    // version and revision du plugin

	    var words =
		navigator.plugins["Shockwave Flash"].description.split(" ");

	    for (var i = 0; i < words.length; ++i){
			if (isNaN(parseInt(words[i])))
				continue;

				this.version = words[i];

				this.revision = parseInt(words[i + 1].substring(1));
	    }
	}else{
	    this.installed = false;
	}
}
//-->