function StreamObject (  ) {
	var self		= this;
	
	this.postUrl	= "http://test.com";
	this.profileUrl	= "http://www.facebook.com/profile.php?ref=profile&id=";
}

StreamObject.prototype = {
	publishStream : function ( _name, _id, 
		_linkText, 
		_message, 
		_caption, 
		_description, 
		_user_message_prompt, 
		_action_links_text, 
		_action_links_url, 
		_image 
	) {
		var self = this;
		
		 var share = {
			method: 'stream.publish',
			message: _message,
			attachment: {
				name	: _linkText,
				caption	: _caption,
				description: (
					_description
				),
				media: [{
					type	: "image",
					src		: _image,
					href	: _action_links_url
				}],
				// liked text (name attribute)
				href : _action_links_url
			},
			action_links: [
				{ 
					text: _action_links_text, 
					href: _action_links_url 
				}
			],
			user_message_prompt: _user_message_prompt
		 };
		
		FB.ui (
			share,
			function ( response ) {
				self.stream_callback ( response );
			}
		);
	},
	stream_callback : function ( _response ) {
		// fb_connect.flashMovie.setPopup (  );
	}
}
