function RunFlash()
{

    document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
    document.write('  http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write(' ID="Inquiry" WIDTH="590" HEIGHT="280" ALIGN="">');
    document.write(' <PARAM NAME=allowScriptAccess VALUE="sameDomain"> <PARAM NAME="wmode" VALUE="opaque">  ');
    document.write(' <PARAM NAME=movie VALUE="/author/etc/medialib/flashapps/brand-space-widget/sigmabrandspace8-swf.Par.0001.File.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
    document.write(' <EMBED src="/author/etc/medialib/flashapps/brand-space-widget/sigmabrandspace8-swf.Par.0001.File.swf" quality=high bgcolor=#FFFFFF  ');
    document.write(' swLiveConnect=TRUE WIDTH="590" HEIGHT="280" ID="Brandtest" NAME="Brandtest" ALIGN="" allowScriptAccess="sameDomain" wmode="opaque" ');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
    document.write(' <\/EMBED>');
    document.write(' <\/OBJECT>');

}

function RunFlashPublish()
{

    document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
    document.write('  http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write(' ID="Cheminar Potassium Organotrifluoroborates" WIDTH="590" HEIGHT="280" ALIGN="">');
    document.write(' <PARAM NAME=allowScriptAccess VALUE="sameDomain"><PARAM NAME="wmode" VALUE="opaque">  ');
    document.write(' <PARAM NAME=movie VALUE="/etc/medialib/flashapps/brand-space-widget/sigmabrandspace8-swf.Par.0001.File.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
    document.write(' <EMBED src="/etc/medialib/flashapps/brand-space-widget/sigmabrandspace8-swf.Par.0001.File.swf" quality=high bgcolor=#FFFFFF  ');
    document.write(' swLiveConnect=TRUE WIDTH="590" HEIGHT="280" ID="Brandtest" NAME="Brandtest" ALIGN="" allowScriptAccess="sameDomain" wmode="opaque" ');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
    document.write(' <\/EMBED>');
    document.write(' <\/OBJECT>');

}

var MM_contentVersion = 8;
var noflash = 0;
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 MM_PluginVersion = words[i];
        }
    var MM_FlashCanPlay = MM_PluginVersion >= MM_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('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
    document.write('<\/SCR' + 'IPT\> \n');
}

if ( MM_FlashCanPlay ) {
	if (document.location.href.indexOf("/author/") != -1)
	  { RunFlash();
	  } else { RunFlashPublish();
	  }

   } else {
document.write('<img id=\"/etc/medialib/sigma-aldrich/statichexagons#Par.0001.Image \" height=\"279\" alt=\"\" width=\"588\" usemap=\"#Map\" border=\"0\" src=\"/etc/medialib/sigma-aldrich/statichexagons.Par.0001.Image.gif\" > <map id=\"Map\" name=\"Map\"><area href=\"/life-science/your-favorite-gene-search.html?cm_sp=Home-_-altHexLeft-_-YFG\" coords=\"190,122,159,59,249,111,249,215,159,266,69,213,69,110,157,59,158,60\" shape=\"POLY\" ><area href=\"/chemistry/chemical-synthesis/chemical-synthesis-catalog.html?cm_sp=Home-_-altHexCenter-_-ChemProductCentral\" coords=\"313,115,374,151,374,220,314,255,253,220,253,148\" shape=\"POLY\" ><area href=\"/customer-service/global-citizenship.html?cm_sp=Home-_-altHexRight-_-GlobalCitizenship\" coords=\"465,43,513,71,512,126,465,153,418,125,418,71\" shape=\"POLY\" ><area href=\"/site-level/service.html?cm_sp=Home-_-altImgHex-_-Support\" coords=\"487,172,525,193,525,235,488,256,453,237,451,193\" shape=\"POLY\" ><area href=\"/technical-service-home/product-catalog.html?cm_sp=Home-_-altImgHex_-Products\" coords=\"375,62,413,88,414,125,376,143,342,125,341,86\" shape=\"POLY\" ><area href=\"https://www.sigmaaldrich.com/webapp/wcs/stores/servlet/OrderCenterView?storeId=11001&amp;langId=-1&amp;cm_sp=Home-_-altImgHex-_-Order\" coords=\"415,131,447,151,449,189,416,208,381,191,379,151\" shape=\"POLY\" ><area href=\"/united-states/sa-highlights.html?cm_sp=Home-_-Highlights_-Link\" coords=\"482,262,582,277\" shape=\"RECT\" ></map><p align=\"center\">This page contains Flash. To view the Flash presentation, you need Flash 10 Player.<br />Click <a target=\"_blank\" href=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"><strong>here</strong></a> to download the Flash Player.</p>')
   }
