

function validatePhone(strng,strngno){
	
	error = ""
	stripped = ""
	
	/*//strip out acceptable non-numeric characters
	var stripped = strng.replace(/[\(\)]/g, '');
	if (isNaN(parseInt(stripped))) {
   		error = "The area code contains illegal characters.";
	}
	
	if (!(stripped.length == 3)) {
		error = "The area code is the wrong length.\n";
	}
	
	var stripped = strngno.replace(/[\.\-]/g, '');

	//strip out acceptable non-numeric characters
	if (isNaN(parseInt(stripped))) {
		error += "The phone number contains illegal characters.";
	}
    
	if (!(stripped.length == 7)) {
		error += "The phone number is the wrong length.\n";
	}*/
	return error;
}





