var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		
if(hasRightVersion) {  // if we've detected an acceptable version
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" title="Wonder Wall">');
	document.write('<param name="movie" value="loader_client.swf?accountID=' + accountID + '&accountDomain=' + accountDomain + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name=bgcolor value=#F0EEEE>');
	document.write('<embed src="loader_client.swf?accountID=' + accountID + '&accountDomain=' + accountDomain + '" quality="high" bgcolor=#F0EEEE pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed>');
	document.write('</object>');
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = 'The Flash plugin for your browser is out of date and needs to be updated to use the Wonder Wall.'
	+ '<br /><a href=http://www.adobe.com/go/getflash/>Update Flash Now</a>';
	document.write(alternateContent);  // insert non-flash content
}