var review=
{
	openFormReview:function()
	{
		win = new Window('modal_window', {
		className: "darkX",
		title		: 	'Gửi thảo luận',
		width		:	374,
		height		:	225,
		zIndex		:	150,
		maximizable	: false,
		minimizable	: false,
		opacity		:	1,
		resizable	: 	true})
		//win.getContent().innerHTML = "Hi"
		win.setContent("review_form_body");
		win.setDestroyOnClose();
		win.showCenter(true);
	},
	getForumReviewContent:function()
	{
		ref	=	"commondata.php?action=aj_get_form_select_review";
		
		ajax = new ITDAJAX.AJAX();
		
		ajax.onError = this.error;
		
		ajax.callPage(ref,'',this.resultContent);
		
		return false;
	},
	resultContent:function(response)
	{
		if(response!="")
		{
			$("review_form_body").innerHTML	=	response;
			
			review.openFormReview();
			
			return false;
		}
		
		return false;
	},
	getForumList:function(idTopic)
	{
		ref	=	"commondata.php?action=aj_get_form_select_review_forum&idtopic=" + idTopic;
		
		ajax = new ITDAJAX.AJAX();
		
		ajax.onError = this.error;
		
		ajax.callPage(ref,'',this.resultForum);
		
		return false;
	},
	resultForum:function(response)
	{
		if(response!='')
		{
			$('forumlistbody').innerHTML	=	response;
			
			$('listcasi').focus();
			
			return false;
		}
		
		return false;
		
	}
	
}