function textboxFocus(item) { item.style.backgroundColor = "#FFF5EE";}function textboxBlur(item) { item.style.backgroundColor = "#FFEEBB";}function formButtonClicked() {var validInput = true;var phone = document.getElementById('phone').value;if (phone.length < 7) {validInput = false;document.getElementById('phoneStar').style.color = '#FF0000';document.getElementById('phone').style.backgroundColor = '#FFDDDD';}else {document.getElementById('phoneStar').style.color = '#000000';document.getElementById('phone').style.backgroundColor = '#FFEEBB';}var lname = document.getElementById('lname').value;if (lname.length < 1) {validInput = false;document.getElementById('lnameStar').style.color = '#FF0000';document.getElementById('lname').style.backgroundColor = '#FFDDDD';}else {document.getElementById('lnameStar').style.color = '#000000';document.getElementById('lname').style.backgroundColor = '#FFEEBB';}var validEmail = true;if (!validInput || !validEmail) { if (!validEmail && validInput) {alert('The email address you typed in is not valid.');}else {alert('Form is not complete. Please complete items marked in red.');}}else {if (document.getElementById('webPastiesForm') == null) {alert('Please remove the existing
");