// 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.Business.value.length; b++) {
		if (iChars.indexOf(document.form1.Business.value.charAt(b)) != -1) {
		alert ("Please fix the following item(s): \n- Business field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var c = 0; c < document.form1.Email.value.length; c++) {
		if (iChars.indexOf(document.form1.Email.value.charAt(c)) != -1) {
		alert ("Please fix the following item(s): \n- Email field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var d = 0; d < document.form1.Telephone.value.length; d++) {
		if (iChars.indexOf(document.form1.Telephone.value.charAt(d)) != -1) {
		alert ("Please fix the following item(s): \n- Telephone field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
	for (var e = 0; e < document.form1.Inquiry.value.length; e++) {
		if (iChars.indexOf(document.form1.Inquiry.value.charAt(e)) != -1) {
		alert ("Please fix the following item(s): \n- Inquiry field cannot contain special characters.\n  =  ;  [  ]  \\\  /  {  }  |  <  >  are not allowed.\n");
		return false;
        }
	}
}
