rem: compare = webForm.ValidatorTrim(webForm.ValidatorGetValue(val.controltocompare)); 
add: compare = webForm.ValidatorTrim(webForm.ValidatorGetValue(validator.controltocompare)); 
context: webForm.CompareValidatorEvaluateIsValid = function (validator){	var Operator = validator.operator.toLowerCase();	var ControlToValidate = validator.controltovalidate;	var DataType = validator.type;	var ctrl_value = webForm.ValidatorTrim (webForm.ValidatorGetValue (ControlToValidate));	if (ctrl_value == "") {		webForm.ValidatorSucceeded (validator);		return true;	}	var compare = "";	if (typeof(validator.controltocompare) == "string" && document.getElementById(validator.controltocompare))		compare = webForm.ValidatorTrim(webForm.ValidatorGetValue(val.controltocompare));	else if (typeof(validator.valuetocompare) == "string")		compare = validator.valuetocompare;	var left = webForm.Convert (ctrl_value, DataType, validator); 	if (left == null) {		webForm.ValidatorFailed (validator);		return false;	}      	var right = compare != null ? webForm.Convert (compare, DataType, validator) : null;	if (right == null) {		webForm.ValidatorSucceeded (validator);		 return true;	}	var result = false;   	if (Operator == "equal") {		result = (left == right);	}	else if (Operator == "notequal") {		result = (left != right);	}	else if (Operator == "lessthan") {		result = (left < right);	}	else if (Operator == "lessthanequal") {		result = (left <= right);	}	else if (Operator == "greaterthan") {		result = (left > right);	}	else if (Operator == "greaterthanequal") {		result = (left >= right);	}	if (result == false) {		webForm.ValidatorFailed (validator);		return false;	}	else {		webForm.ValidatorSucceeded (validator);		return true;	}}
meta: 172	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/172/83171dc0a4bfc0784933e3a069bc594eb70c2516/WebUIValidation_2.0.js/clean/mcs/class/System.Web/resources/WebUIValidation_2.0.js