/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


hideshow = document.getElementById('logonForm');
function show(id)
{
    hideshow = document.getElementById(id);
    if (hideshow.style.display == 'none')
    {
        hideshow.style.display = '';
    } else {
        window.clearTimeout(timeoutID);
    }
}

function hide(id) {
    timeoutID=setTimeout("hideshow.style.display = 'none'", 0); //Set delay
}

function stopTimer() {
    window.clearTimeout(timeoutID);
}

function FloatingLogonKey(evt)
{
    var e = evt? evt : window.event;
    if (e.keyCode == 13)
    {
        var logonForm = document.getElementById("LogonForm");
        logonForm.submit();
        return false;
    }
}

