var formerror = new function(){

	this.add = function (sStr,sUl){
		oLi = document.createElement('li');
		oLi.className = "form_error";
		oLi.innerHTML = "&nbsp;" + sStr;
		getobj(sUl).appendChild(oLi);
	}
	this.empty = function (sUl){
		this.hide(sUl);
		getobj(sUl).innerHTML = "";
	}
	this.show = function (sUl){
		show(sUl);
	}
	this.hide = function (sUl){
		hide(sUl);
	}

}
