function areYouStillThereNote(timeElapsed){
        var timeRemaining = logoutLimit - timeElapsed;
        var timeMins = Math.floor(timeRemaining/60);
        var timeSecs = timeRemaining%60;

        if (timeSecs < 10) {
            timeSecs = ("0" + timeSecs).slice(-2);
        }

        try {
            modal.style.display = "none";
            currentModalOpen = "";
        } catch (err) {
            //console.log("Basic Modal Not Open");
        }
        noteInfoField.innerHTML = "You have been inactive for 5 minutes, you will be logged out in " + timeMins
            + ":" + timeSecs + "!";
        noteTitleField.innerHTML = "Are You Still There?";
        noteModal.style.display = "block";
        currentModalOpen = "noteModal";

        //close on close
        noteSpan.onclick = function() {
            noteModal.style.display = "none";
            currentModalOpen = "";
            areYouStillThereBool = false;
        };
    }
//been inactive for too long.
been inactive for too long.
been inactive for too long .
function areYouStillThereNote(timeElapsed){
        var timeRemaining = logoutLimit - timeElapsed;
        var timeMins = Math.floor(timeRemaining/60);
        var timeSecs = timeRemaining%60;
        if (timeSecs < 10) {
            timeSecs = ("0" + timeSecs).slice(-2);
        }
        try {
            modal.style.display = "none";
            currentModalOpen = "";
        } catch (err) {
        }
        noteInfoField.innerHTML = "You have been inactive for 5 minutes, you will be logged out in " + timeMins
            + ":" + timeSecs + "!";
        noteTitleField.innerHTML = "Are You Still There?";
        noteModal.style.display = "block";
        currentModalOpen = "noteModal";
        noteSpan.onclick = function() {
            noteModal.style.display = "none";
            currentModalOpen = "";
            areYouStillThereBool = false;
        };
    }
function areYouStillThereNote ( timeElapsed ) { var timeRemaining = logoutLimit - timeElapsed ; var timeMins = Math . floor ( timeRemaining / 60 ) ; var timeSecs = timeRemaining % 60 ; if ( timeSecs < 10 ) { timeSecs = ( "0" + timeSecs ) . slice ( - 2 ) ; } try { modal . style . display = "none" ; currentModalOpen = "" ; } catch ( err ) { } noteInfoField . innerHTML = "You have been inactive for 5 minutes, you will be logged out in " + timeMins + ":" + timeSecs + "!" ; noteTitleField . innerHTML = "Are You Still There?" ; noteModal . style . display = "block" ; currentModalOpen = "noteModal" ; noteSpan . onclick = function ( ) { noteModal . style . display = "none" ; currentModalOpen = "" ; areYouStillThereBool = false ; } ; }
been inactive for too long.
been inactive for too long .
//console.log("Basic Modal Not Open"); //close on close