var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
  // embed the flash movie
  AC_FL_RunContent(
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,2,0',
    'width', '890',
    'height', '235',
    'src', 'carousel',
    'quality', 'high',
    'pluginspage', 'http://www.adobe.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'noscale',
    'wmode', 'transparent',
    'devicefont', 'false',
    'id', 'carousel',
    'bgcolor', '#ffffff',
    'name', 'carousel',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', '/carousel/carousel',
    'salign', ''
    ); //end AC code
} else {  // flash is too old or we can't detect the plugin
  var alternateContent = ''
    + 'This content requires the Adobe Flash Player.'
    + '<a href="http://www.adobe.com/go/getflashplayer/">Get Flash</a>';
  document.write(alternateContent);  // insert non-flash content
}
