// Spanish Version

function openNW(link,target,w,h,t,l) {
    window.open(link,target,'width=' + w + ',height='+ h +',top='+ t +',left='+ l +',location=no,menubar=no,toolbar=no,scrollbars=yes,statusbar=yes,resizable=yes');
}
function openPOP(link,target,w,h,t,l) {
    window.open('http://www.texascollegemoney.org/spanish/glossary/' + link,target,'width=' + w + ',height='+ h +',top='+ t +',left='+ l +',location=no,menubar=no,toolbar=no,scrollbars=yes,statusbar=no,resizable=yes');
}
function goToURL()
	{ window.location="http://www.texascollegemoney.org/spanish/service_down.html"; }

function isFilled() {
if (document.TCMForm.Email.value < 1)
	{ document.TCMForm.reset();  return false; }
   else
   	{ return true; }
}

function checkEmail(TexasCollegeMoney) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(TexasCollegeMoney.Email.value))
	{ return (true) }
   alert("No encontramos la dirección de correo electrónico que ha escrito. \n" +
         "Por favor, corríjala e inténtelo otra vez.")
	return (false)
}
