///////////////////////////////////////////////////////////////////////////
//                                                                       //
//  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 = 600;
}

document.write('<FORM NAME="wlform" ACTION="http://stats.forefrontweb.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 + ' 0px solid" WIDTH="' + boxwidth + '">');
document.write('<TR>');
document.write('<TD><label for="login">yourdomain.com<\/label><INPUT TYPE="text" id="login" NAME="login" SIZE="30"><\/TD>');
document.write('<\/TR>');
document.write('<TR>');
document.write('<TD><label for="password">password<\/label><INPUT TYPE="password" id="password" NAME="pwd" SIZE="30"><\/TD>');
document.write('<\/TR>');
document.write('<TR>');
if (f) {
	document.write('<TD COLSPAN="2" ALIGN="left" BGCOLOR="' + '"><input type="image" src="images/login_btn.png" /><div class="clear"></div><span class="error">Incorrect login, please try again.</span><\/TD>');
}
else {
	document.write('<TD COLSPAN="2" ALIGN="left" BGCOLOR="' + '"><input type="image" src="images/login_btn.png" border="0" width"150" height="50" alt="login" title="login" /><\/TD>');
}
document.write('<\/TR>');
document.write('<\/TABLE>');
document.write('<\/FORM>');
