/* WEB SPECIAL FORM */
var fields = ["name","email"];
  
function checkForm(theForm) {
	for (i in fields) {
		var fieldName = fields[i]
		if (theForm[fieldName].value == "" || theForm[fieldName].value == "Name" || theForm[fieldName].value == "Email" || theForm[fieldName].value == "Please fill in"){
			theForm[fieldName].style.color = "#ff0000";
			theForm[fieldName].value = "Please fill in";
			var emptyFields = true;
		}
	}
	if (!emptyFields) {
		theForm.submit();
	}
}

/* FOCUSED FIELD */
function focusedField(theField){
	if(theField.value == "" || theField.value == "Name" || theField.value == "Email" || theField.value == "Please fill in"){
		theField.value = "";
		theField.style.color = "#ffffff";
	}
}
