String.prototype.normalize_space = function() {
	// Replace repeated spaces, newlines and tabs with a single space
	return this.replace(/^\s*|\s(?=\s)|\s*$/g, "");
}


var pagePath = window.location.pathname;
var thisPage = pagePath.substring(pagePath.lastIndexOf('/') + 1);

if(thisPage != 'print.cfm') {
	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	var hdrText = header.normalize_space();
} else {
	hasRightVersion = false;
}

if(hasRightVersion) { 
	AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','100%','height','34','id','hdrHandler','align','middle','src',urlRoot+'swf/textHeader?header='+encodeURIComponent(hdrText),'quality','high','wmode','transparent','bgcolor','#ffffff','name','hdrHandler','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie',urlRoot+'swf/textHeader?header='+encodeURIComponent(hdrText) ); //end AC code
} else {
	var writeString = "<h5>"+hdrText+"</h5>";
	document.write(writeString);
}