(function(){

/*
	Class: ReplyCommentView 
	The class for a making comments tree
*/
function ReplyCommentView() { }

//ReplyCommentView extends CommentView.  
YAHOO.lang.extend( ReplyCommentView, window['SB']['ui']['CommentView']);

ReplyCommentView.prototype.toString = function() { return "[SB.ui.ReplyCommentView]"; };

ReplyCommentView.prototype.setConfig = function( inObj )
{
	SBui.ReplyCommentView.superclass.setConfig.call(this, { comment_obj:inObj.comment_obj, template:"replyview_comment", depth:inObj.depth, noreply:inObj.noreply } );

	YUIDom.setStyle(this.htmlObj,"max-width", (600 - (15 * this.depth ))+"px");
};


ReplyCommentView.prototype.showAdd = function( ev )
{
	SBui.ReplyCommentView.superclass.showAdd.call(this, ev);
};
	
ReplyCommentView.prototype.hideAdd = function( ev )
{
	SBui.ReplyCommentView.superclass.hideAdd.call(this, ev);
};

window['SB']['ui']['ReplyCommentView'] = ReplyCommentView;


})();


