// Msglogin.js

// Login Screens

var strExpBoth = "Please establish a new user name and a new password to access " + strProductName + "."
var strExpPassword = "For security reasons, your password should be changed every 6 months.  Please establish a new password."
var strExpiredUser = "This user name has expired and can no longer access " + strProductName + "."
var strLoginSystemError = "<SPAN ID='idErrorMsg'>Your log in has failed due to a system error.  We apologize for this inconvenience and ask that you try again later.&nbsp;&nbsp;" + strTechSupport + "</SPAN>";
var strLoginTooManyAttempts = "<SPAN ID='idErrorMsg'>You have attempted to log in too many times.&nbsp;&nbsp;" + strTechSupport + "</SPAN>";
var strLoginMissingHost = "Error: Unable to locate host.&nbsp;&nbsp;Please close this browser window and open another to retry logging into " + strProductName + ".&nbsp;&nbsp;" + strTechSupport;
var strUnmatchedDivision = "The user name you entered is invalid for this product!";
var strDisableSuggestCheck = "Please notify me in "
var strInvalidRoleAccess = "The user name you entered does not have access to the application's role.";
var strFirstLogin = "You have just logged in with your temporary user name and password. You will now need to enter a permanent user name and password.";

// Library Entry Screens
var strLicenseExceed = "License number was exceeded.";
var strLibEnter = "<table BORDER='0' ALIGN='CENTER' WIDTH='100%'>" 
+ "<tr height='50'><td></td></tr><tr><td " 
+ "class='clsDesc'>" 
+ "</td></tr><tr height='10'><td></td></tr><tr><td align='center' CLASS='clsDesc'>" 
+ " Authorizing..."
+ "</td></tr></table>";
var strProductForgotPasswordUrl = strSupportURL + "/resets/resets.asp";
var strProductForgotPasswordWndSettings = "top=50,left=1,height=425,width=790,status=yes,titlebar=no,toolbar=no,menubar=no,location=no,resizable=yes";

var strExpiredBoth = "<table BORDER='0' ALIGN='CENTER' WIDTH='436'>" 
+ "<tr height='20'><td></td></tr><tr><td COLSPAN='3' CLASS='clsDesc'>" 
+ strExpBoth + "</td></tr><tr HEIGHT='10'><td COLSPAN='3'></td></tr>" 
+ "<tr><td CLASS='clsLoginLabel' ALIGN='RIGHT'>New User Name:</td>" 
+ "<td WIDTH='10'></td><td><input ID='idUserName' maxlength='100'></td></tr><tr><td CLASS='clsLoginLabel' " 
+ "ALIGN='RIGHT'>New Password:</td><td width='10'></td><td>" 
+ "<input ID='idPassword' TYPE='PASSWORD' maxlength='100' onfocus='clearInput();'></td></tr>" 
+ "<tr><td CLASS='clsLoginLabel' ALIGN='RIGHT'>Confirm New Password:</td>" 
+ "<td width='10'></td><td>" 
+ "<input ID='idPasswordConfirm' TYPE='PASSWORD' maxlength='100' onfocus='clearInput();'></td></tr>" 
+ "<tr HEIGHT='10'><td COLSPAN='3'></td></tr>" 
+ "<tr><td COLSPAN='3' ALIGN='CENTER'><BUTTON TYPE='SUBMIT' onClick='changeBoth();' class='clsLoginBtn'>Change</BUTTON></td></tr><tr HEIGHT='10'><td COLSPAN='3'></td></tr><tr><td COLSPAN='3' ALIGN='CENTER'><span ID='idErrorMsg'></span></td></tr></table>";
var strSuggestPasswordHead = "<table BORDER='0' ALIGN='CENTER' WIDTH='436'>" 
+ "<tr height='20'><td></td></tr><tr><td COLSPAN='3' CLASS='clsDesc'>" 
+ "For security reasons, your password should be changed every "; 
var strSuggestPasswordTail = " months.</td></tr>"
+ "<tr><td>&nbsp;</td></tr>"
+ "<tr><td ALIGN='CENTER'><a href='#' class='clsSuggestPassChangeLink' onclick='ContinueFromSuggestPage();'>Continue</a></td></tr>"
+ "<tr><td ALIGN='CENTER'><a href='#' class='clsSuggestPassChangeLink' onclick='changePasswordFromSuggest()'>Change Password</a></td></tr>"
+ "<tr><td>&nbsp;</td></tr>"
+ "<tr><td CLASS='clsDesc' align='center'><input type='checkbox' id='idDisableSuggest' name='idDisableSuggest'>"
+ strDisableSuggestCheck;
var strSuggestPasswordTail2 = " months.</td></tr></table>";
var strExpiredPassword = "<table BORDER='0' ALIGN='CENTER' WIDTH='436'>" 
+ "<tr height='20'><td></td></tr><tr><td COLSPAN='3' CLASS='clsDesc'>" 
+ strExpPassword 
+ "<tr HEIGHT='10'><td COLSPAN='3'></td></tr>"
+ "<tr><td CLASS='clsLoginLabel' ALIGN='RIGHT'>" 
+ "New Password:</td><td width='10'></td>"
+ "<td><input ID='idPassword' TYPE='PASSWORD' maxlength='100' onfocus='clearInput();'></td>"
+ "</tr><tr><td CLASS='clsLoginLabel' ALIGN='RIGHT'>Confirm New Password:</td>"
+ "<td width='10'></td>"
+ "<td><input ID='idPasswordConfirm' TYPE='PASSWORD'  maxlength='100' onfocus='clearInput();'></td>"
+ "</tr><tr HEIGHT='10'><td COLSPAN='3'></td></tr>"
+ "<tr><td COLSPAN='3' ALIGN='CENTER'><BUTTON TYPE='SUBMIT' onClick='changePassword();' class='clsLoginBtn'>Change</BUTTON></td></tr>"
+ "<tr HEIGHT='10'><td COLSPAN='3'></td></tr>"
+ "<tr><td COLSPAN='3' ALIGN='CENTER'><span ID='idErrorMsg'></span></td></tr></table>";
var strAutoLogin = "<table BORDER='0' ALIGN='CENTER'>" 
+ "<tr height='20'><td></td></tr>"
+ "<tr height='20'><td></td></tr>"
+ "<tr height='20'><td></td></tr>"
+ "<tr><td CLASS='clsDesc'>" 
+ "Authorizing..."
+ "<input ID='idPassword' TYPE='HIDDEN'>"
+ "<input ID='idUserName' TYPE='HIDDEN'>"
+ "</td></tr></table>";
// ODWebSetup.exe
var strIE55DownloadDialogInstructions = "select 'Run this program from its current location' from the File Download dialog.";
var strIE6DownloadDialogInstructions = "click on the 'Open' button in the File Download dialog.";
var strODWebSetupNotInstalled = "The required software is still not installed on this system!&nbsp;&nbsp;You cannot enter the " + strProductName + " site without installing this software.";
var strODWebSetupPromptPartOne = "<table BORDER='0' ALIGN='CENTER' WIDTH='436'><tr><td COLSPAN='3' HEIGHT='10'></td></tr><tr><td COLSPAN='3' CLASS='clsDesc'>The software required to enter " + strProductName + " is not installed on your computer.<br /><br /></td></tr><tr><td COLSPAN='3' CLASS='clsImportantText'>Please click <a href='/" 
+ strRootDir + "/distributables/WebSetup.exe'>here</a> & ";
var strODWebSetupPromptPartTwo = "</td></tr><tr><td COLSPAN='3' CLASS='clsDesc'><br />" 
+ "When you have finished installing, click the <b>Enter</b> button below to continue on to the " 
+ strProductName 
+ " site.<br /><br />If you need assistance with this, please call customer support at " 
+ strODWebNumber 
+ ".<p align='center'>Thank You!</p></td></tr><tr HEIGHT='10'><td COLSPAN='3'></td></tr>" 
+ "<tr><td COLSPAN='3' ALIGN='CENTER'>" 
+ "<button TYPE='SUBMIT' onClick='loadODWebStart();' class='clsLoginBtn' id='idEnterBtn'>" 
+ "Enter</button></td></tr><tr HEIGHT='10'><td COLSPAN='3'></td></tr>" 
+ "<tr><td COLSPAN='3' ALIGN='CENTER'><span ID='idErrorMsg'></span></td></tr></table>"; 