function validate() { var words; var result = true; with( document.main ) { words = PName.value.split(" "); if( result == true && (PName.value == "" || words.length < 2) ) { alert("Please enter your full name."); PName.focus(); PName.select(); result = false; } EmailAddr.value.replace(/ /, ""); if( result == true && EmailAddr.value == "" ) { alert("Please enter your email address."); EmailAddr.focus(); result = false; } if( result == true ) { if( EmailAddr.value != "" ) { match = EmailAddr.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi); if( match == null ) { alert("Please enter a valid email address."); EmailAddr.focus(); EmailAddr.select(); result = false; } } } if( result == true && Comments.value == "" ) { alert("Please enter your comments."); Comments.focus(); result = false; } } return result; }
130 Almshouse Rd, Ste 101 
Richboro, PA18954 
215-355-3141 
Contact Us

Dr. Gregory Gagliardi
130 Almshouse Rd
Ste 101
Richboro, PA 18954
215-355-3141
215-355-3999 fax



If you have a comment or question,
please fill out the form below:


Your Name


Your Email


Your Questions/Comments


Copyright © 2010 Officite | Disclaimer | Patient Privacy