function ISOL_flash(navigator, flash_file, flash_height, flash_width, bg_color, no_flash, flash_dir, record) {

	var FlashCanPlay = true;

	var flash_path = flash_file + '?image_path=' + flash_dir + '&record=' + record;

	var contentVersion = 6;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i)
			{
			if (isNaN(parseInt(words[i])))
			continue;
			var PluginVersion = words[i]; 
			}
		var FlashCanPlay = PluginVersion >= contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
	   && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + "IPT LANGUAGE=VBScript\>\n"); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next\n');
		document.write('FlashCanPlay = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & contentVersion)))\n');
		document.write('</SCR' + 'IPT>\n');	
	}
	
	if ( FlashCanPlay ) {
		document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" WIDTH=\"" + flash_width + "\" HEIGHT=\"" + flash_height + "\" id=\"FlashObject\" ALIGN=\"\">\n<PARAM NAME=movie VALUE=\"" + flash_path + "\" />\n<PARAM NAME=menu VALUE=false>\n<PARAM NAME=quality VALUE=\"high\" />\n<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n<PARAM NAME=bgcolor VALUE=\"" + bg_color + "\" />\n<EMBED src=\"" + flash_path + "\" menu=false quality=high bgcolor=\"" + bg_color + "\" WIDTH=\"" + flash_width + "\" HEIGHT=\"" + flash_height + "\" NAME=\"FlashObject\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\" />\n</OBJECT>");	
	} else {
		document.write('<img title="" src="' + no_flash + '" alt="" hspace="0" vspace="0" border="0">');
	}

}