// version 1.1 12-10
// Latest: added diacritic check

 // Add the card to the cart	
function addCard() {

addValidCard();
};

  
 $("input, textarea").blur(
		function () {
			txt = $(this).val();
			diaCrit = /^[\w\-\s\dÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜäëïöüçÇßØøÅåÆæÞþÐð@.!"#$%&'()*+,-\.:;<=>?@]+$/;
			//alert(diaCrit.test(txt));
			if (diaCrit.test(txt) == false && txt != "") {
			 $(this).val("");
			alert("Sorry, that entry uses an illegal character");
			}
		}
	);
 

