var myFlashVersion = -1;  
var flashDetected = false;      // set to false, determines if a specified version of flash is detected

if ( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] 
		&& navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin 
		&& navigator.plugins && navigator.plugins["Shockwave Flash"] ){

	MyString = navigator.plugins["Shockwave Flash"].description;

	MyNumeric = "0123456789";
	for(var j=0; j <= MyString.length-1; j++){
		aChar = MyString.substring(j,j+1)
		if (MyNumeric.indexOf(aChar)!=-1){
			MyPos = MyString.indexOf(aChar);
			break;
		}
	}
	MyNumber = parseFloat(MyString.substring(MyPos,MyString.length));
	myFlashVersion = MyNumber;
	
	if(MyNumber >= checkFlashVersion){
       	flashDetected = true;
	}
}
