var f = location.search.substring(0);

if (!bordercolor) {
	var bordercolor = '999999';
	var textcolor = '333333';
	var barcolor = 'EEEEEE';
	var boxwidth = 200;
}

document.write('<FORM NAME="wlform" ACTION="http://stats1.aai-agency.com" METHOD="post">');
document.write('<INPUT TYPE="hidden" NAME="Log" VALUE="1">');
document.write('<INPUT TYPE="hidden" NAME="WLDID" VALUE="' + DID + '">');
document.write('<TABLE STYLE="border:#' + bordercolor + ' 1px solid" WIDTH="' + boxwidth + '">');
document.write('<TR>');
document.write('<TD ALIGN="right"><FONT FACE="verdana,arial" SIZE="1" COLOR="' + textcolor + '"><B>Domain:<\/B><\/FONT><\/TD>');
document.write('<TD><INPUT TYPE="text" NAME="login" SIZE="15"><\/TD>');
document.write('<\/TR>');
document.write('<TR>');
document.write('<TD ALIGN="right"><FONT FACE="verdana,arial" SIZE="1" COLOR="' + textcolor + '"><B>Password:<\/B><\/FONT><\/TD>');
document.write('<TD><INPUT TYPE="password" NAME="pwd" SIZE="15"><\/TD>');
document.write('<\/TR>');
document.write('<TR>');
if (f) {
	document.write('<TD COLSPAN="2" ALIGN="right" BGCOLOR="' + barcolor + '"><FONT COLOR="#990000" FACE="verdana,arial" SIZE="1"><B>-Log-in Failed-<\/B><\/FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="submit" VALUE="Log-in"><\/TD>');
}
else {
	document.write('<TD COLSPAN="2" ALIGN="right" BGCOLOR="' + barcolor + '"><INPUT TYPE="submit" VALUE="Log-in"><\/TD>');
}
document.write('<\/TR>');
document.write('<\/TABLE>');
document.write('<\/FORM>');