
function RegularExpressionValidatorEvaluateIsValid(p1,p2){var value=p1;if(ValidatorTrim(value).length==0)
return true;var rx=new RegExp(p2);var matches=rx.exec(value);return(matches!=null&&value==matches[0])}
function ValidatorTrim(s){var m=s.match(/^\s*(\S+(\s+\S+)*)\s*$/);return(m==null)?"":m[1]}
function ValidatorGetValue(id){var control;control=document.getElementById(id);if(typeof(control.value)=="string"){return control.value}}
