siBox:
{
	currURL = window.location + '';
	currDomain = currURL.replace(/https?:\/\/(www\.)?([a-zA-Z0-9-\.]{4,})\/.*/, '$2');
	validDomain = 'iasd-iq.org';
	validDomainEsc = 'iasd\-iq.org';
	re = new RegExp('\w*\.?' + validDomainEsc + '$', 'ig');

var isIE = true;
var isNS = false;
if (!document.all) {
	isIE = false;
	isNS = true;
}

// *** Unique to website ***
signInKey = 'O0Ag4wk7';
// *** Unique to website ***

function DesiBox() {

// *** *** ***
domainName = 'iasd-iq.org';
htmlAd = '<img src="http://www.iasd-iq.org/IASD.GIF" alt="ISC" WIDTH="160" HEIGHT="108">';
// *** *** ***

eaDefault = ' Enter Your Email 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.writeBox = function () {
imgDir = 'http://webmail.doteasy.com/template/sibox/001';
tableWidth = 170;
footerWidth = tableWidth;
footerPadding = 8;
footerFontSize = '9px';
if (isNS) {
	footerWidth = tableWidth - footerPadding;
	footerFontSize = '10px';
}

document.write('' +
'<table class="desibox" border="0" cellpadding="0" cellspacing="0" width="' + tableWidth + '">' +
'<tr>' +
'<td bgcolor="#F5F8F9">' +
'<table border="0" cellpadding="0" cellspacing="0" width="100%">' +
'<tr><td class="title" align="center">Email Sign-in</td><td align="right"><img src="' + imgDir + '/decor.gif" width="36" height="33" alt=""></td></tr>' +
'</table></td>' +
'</tr>' +
'<tr>' +
'<td background="' + imgDir + '/bg_shade.gif"><img src="' + imgDir + '/blank.gif" width="1" height="5" alt=""></td>' +
'</tr>' +
'<tr>' +
'<td bgcolor="#9AB6BD">' +
'<form action="' + signInUrl + '" method="post" target="_top">' +
'<input type="hidden" name="s" value="' + signInKey + '">' +
'<input type="hidden" name="r" value="636AFC5AD6D3A96C015DC231389F8D44">' +
'<table border="0" cellpadding="1" cellspacing="1" class="body_text">' +
'<tr>' +
'<td width="50%" rowspan="4"></td>' +
'<td>Email :<br><input type="text" name="EmailAddress" class="input_field" tabindex="10" size="12" value=" Enter Your Email Address" onfocus="desiBoxObj.clearEA(this.form)" onblur="desiBoxObj.fillEA(this.form)"></td>' +
'<td width="50%" rowspan="3"></td>' +
'</tr>' +
'<tr>' +
'<td>Password :<br><input type="password" name="Password" class="input_field" tabindex="11" size="12"></td>' +
'</tr>' +
'<tr><td align="right"><input type="image" src="' + imgDir + '/btn_go.gif" tabindex="12" width="28" height="18" border="0" alt="go"></td></tr>' +
'<tr><td>' + htmlAd + '</td>' +
'<td></form></td></tr>' +
'</table></td>' +
'</tr>' +
'</table>' +
'<style type="text/css"> ' +
'.desibox .title { font-family : verdana; font-weight : bold; font-size : 9pt; color : #7F9096; } ' +
'.desibox .body_text td { font-family : arial; font-weight : bold; font-size : 8pt; color : #ffffff; } ' +
'.desibox .input_field { font-family : arial; font-weight : normal; font-size : 8pt; color : #000000; width : 148px; } ' +
'.desibox .title { font-family : verdana; font-weight : bold; font-size : 9pt; color : #7F9096; } ' +
'.desibox IMG { border: 0px; margin: 0px; padding: 0px } ' +
'</style>' +
'');

//'<tr><td height="1" bgcolor="#9AB6BD">&nbsp</td></tr>' +

}

}

desiBoxObj = new DesiBox();
desiBoxObj.writeBox();


}
