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 = "images/top.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=7,0,0,0"');
	document.write('  width="778" height="670" id="top" align="middle">');
	document.write('<param name="movie" value="' + movieName + '" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="scale" value="noscale" />');
	document.write('<param name="salign" value="l" />');
	document.write('<param name="scale" value="noscale" />');
	document.write('<param name="salign" value="l" />');
	document.write('<embed src="' + movieName + '"');
	document.write('  quality="high" scale="noscale" salign="l" ');
	document.write(' swLiveConnect=false width="778" height="670" wmode="transparent" name="top" align="middle" 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('no flash.');
}



function HideError(){
	return true;
}
//window.onerror = HideError;

