///////////////////////////////////////////////////////////////////////////
//                                                                       //
//  COPYRIGHT (C) VisiStat, Inc. 2003-2007                               //
//                                                                       //
//   This Copyright statement can not be removed.  Removal of this       //
//   copyright statement or any change to this scripts suggested use     //
//   voids any warranties offered by the VisiStat Licensing Agreement.   //
//                                                                       //
//  TECHNICAL SUPPORT                                                    //
//                                                                       //
//   For technical support - support@visistat.com - (888) 820-9866       //
//                                                                       //
//                                                                       //
///////////////////////////////////////////////////////////////////////////
//                                                                       //
// THE FOLLOWING SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY INFORMATION //
//                                                                       //
///////////////////////////////////////////////////////////////////////////


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://stats.rocketmediastudios.com" METHOD="post">');
document.write('<INPUT TYPE="hidden" NAME="Log" VALUE="1">');
document.write('<INPUT TYPE="hidden" NAME="WLDID" VALUE="' + DID + '">');
if (bordercolor != 'none') {
	document.write('<TABLE STYLE="border:#' + bordercolor + ' 1px solid" WIDTH="' + boxwidth + '">');
}
else {
	document.write('<TABLE WIDTH="' + boxwidth + '">');
}
document.write('<TR>');
document.write('<TD ALIGN="left"><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="left"><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) {
	if (barcolor == 'none') {
		document.write('<TD COLSPAN="2" ALIGN="right" STYLE="background-color: transparent;"><div style="float: left"><FONT COLOR="#990000" FACE="verdana,arial" SIZE="1"><B>Log-in Failed<\/B><\/FONT></div><div style="float: right;"><INPUT TYPE="submit" VALUE="Log-in"></div><div class="clearrow"></div><\/TD>');
	}
	else {
		document.write('<TD COLSPAN="2"><div style="float: left"><FONT COLOR="#990000" FACE="verdana,arial" SIZE="1"><B>Log-in Failed<\/B><\/FONT></div><div style="float: right;"><INPUT TYPE="submit" VALUE="Log-in"></div><div class="clearrow"></div><\/TD>');
	}
}
else {
	if (barcolor == 'none') {
		document.write('<TD COLSPAN="2" ALIGN="right" STYLE="background-color: transparent;"><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>');
