/**************************************************************************************
*File: review_board.js
*Contents: Review Board Class.
*All rights reserved.
**************************************************************************************/

function ReviewBoard(name,tag,url,th_script,sh_script) {
	this.name = name; 		//Board's name.
	this.tag = tag;				//Board's XML tag
	this.url = url;				//Board's base URL.
	this.th_script = th_script;	//Path and params of the get thread script.
	this.sh_script = sh_script;	 //Path and params of the search script. 
}

ReviewBoard.prototype.toHtml = toHtml;
ReviewBoard.prototype.hasSearch = hasSearch;

function toHtml() {
	var str = "<strong>" + this.name + ": </strong>";
	return str;
}

function hasSearch() {
	return this.sh_script != null;
}


