// Flash Detect Class
// verifica la presenza o meno del flash player


// costruttore
function FlashDetecter()
{
	// proprietà
	// Versione flash
	var Versione = 7;
	var bFlash = false;
	// Le versioni di NS/Opera/FF dalla 3 in poi verificano la presenza del plug-in Flash nell'array dei plug-in
	// se esiste l'array dei plug-in
	//var bRitorno = false;
	if (navigator.plugins != null && navigator.plugins.length> 0) 
	{
		var flash = navigator.plugins["Shockwave Flash"].description;
		if((flash != "") && (flash != null) && (flash != isNaN))//se esiste flash player
		{
			bFlash = true;
		}
	}
	
	// metodi get e set (simulazione di "private")
	this.getFlash = function(){return bFlash;};

}

// metodi


