var Page_PSGValidationVer = "1";
// Validate textbox with neither Html tags, nor script tags leading to a customValidator Control
function validateNoHtml(val){
	var value = ValidatorGetValue(val.getAttribute("controltovalidate")); //ValidatorGetValue is a function of the .net framework
    if (value == "")
        return true;
	regExp = /[^<]*<[^>&]*[>&]|[^<]*&[^>&]*[>&]/;
	var arr = regExp.exec(value);
	if (arr == null ) { 
		return true;
	} else {
		return false;
	}
}