function FlashViewer()
{
	this.Quality;
	this.FlashVars;
	this.Width;
	this.Height;
	this.swfFile;
	this.ObjectId;
	this.Version;
	this.BackgroundColor;

	this.show = function()
	{
		///UserCodeRegionStart:[show] (do not remove this comment.)
		// Variables
		var buffer = '';
		var divStartupTag = '';		
		var divEndTag = '</div>';
		var noFlashInstalled = "This Text is replaced by the Flash movie. If you see this text, you do not have the <a href='http://www.adobe.com/go/getflashplayer/'>Flash plugin installed</a> version:" + this.Version + ".";
		//var loadingAni = gx.util.resourceUrl(this.swfFile , true);
		var loadingAni = this.swfFile;
		var lineBreak = '\n';
		
		// First Tag
		divStartupTag += '<div id="' + this.ObjectId + '">';
		divStartupTag += noFlashInstalled + lineBreak;
		divStartupTag += divEndTag + lineBreak;

		// Set HTML
		buffer = divStartupTag;
		this.setHtml(buffer);
		// Uses the SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
		try
		{
			var so = new SWFObject(loadingAni, this.ObjectId, this.Height, this.Width, this.Version, this.BackgroundColor, this.Quality);
			if (this.FlashVars.length > 0) // Flash uses variables
			{ 
				so.addVariable( "flashVarText" , this.FlashVars );
			}
			so.write(this.ObjectId);		
		}
		catch(e)
		{
			buffer = "An Exception occurred creating the Flash Object.";
			buffer += e.name + "-" + e.message + "." + e.fileName + ":" + e.lineNumber;
			document.getElementById(this.ContainerName).innerHTML = buffer;
			so = null;
		}		
		
		
		///UserCodeRegionEnd: (do not remove this comment.)
	}
	///UserCodeRegionStart:[User Functions] (do not remove this comment.)
	
	
	
	///UserCodeRegionEnd: (do not remove this comment.):
}
