var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

if(hasRightVersion) {  



// if we've detected an acceptable version

	if (AC_FL_RunContent == 0) {

		alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");

	} else {

		// embed the flash movie

		AC_FL_RunContent(

			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',

			'width', '925',

			'height', '640',

			'src', '../../project',

			'quality', 'high',

			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',

			'align', 'middle',

			'play', 'true',

			'loop', 'true',

			'scale', 'showall',

			'wmode', 'transparent',

			'devicefont', 'false',

			'id', '../../project',

			'FlashVars','thisURL='+location.href,

			'bgcolor', '#29282C',

			'name', '../../project',

			'menu', 'true',

			'allowScriptAccess','sameDomain',

			'movie', '../../project',

			'salign', ''

			); //end AC code

	}

} else {  // flash is too old or we can't detect the plugin

	var alternateContent = 'The TMDA website requires the Adobe Flash Player 8 or higher.'

	+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';

	document.write(alternateContent);  // insert non-flash content

}












