// This file is lightbox text for the front page (index.html) ONLY

// contact email confirmation

var cnt = '';

cnt += '<center><br /><br />';
cnt += '<p style="margin: 25px; line-height: 25px; color: green; font-weight: bold;">Thank you! We have received your message and will respond shortly.</p>';
cnt += '<p><input style="cursor: pointer;" onclick="close_lightbox();" type="button" value="Close" /></p>';
cnt += '</center>';

// anti-bot error

var bot = '';

bot += '<center><br /><br />';
bot += '<p style="text-align: center; color: red; font-size: 16px; line-height: 32px; vertical-align: middle; font-weight: bold;">The security number was incorrect. Please try again.</p>';
bot += '<p><input style="cursor: pointer;" onclick="close_lightbox(); form1.name.focus();" type="button" value="Close" /></p>';
bot += '</center>';

// registration warning -QW

var wrg1 = '';

wrg1 += '<center>';
wrg1 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">You are registered for Qwizzy\'s World and not Quiz Infinity.</p>';
wrg1 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Click the button below and login with your usual username and password at QwizzysWorld.com.</p>';
wrg1 += '<p><input onclick="document.location.href=\'http://www.qwizzysworld.com\';" type="button" value="Take me to Qwizzy\'s World" /></p>';
wrg1 += '</center>';

// registration warning -CS

var wrg2 = '';

wrg2 += '<center>';
wrg2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">You are registered for Cram Stoppers and not Quiz Infinity.</p>';
wrg2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Click the button below and login with your usual username and password at CramStoppers.com.</p>';
wrg2 += '<p><input onclick="document.location.href=\'http://www.CramStoppers.com\';" type="button" value="Take me to Cram Stoppers" /></p>';
wrg2 += '</center>';

// invalid login

var inv = '';

inv += '<center><br /><br />';
inv += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Your username and/or password is incorrect.<br />Please try again.</p>';
inv += '<p><input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
inv += '</center>';

// user timeout

var tm = '';

tm += '<center><br /><br />';
tm += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">For security purposes, you have been logged out after being idle for more than ' + v1 + ' minutes.</p>';
tm += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Please login again.</p>';
tm += '<p><input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
tm += '</center>';

// forgot password

var fgp = '';

fgp += '<center><br /><br />';
fgp += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Please enter your email address and username below. Your password will be sent to you.</p>';
fgp += '<form action="/forgot_password.php" method="post" onsubmit="return submitChkpw(this);">';
fgp += '<p>Username<br /><input type="text" name="username" size="35" maxlength="15" /></p>';
fgp += '<p>Email Address<br /><input type="text" name="email" size="35" maxlength="75" /></p>';
fgp += '<p><input type="submit" value="Send" />&nbsp;&nbsp;&nbsp;<input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fgp += '</form>';
fgp += '</center>';

// forgot password response

var fgpr1 = '';

fgpr1 += '<center><br /><br />';
fgpr1 += '<p style="margin: 25px; line-height: 25px; color: green; font-weight: bold;">Your new password has been sent to your email address.</p>';
fgpr1 += '<p><input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';

// forgot password - bad email supplied

var fgpr2 = '';

fgpr2 += '<center>';
fgpr2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">The email or username you entered is not recognized. Be sure these are the same as those you gave at the time you registered.</p>';
fgpr2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Please enter your email address and username below. Your password will be sent to you.</p>';
fgpr2 += '<form action="/forgot_password.php" method="post" onsubmit="return submitChkpw(this);">';
fgpr2 += '<p>Username<br /><input type="text" name="username" size="35" maxlength="15" /></p>';
fgpr2 += '<p>Email Address<br /><input type="text" name="email" size="35" maxlength="75" /></p>';
fgpr2 += '<p><input type="submit" value="Send" />&nbsp;&nbsp;&nbsp;<input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fgpr2 += '</form>';
fgpr2 += '</center>';
fgpr2 += '</center>';

// forgot username

var fgu = '';

fgu += '<center><br /><br />';
fgu += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Please enter your email address below. Your username will be sent to you.</p>';
fgu += '<form action="/forgot_username.php" method="post" onsubmit="return submitChk(this);">';
fgu += '<p><input type="text" name="email" size="35" maxlength="75" /></p>';
fgu += '<p><input type="submit" value="Send" />&nbsp;&nbsp;&nbsp;<input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fgu += '</form>';
fgu += '</center>';

// forgot username response

var fgur1 = '';

fgur1 += '<center><br /><br />';
fgur1 += '<p style="margin: 25px; line-height: 25px; color: green; font-weight: bold;">Your username(s) have been sent to your email address.</p>';
fgur1 += '<p><input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fgur1 += '</center>';

// forgot username - bad email supplied

var fgur2 = '';

fgur2 += '<center><br /><br />';
fgur2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">The email you entered is not recognized. Be sure this is the same email address you gave at the time you registered.</p>';
fgur2 += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">Please enter your email address below. Your username will be sent to you.</p>';
fgur2 += '<form action="/forgot_username.php" method="post" onsubmit="return submitChk(this);">';
fgur2 += '<p><input type="text" name="email" size="35" maxlength="75" /></p>';
fgur2 += '<p><input type="submit" value="Send" />&nbsp;&nbsp;&nbsp;<input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fgur2 += '</form>';
fgur2 += '</center>';
