﻿function m_over(ctl) {
    ctl.className = 'weblink_over';
    return;
}

function m_out(ctl) {
    ctl.className = 'weblink_out';
    return;
}
function DisplayText(ctl, bm) {
    var _head = document.getElementById('lblHead');
    var _msg = document.getElementById('lblmsg');
    var clr;

    if (bm) {
        //  true
        clr = 'red';
    }
    else {
        clr = '#000000';
    }

    switch (true) {
        case (ctl == document.getElementById('X0')):
            _head.innerText = 'Funds SecureMail';
            _msg.innerText = 'Recognizing the importance of email communications, and the need to secure communications containing confidential information, Funds offers a secure channel for exchanging confidential information via the Internet.  Funds 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 Funds SecureMail account.';
            break;

        case (ctl == document.getElementById('X1')):
            ctl.style.color = clr;
            _head.innerText = 'Funds SecureMail Login';
            _msg.innerText = 'To access our Funds SecureMail application, simply log in by clicking the Login button to the left.';
            break;

        case (ctl == document.getElementById('X2')):
            ctl.style.color = clr;
            _head.innerText = 'Why SecureMail';
            _msg.innerText = '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 eavesdrop on 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, Insurance records, Financial Information etc.';
            break;

        case (ctl == document.getElementById('X3')):
            ctl.style.color = clr;
            _head.innerText = 'How Funds SecureMail Works';
            _msg.innerText = 'When the Funds 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 Funds 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.';
            break;

        case (ctl == document.getElementById('X4')):
            ctl.style.color = clr;
            _head.innerText = 'Create Your Account';
            _msg.innerText = 'The first time you use Funds 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 Funds 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 Funds SecureMail account.';
            break;

        case (ctl == document.getElementById('X5')):
            ctl.style.color = clr;
            _head.innerText = 'Retrieving a Secure Email';
            _msg.innerText = 'When the Funds 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 Funds SecureMail, download it to your computer, or send a secure reply message.';
            break;

        case (ctl == document.getElementById('X6')):
            ctl.style.color = clr;
            _head.innerText = 'Sending a Secure Email';
            _msg.innerText = 'To send a Funds SecureMail message, click on any Funds SecureMail link. You will 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 create a new Funds SecureMail message by clicking on the "Compose" tab.';
            break;

        default:
            break;
    }
} 