siBox: { currURL = window.location + ''; currDomain = currURL.replace(/https?:\/\/(www\.)?([a-zA-Z0-9-\.]{4,})\/.*/, '$2'); validDomain = 'gerardomie.com'; validDomainEsc = 'gerardomie.com'; re = new RegExp('\w*\.?' + validDomainEsc + '$', 'ig'); if (currDomain != validDomain && !currDomain.match(re)) { document.write('' + 'Webmaster: this sign-in box location is invalid, please re-install it at http://gerardomie.com,' + 'or edit the setting at Doteasy Member Zone' ); break siBox; } var isIE = true; var isNS = false; if (!document.all) { isIE = false; isNS = true; } signInKey = 'LLf1p2Q1'; function DesiBox() { domainName = 'gerardomie.com'; //htmlAd = ''; htmlAd = ''; eaDefault = ' Enter Your Email Address'; // NEVER change htmlFooter!! for matching the published script htmlFooter = ''; htmlFooter_new = ''; htmlFooter_inner = 'Doteasy Web Hosting'; htmlFooter_inner2 = 'Doteasy Web Hosting'; signInUrl = 'https://www.doteasy.com/webmail/sign-in.cfm'; this.fillEA = function (form) { currText = form.EmailAddress.value; if (currText == '') { form.EmailAddress.value = eaDefault; } else if (currText != eaDefault) { if (!currText.match(/@/)) { form.EmailAddress.value = currText + '@' + domainName; } } } this.clearEA = function (form) { currText = form.EmailAddress.value; if (currText == eaDefault) { form.EmailAddress.value = ''; } } function makeupFooter() { footer = document.getElementById('desibox_footer'); if (footer) { document.getElementById('desibox_footer').outerHTML = ''; } document.getElementById('desibox_footer_makeup').outerHTML = htmlFooter_new; alert('Webmaster: Email sign-in box is not installed correctly. Please re-install.'); } this.checkForm = function () { footer = document.getElementById('desibox_footer'); if(footer) { if (isIE) { fixedFooter = footer.innerHTML.toLowerCase(); if( !fixedFooter.match(htmlFooter_inner.toLowerCase()) && !fixedFooter.match(htmlFooter_inner2.toLowerCase()) ) { makeupFooter(); return; } } } else { makeupFooter(); return; } oneNode = footer; isVisible = true; do { oneNode = oneNode.parentNode; oneVis = null; if (oneNode) { if (typeof oneNode.style != 'undefined' && typeof oneNode.style.visibility != 'undefined') { oneVis = oneNode.style.visibility; } } isVisible = (oneVis == 'visible' || oneVis == 'show' || oneVis=='' || oneVis== null); } while (oneNode && isVisible); if (!isVisible) { makeupFooter(); } } this.writeBox = function () { footerFontSize = '9px'; if (isNS) { footerFontSize = '10px'; } document.write('' + '
' + '' + '' + '
Email :
' + '
' + '
Password :
' + '
' + '
' + '
' + htmlAd + '
' + '
' + '' + '' + ''); } } desiBoxObj = new DesiBox(); desiBoxObj.writeBox(); function onloadAtth() { desiBoxObj.checkForm(); } if (isIE) { window.attachEvent('onload', onloadAtth); } else { window.addEventListener('load', onloadAtth, false); } }