function placeSplash(flashPath,flashWidth,flashHeight,imgPath,mapName) {
FlashMode = 0;
// A silly hack created by butchering a couple of MM scripts and adding variable containers
// created by Chris Ivey, 2002
with (navigator) if (appName.indexOf('Microsoft')!=-1 && appVersion.indexOf('Mac')==-1) { 
  FlashMode = 1;
} else {

 if (navigator.plugins && navigator.plugins.length > 0)
 {
	if (navigator.plugins["Shockwave Flash"])
	{
		var plugin_version = 0;
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");

		for (var i = 0; i < words.length; ++i)
		{
			if (isNaN(parseInt(words[i])))
			continue;
			plugin_version = words[i];
		}
		if (plugin_version >= 5)
		{
			var plugin = navigator.plugins["Shockwave Flash"];
			var numTypes = plugin.length;
			for (j = 0; j < numTypes; j++) 
			{
				mimetype = plugin[j];
				if (mimetype)
				{
					if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))
						FlashMode = 1;
					// Mac wierdness
					if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
						FlashMode = 0;
				}
			}
		}
	}
 }
}
if (FlashMode == 1)
{
document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,1,0" WIDTH="'+flashWidth+'" HEIGHT="'+flashHeight+'"><PARAM NAME=movie VALUE="'+flashPath+'"><PARAM NAME=quality VALUE=high><PARAM NAME="menu" VALUE="false"><EMBED SRC="'+flashPath+'" QUALITY=high PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" TYPE="application/x-shockwave-flash" WIDTH="'+flashWidth+'" HEIGHT="'+flashHeight+'" MENU="false"></EMBED></OBJECT>');} else {
document.write('<img src="'+imgPath+'" width="'+flashWidth+'" height="'+flashHeight+'" alt="'+imgAlt+'" border="0" usemap="'+mapName+'">'); }
// end JS detection -->
}