/*
 * flashEnabled()
 *
 * Utility function to determine if the Flash plug-in is actually enabled.
 *
*/
function flashEnabled()
{
	if (navigator.userAgent && navigator.userAgent.indexOf("MSIE") != -1)
	{
		if (navigator.userAgent.indexOf("Windows") == -1)
		{
			var x = navigator.plugins["Shockwave Flash"];
			if (x && x.description) 
			{
				return true;
			}

			return false;
		}	
		try 
		{
			var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			return true;
		} 
		catch(e) 
		{
			return false;	
		}
	}
	return true;
}		 
