var flashContent = '' +

'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="673" height="273" id="banner" align="middle">' +

'<param name="allowScriptAccess" value="always" />' +

'<param name="movie" value="slideshow.swf" />' +

'<param name="quality" value="high" />' +

'<param name="wmode" value="transparent" />' +

'<param name="FlashVars" value="images.xml" />' +

'<param name="bgcolor" value="#000000" />' +

'<embed src="slideshow.swf" FlashVars="images.xml" quality="high" wmode="transparent" bgcolor="#000000" width="673" height="273" name="banner" align="left" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +

'</object>';



var alternateContent = '<font color="#747474">This content requires the Adobe Flash Player. ' +

'<a href=http://www.adobe.com/go/getflash/>Click Here to Download the Latest Flash Player.</a></font>';



// Version check based upon the values entered in "Globals"

var hasRequestedVersion = DetectFlashVer(requiredMajorVersion="8", requiredMinorVersion="0", requiredRevision="45");

			

// Check to see if the version meets the requirements for playback

if (hasRequestedVersion) {

	// if we've detected an acceptable version

	// embed the Flash Content SWF when all tests are passed

				

	document.write(flashContent);

				

} else {  // flash is too old or we can't detect the plugin

	

	document.write(alternateContent);  // insert non-flash content

}

