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);
      }

      modal.style.display = "none";
      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";

      //close on close
      noteSpan.onclick = function() {
        noteModal.style.display = "none";
        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);
      }
      modal.style.display = "none";
      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";
      noteSpan.onclick = function() {
        noteModal.style.display = "none";
        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 ) ; } modal . style . display = "none" ; 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" ; noteSpan . onclick = function ( ) { noteModal . style . display = "none" ; areYouStillThereBool = false ; } ; }
been inactive for too long.
been inactive for too long .
//close on close