var flashdetect;
var versao_req = 9;

if(!document.fireEvent) {

if(navigator.plugins["Shockwave Flash"]) {

	var versao_atual = (parseInt(String(navigator.plugins["Shockwave Flash"].description).substring(16,20)))

	if(versao_atual >= versao_req) {
		flashdetect = true	
	}else{
		flashdetect = false	
	}
	
}else{
	flashdetect = false
}

}else{
	
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('checa = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.' + versao_req + '"))) \n');
document.write('IF checa = TRUE then flashdetect = true ELSE flashdetect = false END IF \n');
document.write('</SCR' + 'IPT\> \n');

}

//if(!flashdetect) { document.location = './html' }