$(document).ready(function() { 
	$('h1.PageTitle').flash(
		{ 
			src: 'flash/swf/avenir65_secure.swf', 
			wmode: 'transparent', 
			flashvars: { 
				css: ['* { font-size:29px; color: #FFFFFF; font-weight:bold; text-align:right; }','a { color: #0055CC; text-decoration: none; }','a:hover { text-decoration: underline; }'].join(' '),
				dshadow: ['distance:0,angle:0,color:0x000000,alpha:1,blurX:4,blurY:4,strength:1,quality:3,inner:false,knockout:false,hideObject:false']
			}
		},
		{ version: 7 },
		function(htmlOptions) {
			htmlOptions.flashvars.txt = this.innerHTML;
			this.innerHTML = '<span>'+this.innerHTML+'</span>';
			var $alt = $(this.firstChild);
			htmlOptions.height = $alt.height();
			htmlOptions.width = $alt.width();
			$alt.addClass('alt');
			$(this).addClass('flash-replaced').prepend($.fn.flash.transform(htmlOptions));
		}
	);
	$('h2.PageTitle').flash(
		{ 
			src: 'flash/swf/avenir65_secure.swf', 
			wmode: 'transparent', 
			flashvars: { css: ['* { font-size:25px; color: #666666; font-weight:bold; text-align:left; }','a { color: #0055CC; text-decoration: none; }','a:hover { text-decoration: underline; }'].join(' ')}
		},
		{ version: 7 },
		function(htmlOptions) {
			htmlOptions.flashvars.txt = this.innerHTML;
			this.innerHTML = '<span>'+this.innerHTML+'</span>';
			var $alt = $(this.firstChild);
			htmlOptions.height = $alt.height();
			htmlOptions.width = $alt.width();
			$alt.addClass('alt');
			$(this).addClass('flash-replaced').prepend($.fn.flash.transform(htmlOptions));
		}
	);
	//$(".Image").dropShadow({left: 1, top: 1, blur: 2, opacity: 1, color:"#000000"});
})