function inkleuren() { try { while (document.body.innerHTML.indexOf("EFiliaaL")>=0) { EFLx=document.body.innerHTML.indexOf("EFiliaaL") document.body.innerHTML=document.body.innerHTML.substr(0,EFLx)+"eFiliaaL"+document.body.innerHTML.substr(EFLx+8) } } catch(EFLe){} try { while (document.body.innerHTML.indexOf("EFLap")>=0) { EFLx=document.body.innerHTML.indexOf("EFLap") document.body.innerHTML=document.body.innerHTML.substr(0,EFLx)+"eFlap"+document.body.innerHTML.substr(EFLx+5) } } catch(EFLe){} } inkleuren() var POST=false;try {POST = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) { try {POST = new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {POST = false;}}if (!POST && typeof XMLHttpRequest!='undefined') {try {POST = new XMLHttpRequest();} catch (e) {POST=false;}}if (!POST && window.createRequest) {try {POST = window.createRequest();} catch (e) {POST=false;}}function post(cmd){POST.open('POST','/efiliaal/sendefiliaal.php',false);POST.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');POST.send(cmd);return(POST.responseText)} function pst(cmd){ xmlhttp.open("GET","/efiliaal/sendefiliaal.php?"+cmd,FF); } html_aanmelden_2="

 

 

" html_aanmelden_3="

 

De aanmelding is verzonden.

Controleer de inbox van #.

" mail="" function aanmelden() { mail=document.getElementById("id_aanmelden").value if ((mail.toLowerCase()=="nieuw")&&(regio_relatietype=='consument')) { document.cookie = 'PF_=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain=.efiliaal.nl'; document.location="/index.php/consumenten" return } content=document.querySelectorAll(".customaanmelden") content[0].innerHTML= html_aanmelden_2; TOo=setTimeout('aanmelden_()',50) } function aanmelden_() { info="q=aanmelden"+"&relatietype="+regio_relatietype+"&mail="+escape(mail) result=post(info) if (((result=='login')||(mail.indexOf('@')<=0))&&(regio_relatietype=="consument")) { location.reload() return } content=document.querySelectorAll(".customaanmelden") content[0].innerHTML=html_aanmelden_3.replace(/#/,mail); } function submitenter(myfield,e){ var keycode; if (window.event) {keycode = window.event.keyCode;} else {if (e) {keycode = e.which} else {return true;}} if (keycode==13) { if (myfield.id=="field_naam") {zoekwinkel(1) } else if (myfield.id=="zoekpromotor") {zoekpromotor() } else {aanmelden();return false;} } else {return true;} } function utf8_encode(argString) { if (argString === null || typeof argString === 'undefined') {return ''} var string = (argString + ''); // .replace(/\r\n/g, "\n").replace(/\r/g, "\n"); var utftext = '', start, end, stringl = 0; start = end = 0; stringl = string.length; for (var n = 0; n < stringl; n++) { var c1 = string.charCodeAt(n); var enc = null; if (c1 < 128) { end++; } else if (c1 > 127 && c1 < 2048) { enc = String.fromCharCode( (c1 >> 6) | 192, (c1 & 63) | 128 ); } else if ((c1 & 0xF800) != 0xD800) { enc = String.fromCharCode( (c1 >> 12) | 224, ((c1 >> 6) & 63) | 128, (c1 & 63) | 128 ); } else { if ((c1 & 0xFC00) != 0xD800) {throw new RangeError('Unmatched trail surrogate at ' + n);} var c2 = string.charCodeAt(++n); if ((c2 & 0xFC00) != 0xDC00) { throw new RangeError('Unmatched lead surrogate at ' + (n - 1)); } c1 = ((c1 & 0x3FF) << 10) + (c2 & 0x3FF) + 0x10000; enc = String.fromCharCode((c1 >> 18) | 240, ((c1 >> 12) & 63) | 128, ((c1 >> 6) & 63) | 128, (c1 & 63) | 128); } if (enc !== null) { if (end > start) {utftext += string.slice(start, end);} utftext += enc; start = end = n + 1; } } if (end > start) {utftext += string.slice(start, stringl);} return utftext; }