

var UseFlash = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ) {
	// Check for Flash version 5 or greater in Netscape
	var plugin = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
	if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=5)
		UseFlash = 1;
} else if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	// Assume any Windows IE except for Windows 3.1 supports the OBJECT tag
	UseFlash = 1;
}
if ( UseFlash ) {
	// Use Flash player
	movieName = "base.swf";
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" "');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write('  width="832" height="445" id="top" align="middle">');
	document.write('<param name="FlashVars" value="onairExt= ">');
	document.write('<param name="movie" value="' + movieName + '" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="scale" value="noscale" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="salign" value="lt" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="' + movieName + '"');
	document.write(' FlashVars="onairExt= " quality="high" wmode="transparent" scale="noscale" bgcolor="#ffffff" ');
	document.write(' swLiveConnect=false width="832" height="404" name="top" align="middle" salign="lt" allowScriptAccess="sameDomain" ');
	document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)) {
	// Netscape 2 will display the IMG tag below so don't write an extra one
	document.write('<img src=images/noflash.gif border=0>');
}



function HideError(){
	return true;
}
//window.onerror = HideError;



