
// DO NOT EDIT THESE 2 VARIABLES UNLESS YOU WANT TO CHANGE THE DEFAULT TEXT THAT APPEARS WHEN THE PAGE LOADS
// (your best bet to change the 'defaultText' is to paste in the new HTML code)
// for ease of use, put all of the code/text on one line
//--------------------------------------------------------------------
var defaultTitle = "BRIDGE SECUREMAIL"
var defaultText = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\"><tr><td align=\"center\"><img src=\"images/tbt-SECURE-logo.jpg\" width=\"380\" height=\"62\" /></td></tr><tr><td><p>Recognizing the importance of email communications, and the need to secure communications containing confidential information, Texas Bank and Trust offers a secure channel for exchanging confidential information via the Internet. TBT SecureMail, a two-way email encryption solution, eliminates the need for specialized software or the complicated \"key exchange\" process. All you need is an Internet connection, a web browser that supports 128-bit SSL encryption, and a TBT SecureMail account.</p></td></tr></table>";
//--------------------------------------------------------------------

// DIVTITLES contains the titles of each of the popup areas
var divTitles = new Array();

/* SECUREMAIL LOGIN */
divTitles[0] = "TEXAS BANK AND TRUST SECURE LOG-IN";

/* Why Secure Email */
divTitles[1] = "WHY SECURE E-MAIL";

/* How Email Works  */
divTitles[2] = "HOW TBT SecureMail WORKS";

/* Create your account */
divTitles[3] = "CREATING YOUR ACCOUNT";

/* Retrieving a secure email */
divTitles[4] = "RETRIEVING A SECURE E-MAIL";

/* Retrieving a secure email */
divTitles[5] = "SENDING A SECURE E-MAIL";

// DIVTEXTS contains the content/text of each of the popup areas
var divTexts = new Array();

/* SECURE MAIL LOGIN */
divTexts[0] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" ><img src=\"images/tbt-SECURE-logo.jpg\" width=\"380\" height=\"62\" /></td></tr><tr><td align=\"top\">To access our SecureMail application, simply log in by clicking the Login button to the left or by clicking the link below. <a href=\"https://voltage-ps-0000.texasbankandtrust.com/login\"><p>TBT SecureMail<br><br></a></td></tr></table>";

/* Why Secure Email */

divTexts[1] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" align=\"left\">By itself, Internet email is an insecure communications channel.  Messages sent via standard Internet email travel in \"plain text\" and cross many networks before reaching their final destination.  As a result, an opportunity exists for prying eyes to view email messages as they traverse these various networks. Since confidentiality cannot be guaranteed, standard Internet email should not be used to exchange sensitive or private information such as social security numbers, bank account numbers, financial statements, etc.</td></tr></table>";

/* How Email Works  */
divTexts[2] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" align=\"left\">When the bank sends you a secure email message, the message is sent to a secure data center where it will be held for you to retrieve.  At the same time, a notification message is sent to you to inform you that a TBT SecureMail message is waiting to be retrieved.  The notification message will contain a link to a secure web site.  Simply click on the link, log into the secure web site, and retrieve your message.</td></tr></table>";

/* Create your account */
divTexts[3] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" align=\"left\">The first time you use TBT SecureMail, you will be prompted to create an account.  Supply your email address and password to establish your account.  You will use this password each time you log into TBT SecureMail.  A confirmation message will be sent to the email address you entered. You will need to click the link in the confirmation email to complete the account set up process. You can now begin using your TBT SecureMail account.</td></tr></table>";

/* Retrieving a secure email */
divTexts[4] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" align=\"left\">When the bank sends you a secure email message, you will receive a notification message via standard Internet email. Click the link contained in the notification message to be taken to the login screen, where you will be prompted to enter your email address and password that you established. Once logged in, you can read your SecureMail message, download it to your computer, or send a secure reply.</td></tr></table>";

/* Retrieving a secure email */
divTexts[5] = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><td valign=\"top\" align=\"left\">To send a TBT SecureMail message to the bank, click on any TBT SecureMail link on the bank's web site. You will be taken to the login screen, where you will be prompted to enter your email address and password. Once logged in, you can create a new TBT SecureMail message by clicking on the \"Compose\" tab.</td></tr></table>";

// variable to contain the currently displayed area
var activeArea = "";

// function used to show/hide text from the rollover events
function showArea(areaID,doShow)
{
	if (doShow)
	{
		document.getElementById('DisplayTitle').innerHTML = divTitles[areaID];
		document.getElementById('DisplayText').innerHTML = divTexts[areaID];
	}
	else
	{
		document.getElementById('DisplayTitle').innerHTML = defaultTitle;
		document.getElementById('DisplayText').innerHTML = defaultText;
	}
}