var flash = 0;
var MSIE = false
	
var browser = navigator.appName;
if (browser.indexOf("Explorer") != -1) {MSIE = true;}

if (MSIE && navigator.appVersion.indexOf("Mac") == -1 && navigator.appVersion.indexOf("3.1") == -1){
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Dim flash6Installed \n');
	document.write('flash6Installed = (IsObject(createobject("shockwaveflash.shockwaveflash"))) \n'); 
	document.write('if (flash6Installed) Then flash=1\n');
	document.write('</SCR' + 'IPT\> \n');
} else {
	numPlugins = navigator.plugins.length;
	for (i = 0; i < numPlugins; i++) {
		plugin = navigator.plugins[i];
		if (plugin.name.indexOf("Shockwave Flash") != -1) {
		     flash = 1;
	  }
	}
}

function checkFlash() {
	return flash;
}

function checkFlashGENine() {
	return flash;
}