var secureLoginUrl = 'https://www.uhcvision.com/loginFrame.html';

/**
 * call this method from the "onClick()" method of an "<a>logon</a>" tag to
 * ensure the login page is showing up within a page from the SSL site.
 */
function secureLogin(window)
{
    if (window.location.protocol != 'https:') {
        if (window != window.top)
            window.top.location.href = secureLoginUrl;
        else
            window.location.href = secureLoginUrl;
    }
    return true;
}
