Contacto
// function checkForm( n ) { var f = new Array(); f[1] = document.getElementById('tcf_sender' + n).value; f[2] = document.getElementById('tcf_email' + n).value; f[3] = document.getElementById('tcf_subject' + n).value; f[4] = document.getElementById('tcf_msg' + n).value; f[5] = f[6] = f[7] = f[8] = f[9] = '-'; var msg = ""; for ( i=0; i < f.length; i++ ) { if ( f[i] == "" ) msg = "Please fill out all fields.\nPlease fill out all fields.\n\n"; } if ( !isEmail(f[2]) ) msg += "Wrong Email.\nWrong Email."; if ( msg != "" ) { alert(msg); return false; } } function isEmail(email) { var rx = /^([^\s@,:"<>]+)@([^\s@,:"<>]+\.[^\s@,:"<>.\d]{2,}|(\d{1,3}\.){3}\d{1,3})$/; var part = email.match(rx); if ( part ) return true; else return false } //]]>
|
Datos de Contacto
Av. Estadio 1661, La Serena. Teléfono: (51) 2214271 995181363 instituto@norteamericanolaserena.cl |