if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
        alert("This page requires AC_RunActiveContent.js.");
    } else {
        var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
        if(hasRightVersion) {  // if we've detected an acceptable version
            // embed the flash movie
            AC_FL_RunContent(
                'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
                'width', '550',
                'height', '95',
                'src', 'brandslider2',
                'quality', 'high',
                'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'wmode', 'transparent',
                'devicefont', 'false',
                'id', 'brandslider2',
                'bgcolor', '#333333',
                'name', 'brandslider2',
                'menu', 'true',
				'flashvars',
				//similar to model flash above except variables here 
				//are for the link (branklinkX) and the thumbnail image (brandpicX) and thumbnail mouseover image (brandpicXover)
				//This flash currently only allows for 7 brands
                //Be sure to use the currentbrand variable to indicate the brands order on the brand slider
'currentbrand=1&brandlink1=independent.html&brandpic1=images/if.png&brandpic1over=images/if2.png&brandlink2=cyfac.html&brandpic2=images/cyfac.png&brandpic2over=images/cyfac2.png&brandlink3=ellsworth.html&brandpic3=images/ellsworth.png&brandpic3over=images/ellsworth2.png&brandlink4=guru.html&brandpic4=images/guru.png&brandpic4over=images/guru2.png&brandlink5=salsa.html&brandpic5=images/salsa.png&brandpic5over=images/salsa2.png&brandlink6=time.html&brandpic6=images/time.png&brandpic6over=images/time2.png&brandlink7=wilier.html&brandpic7=images/wilier.png&brandpic7over=images/wilier2.png&brandlink8=yeti.html&brandpic8=images/yeti.png&brandpic8over=images/yeti2.png',
                'allowScriptAccess','sameDomain',
                'allowFullScreen','false',
                'movie', 'brandslider2',
                'salign', ''
                ); //end AC code
        } else {  // flash is too old or we can't detect the plugin-just displays images of brands with links
            var alternateContent = '<span><img src="images/spacer.gif" width="5" border="0"/>'
				+ '<a href="independent.html">'
				+ '<img src="images/brands_if-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'
				+ '<span><a href="cyfac.html"><img src="images/brands_cyfac-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'
				+ '<span><a href="ellsworth.html"><img src="images/brands_ellsworth-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'
				+ '<span><a href="guru.html"><img src="images/brands_guru-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'	
				+ '<span><a href="salsa.html"><img src="images/brands_salsa-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'			
				+ '<span><a href="time.html"><img src="images/brands_time-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'
				+ '<span><a href="wilier.html"><img src="images/brands_wilier-th.png" border="0" /></a>'
				+ '<img src="images/spacer.gif" width="2"/></span>'
				+ '<span><a href="yeti.html"><img src="images/brands_yeti-th.png" border="0" /></a>'
				+ '</span><div style="margin-top: 3px; text-align:left; padding-left: 10px"><img src="images/txt_explore.png" alt="Explore our Brands" /></div>';
            document.write(alternateContent);  // insert non-flash content
        }
    }