"use strict";function Write(a,b){if(document.all){document.all[a].innerHTML=b}if(document.layers){document[a].document.write(b);document[a].document.close()}if(!document.all&&document.getElementById){document.getElementById(a).innerHTML=b}}function AjaxSubmit(a,b,c){var d,f,i,http,q;f=document.forms[b];q='';for(i=0;f.elements[i];i=i+1){d=f.elements[i];if(d.type==="checkbox"||d.type==="radio"){if(d.checked){q=q+'&'+d.name+'='+encodeURI(d.value)}}else if(d.type==="hidden"||d.type==="password"||d.type==="text"||d.type==="textarea"){q=q+'&'+d.name+'='+encodeURI(d.value)}else if(d.type==="select-one"){q=q+'&'+d.name+'='+encodeURI(d.options[d.selectedIndex].value)}}try{http=new XMLHttpRequest()}catch(e){try{http=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{http=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){alert("ERROR: Your browser does not support AJAX.");return false}}}Write(c,'<span style="color:#dd3300;">(wait...)</span>');http.open("POST",a,true);http.setRequestHeader("Content-type","application/x-www-form-urlencoded");http.setRequestHeader("Content-length",q.length);http.setRequestHeader("Connection","close");http.onreadystatechange=function(){if(http.readyState===4&&http.status===200){Write(c,http.responseText)}};http.send(q)}function ShowHide(a){var o;o=document.getElementById(a);if(o.style.display==="none"){o.style.display="block"}else{o.style.display="none"}}var DNILetters="TRWAGMYFPDXBNJZSQVHLCKE";var EmailPattern=/^[A-Za-z][A-Za-z0-9_\-.]*@[A-Za-z0-9_\-]+.[A-Za-z0-9_\-.]+[A-Za-z]$/;

