﻿
				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', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0',
						'width', '1002',
						'height', '530',
						'src', '../flash/MGMain',
						'quality', 'high',
						'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
						'align', 'middle',
						'play', 'true',
						'loop', 'true',
						'scale', 'showall',
						'wmode', 'window',
						'devicefont', 'false',
						'id', 'MGMain',
						'bgcolor', '#f4f4f4',
						'name', 'MGMain',
						'menu', 'true',
						'allowScriptAccess', 'sameDomain',
						'allowFullScreen', 'false',
						'movie', '../flash/MGMain',
						'salign', ''
						); //end AC code
					} else {  // flash is too old or we can't detect the plugin
						var alternateContent = 'This content requires the latest Adobe Flash Player. It is free and fast to download. '
						+ '<a href=http://www.macromedia.com/go/getflash/>Download Flash Player</a>';
						document.write(alternateContent);  // insert non-flash content
					}
				}
