var disptext = hitConvey_disptext;
var bground_color = hitConvey_bground_color;
var bground_opacity = hitConvey_bground_opacity;
var textcolor = hitConvey_textcolor;
var widthof = hitConvey_widthof;
var heightof = hitConvey_heightof;
var outputsize = hitConvey_outputsize;
var fontsize = hitConvey_fontsize;
var maxfontsize = hitConvey_maxfontsize;
var fonttype = hitConvey_fonttype;
var animtype = hitConvey_animtype;
var duration = hitConvey_duration;
var thefolder = hitConvey_thefolder;
var prot = window.location.protocol;
var flashContent = '' +
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="hitConveyBanner" align="middle">' +
'<param name="allowScriptAccess" value="sameDomain" />' +
'<param name="movie" value="'+prot+'//'+(self.location.hostname)+'/hitConvey/convey.swf" />' +
'<param name="quality" value="high" />' +
'<param name="wmode" value="transparent" />' +
'<param name="bgcolor" value="#ffffff" />' +
'<param name="FlashVars" value="disptext='+disptext+'&bground_color='+bground_color+'&bground_opacity='+bground_opacity+'&text_color='+textcolor+'&widthof='+widthof+'&heightof='+heightof+'&outputsize='+outputsize+'&fontsize='+fontsize+'&maxfontsize='+maxfontsize+'&fonttype='+fonttype+'&animtype='+animtype+'&duration='+duration+'" />' +
'<embed src="'+prot+'//'+(self.location.hostname)+'/hitConvey/convey.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="100%" height="100%" name="hitConveyBanner" id="hitConveyBanner" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="disptext='+disptext+'&bground_color='+bground_color+'&bground_opacity='+bground_opacity+'&text_color='+textcolor+'&widthof='+widthof+'&heightof='+heightof+'&outputsize='+outputsize+'&fontsize='+fontsize+'&maxfontsize='+maxfontsize+'&fonttype='+fonttype+'&animtype='+animtype+'&duration='+duration+'"/>' +
'</object>';

var alternateContent = '';

// Version check based upon the values entered in "Globals"
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
			
// 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
}

