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

// classroom account is locked

var lck = '';

lck += '<center><br />';
lck += '<p style="margin: 25px; line-height: 25px; color:red; font-weight: bold;">Your classroom account is now locked. It will be available for use during your normal school hours.<br /><br />You can create your own personal account now by clicking on the link below or by checking with your teacher about special rates for your school (PEAK or Pilot Programs).</p>';
lck += '<p><input onclick="close_lightbox();" type="button" value="Return to Cram Stoppers" /></p>';
lck += '</center>';




// free registration confirmation

var fre = '';

fre += '<center>';
fre += '<p style="margin: 35px 0 25px 0; font-size: 24px; color: #36700B; font-weight: bold;">CONGRATULATIONS!</p>';
fre += '<p style="margin: 20px; color: #36700B;">A confirmation email is being sent to your email address.</p>';
fre += '<p style="margin: 20px; color: #AF0000;">Please check your email inbox. If you do not receive a confirmation email, you may have entered your address incorrectly. Login and go to your Account page to check that your email address is correct.</p>';
fre += '<p style="margin: 20px; color: #36700B;">Once you close this window, you are ready to begin studying with Cram Stoppers - Welcome!</p>';
fre += '<p><input onclick="close_lightbox();" style="cursor: pointer;" type="button" value="Close" /></p>';
fre += '<a href="/"><img src="/images/logo.png" style="height: 175px; margin: 0 0 25px 0; border: none;"></a>';
fre += '</center>';









// registration warning -students

var wrgs = '';

wrgs += '<center>';
wrgs += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">You are registered for Qwizzy\'s World and not Cram Stoppers.</p>';
wrgs += '<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>';
wrgs += '<p><input onclick="document.location.href=\'http://www.qwizzysworld.com\';" type="button" value="Take me to Qwizzy\'s World" /></p>';
wrgs += '</center>';

// registration warning -teachers

var wrgt = '';

wrgt += '<center>';
wrgt += '<p style="margin: 25px; line-height: 25px; color: red; font-weight: bold;">You are registered for Quiz Infinity and not Cram Stoppers.</p>';
wrgt += '<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 QuizInfinity.com.</p>';
wrgt += '<p><input onclick="document.location.href=\'http://www.QuizInfinity.com\';" type="button" value="Take me to Quiz Infinity" /></p>';
wrgt += '</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();" 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();" type="button" value="Close" /></p>';
tm += '</center>';

// user timeout - gssg

var tmgssg = '';

tmgssg += '<center>';
tmgssg += '<p style="margin: 25px 0 0 0; line-height: 25px; color: #af0000; font-size: 20px; font-weight: bold;"><img src="/images/logos/gssg_logo_small.png" />GSSG/CS Users</p><p style="font-size: 16px; color: #af0000;">You\'re almost there!</p>';
tmgssg += '<p style="margin: 15px 20px 0 20px; font-size: 13px; line-height: 17px; color: black; font-weight: bold;">Either you are not logged in to Cram Stoppers, or you have been logged off after being idle for more than 120 minutes.</p>';
tmgssg += '<p style="margin: 15px 20px 0 20px; font-size: 13px; line-height: 17px; color: black; font-weight: bold;">Please login again and you will be taken directly to your page.</p>';
tmgssg += '<p style="margin: 15px 30px 0 30px; font-size: 13px; line-height: 17px; color: red; font-weight: bold;">If you don\'t have a CS username, just close this box and click on "Sign Up for Free" on the main CS page. When your registration is complete, login to CS and you will be taken to your page.</p>';
tmgssg += '<form action="/login_process.html" method="post">';
tmgssg += '<input type="hidden" value="/" name="caller" />';
tmgssg += '<p style="margin: 15px 0 0 0; color: black; font-size: 13px; font-weight: bold;">Username<br /><input type="text" name="username" size="35" maxlength="15" /></p>';
tmgssg += '<p style="margin: 15px 0 15px 0; color: black; font-size: 13px; font-weight: bold;">Password<br /><input type="password" name="password" size="35" maxlength="30" /></p>';
tmgssg += '<p><input type="submit" value="Login" />&nbsp;&nbsp;';
tmgssg += '<input onclick="close_lightbox();" type="button" value="Close" /></p>';
tmgssg += '</form>';
tmgssg += '</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();" 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();" 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();" 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();" 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();" 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();" type="button" value="Close" /></p>';
fgur2 += '</form>';
fgur2 += '</center>';
