FlashGameBlock = function( options ) {
	this.init( options );
}

FlashGameBlock.prototype = {
	options : null,
	init: function( options ) {
		this.options = options;
	},

	render: function() {
		if( this.options.IsGameJavaGame == true ) {
			$( '#' + this.options.FlashGameDivID ).html( this.options.GameSrc );
		} else {
			swfobject.embedSWF( this.options.GameSrc, this.options.FlashGameDivID, this.options.GameWidth, this.options.GameHeight, "9.0.0", "/swf/expressinstall.swf", false, this.options.GameVars );
		}
	}
};

