function CheckForFlashPlayer10()
{
	// Work backwards to detect the highest version installed
	for (var testFor=25; testFor > 10; testFor--)
	{
		var hasVersion = false;
		
		try
		{
			// Try and get the player with the specified version
			var flashPlayer = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + testFor);

			// The version was found
			hasVersion = true;
		}
		catch (e)
		{
		}
		
		// Did we find the version?
		if (hasVersion) return true;
	}	
	
	return false;
}
