function available_flash(targetVersion) {
	var es = false;
	if(po = navigator.plugins['Shockwave Flash']){
		var fv = po.description.match(/\d+/,'');
		if(fv >= targetVersion)es |= true;
	}
	if(navigator.userAgent.indexOf('MSIE') > -1)if(able_ie(targetVersion))es |= true;
	return es;
}

function able_ie(targetVersion) {
	try{
		new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+targetVersion);
	} catch(e){
		return false;
	}
	return true;
}