
    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', 'brandslider3x3',
                'quality', 'high',
                'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'wmode', 'transparent',
                'devicefont', 'false',
                'id', 'brandslider3x3',
                'bgcolor', '#333333',
                'name', 'brandslider3x3',
                'menu', 'true',
				'flashvars',
                //Be sure to use the currentbrand variable to indicate the brands order on the brand slider
'currentbrand=1&brandlink1=video1.html&brandpic1=images/thumb_vid1.png&brandpic1over=images/thumb_vid1-2.png&brandlink2=video2.html&brandpic2=images/thumb_vid2.png&brandpic2over=images/thumb_vid2-2.png&brandlink3=video3.html&brandpic3=images/thumb_vid3.png&brandpic3over=images/thumb_vid3-2.png',
				//&brandlink4=video4.html&brandpic4=images/thumb_vid4.png&brandpic4over=images/thumb_vid4-2.png'
				//&brandlink5=video5.html&brandpic5=images/thumb_vid5.png&brandpic5over=images/thumb_vid5-2.png'
				//&brandlink6=video6.html&brandpic6=images/thumb_vid6.png&brandpic6over=images/thumb_vid6-2.png'
				//&brandlink7=video7.html&brandpic7=images/thumb_vid7.png&brandpic7over=images/thumb_vid7-2.png'
				//&brandlink8=video8.html&brandpic8=images/thumb_vid8.png&brandpic8over=images/thumb_vid8-2.png'
				//&brandlink9=video9.html&brandpic9=images/thumb_vid9.png&brandpic9over=images/thumb_vid9-2.png'
                'allowFullScreen','false',
                'movie', 'brandslider3x3',
                'salign', ''
                ); //end AC code
        } else {  // flash is too old or we can't detect the plugin
            var alternateContent = '<span style="text-align:left;"><img src="images/spacer.gif" width=10"/><a href="video1.html">'
				+ 'Video1</a>'
				+ '<img src="images/spacer.gif" width="20" height="5"/>'
				+ '<a href="video2.html">Video2</a>'
				+ '<img src="images/spacer.gif" width="20" height="5"/>'
				+ '<a href="video3.html">Video3</a>'
				+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video4.html">Video4</a>'
				//+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video5.html">Video5</a>'
				//+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video6.html">Video6</a>'
				//+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video7.html">Video7</a>'
				//+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video8.html">Video8</a>'
				//+ '<img src="images/spacer.gif" width="20" height="5"/>'
				//+ '<a href="video9.html">Video9</a>'
				+ '</div>';
            document.write(alternateContent);  // insert non-flash content
        }
    }
