function FilterCCNumber(e) {
	var asciiValue;
	var BACKSPACE = unescape("%08");
	//Netscape-style event handling
	if (e.which) { 
		asciiValue = String.fromCharCode(e.which);
	}
	else { 
	//IE-style event handling
		asciiValue = String.fromCharCode( window.event.keyCode ); 
	}
	if (asciiValue == BACKSPACE || asciiValue == "0" || asciiValue == "1" || asciiValue == "2" || asciiValue == "3" || asciiValue == "4" || asciiValue == "5" || asciiValue == "6" || asciiValue == "7" || asciiValue == "8" || asciiValue == "9" ) {
	//if (asciiValue == '-' || asciiValue == " ") {
		//alert("Please do not use spaces nor dashes when entering your Credit Card Number");
		return true;
	}
	//This else statement is superfluous, but may give you a warm fuzzy feeling.
	else { return false; }		
}

/* 2008-05-19 version
function FilterCCNumber(e) {
	var asciiValue;
	//Netscape-style event handling
	if (e.which) { 
		asciiValue = String.fromCharCode(e.which);
	}
	else { 
	//IE-style event handling
		asciiValue = String.fromCharCode( window.event.keyCode ); 
	}
	if (asciiValue == "0" || asciiValue == "1" || asciiValue == "2" || asciiValue == "3" || asciiValue == "4" || asciiValue == "5" || asciiValue == "6" || asciiValue == "7" || asciiValue == "8" || asciiValue == "9" ) {
	//if (asciiValue == '-' || asciiValue == " ") {
		//alert("Please do not use spaces nor dashes when entering your Credit Card Number");
		return true;
	}
	//This else statement is superfluous, but may give you a warm fuzzy feeling.
	else { return false; }		
}
*/
