// Clickable Designs | JavaScript Document //

function specChar1() {
	//var iChars = "!#$%^&*()+=[]\\\';,/{}|\":<>?";
	var iChars = "=;[]\\\/{}|<>";
	for (var a = 0; a < document.form1.Name.value.length; a++) {
		if (iChars.indexOf(document.form1.Name.value.charAt(a)) != -1) {
		alert ("Please fix the following item(s): \n- Name field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var b = 0; b < document.form1.Email.value.length; b++) {
		if (iChars.indexOf(document.form1.Email.value.charAt(b)) != -1) {
		alert ("Please fix the following item(s): \n- Email field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var c = 0; c < document.form1.Telephone.value.length; c++) {
		if (iChars.indexOf(document.form1.Telephone.value.charAt(c)) != -1) {
		alert ("Please fix the following item(s): \n- Telephone field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var c = 0; c < document.form1.Comments.value.length; c++) {
		if (iChars.indexOf(document.form1.Comments.value.charAt(c)) != -1) {
		alert ("Please fix the following item(s): \n- Comments field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
}