siBox: { currURL = window.location + ''; currDomain = currURL.replace(/https?:\/\/(www\.)?([a-zA-Z0-9-\.]{4,})\/.*/, '$2'); var isIE = true; var isNS = false; if (!document.all) { isIE = false; isNS = true; } signInKey = 'AJT9rZ4i'; function DesiBox() { domainName = 'nicbc.ca'; eaDefault = 'Enter your address!'; signInUrl = 'https://www.doteasy.com/EmailSignIn/EmailSignIn.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 = ''; } } this.checkForm = function () { 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); } this.writeBox = function () { imgDir = '/webmail'; tableWidth = 200; document.write('' + '
| ' + ' | ' + '||
| ' + ' | ' + ' | ' + ' |