//we are currently validating for characters: " > <
function validate(id)
{
	try{
		var tb = document.getElementById(id)
		var tbOld = tb.value;
		var tbNew;
		charToRemove = '"';
		regExp = new RegExp("["+charToRemove+"]","g");
		tbNew = tb.value.replace(regExp,"");
		
		charToRemove = '>';
		regExp = new RegExp("["+charToRemove+"]","g");
		tbNew = tbNew.replace(regExp,"");
		
		charToRemove = '<';
		regExp = new RegExp("["+charToRemove+"]","g");
		tbNew = tbNew.replace(regExp,"");
		
		if (tbNew !== tbOld){
			alert("Use of special characters is not allowed for this field (<, >, '')\n Please retype your entry without these characters.");
			tb.focus();
			tb.select();
		}
	}
	catch(ex){}
	
}
