function FlashInstalled() {
	result = false;
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) {
		result = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
	}
	else if (document.all && (navigator.appVersion.indexOf("Mac")==-1)) {
		// IE Windows only -- check for ActiveX control, have to hide code in eval from Netscape (doesn't like try)
		eval ('try {var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj)	result = true; xObj = null;	} catch (e)	{}');
	}
	return result;
}
function FlashWrite(url,width,height) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
  document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"');
	document.write(' width=' + width + ' height=' + height + '>');
	document.write(' <param name=movie value="' + url + '">');
  document.write(' <param name="play" value="true">');
  document.write(' <param name="loop" value="true">');
  document.write(' <param name="quality" value="high">');
	document.write(' <embed width="' + width + '" height="' + height + '" src="' + url + '"');
  document.write(' play="true" loop="true" quality="high"');
  document.write(' pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
  document.write(' </object>');
}
function NoFlashWrite(url,alt,width,height) {
	document.write('<img src="' + url + '" alt="' + alt + '" width="' + width + '" height="' + height + '" border="0">');
}
