jQuery(document).ready(function(){
	jQuery('.swfobj').flash(null, { version: 8 }, function(htmlOptions) {
		var $this = jQuery(this);
		var params = $this.attr('rel').split(':');
		htmlOptions.src = params[0];
		htmlOptions.width = params[1];
		htmlOptions.height = params[2];
		this.innerHTML = '<div class="alt">'+this.innerHTML+'</div>';
		$this.addClass('flash-replaced').prepend(jQuery.fn.flash.transform(htmlOptions));
	});
	
	jQuery('.flash-replaced .alt').css({ display:"block", height:"0", position:"absolute", overflow:"hidden", width:"0" });
});




