function ErrorProcessor(txt){
this._txt=txt;
}
ErrorProcessor.prototype.print = function(i){
alert(this._txt.msg[i]);
}
ErrorProcessor.prototype.disallowKeyEntry = function(element){
//if(formItem.name.charAt(0)=="i"){var formName=fm.name}else{var formName=fm.outputForm.value}
//formName = formItem.form.name;
//formItem.value = document[formName][formItem.name+'mirror'].value;
document.getElementById(element.id).value = document.getElementById(element.id+'mirror').innerHTML;
}