﻿function popLoginBox(){
    var theContent = document.getElementById("popOvr");
    if (theContent.style.display == "none"){
        theContent.style.display = "block";
        var sCookie = readCookie("Heat");
        if (sCookie){
           if (readCookieParam("RememberMe",sCookie) == "true"){
            theContent = document.getElementById("UsernameTxt");
            theContent.value = readCookieParam("Name",sCookie);
            theContent = document.getElementById("RememberMeChk");
            theContent.checked = "checked";
           }
        }
    } else {
        theContent.style.display = "none";
    }
}
function LoginBoxGet(){
        var sCookie = readCookie("Heat");
        if (sCookie){
           if (readCookieParam("RememberMe",sCookie) == "true"){
            theContent = document.getElementById("UsernameTxt");
            theContent.value = readCookieParam("Name",sCookie);
            theContent = document.getElementById("RememberMeChk");
            theContent.checked = "checked";
           }
        }
}					