//<script type="text/javascript">

function CheckExtendedASCII(CheckString) {
// This function only permits use of alphas, numerics, and space, and disallows extended ASCII characters.

	for (var i = 0; i < CheckString.length; i++) {   
		if (CheckString.charCodeAt(i) < 32 || CheckString.charCodeAt(i) > 122) {
			//alert(CheckString.charCodeAt(i))
			return false;
		}
		else if (CheckString.charCodeAt(i) > 32 && CheckString.charCodeAt(i) < 48) {
			//alert(CheckString.charCodeAt(i))
			return false;
		}
		else if (CheckString.charCodeAt(i) > 57 && CheckString.charCodeAt(i) < 65) {
			//alert(CheckString.charCodeAt(i))
			return false;
		}
		else if (CheckString.charCodeAt(i) > 90 && CheckString.charCodeAt(i) < 97) {
			//alert(CheckString.charCodeAt(i))
			return false;
		}
		else {
			//alert(CheckString.charCodeAt(i))
		}
	}
	return true;
}
//</script>