text: /*|-------------blinkTitle.js----------------------------------------------------|
    |-------(Pure Javascript TitleBar Alert Script)----------------------------------|
    |-----------Author : flouthoc (gunnerar7@gmail.com)(http://github.com/flouthoc)|
    */
  //To Do's
  // 1) Add Timeout Per Notification
  // 2) Simplify To JSON Arguments   
  
  var hold = "";
  
  function blinkTitle(msg1, msg2, delay, isFocus, timeout) {
      if (isFocus == null) {
          isFocus = false;
      }
      if (timeout == null) {
          timeout = false;
      }
      if(timeout){
          setTimeout(blinkTitleStop, timeout);
      }
      document.title = msg1;
      if (isFocus == false) {
          hold = window.setInterval(function() {
              if (document.title == msg1) {
                  document.title = msg2;
              } else {
                  document.title = msg1;
              }
          }, delay);
      }
      if (isFocus == true) {
          var onPage = false;
          var testflag = true;
          var initialTitle = document.title;
          window.onfocus = function() {
              onPage = true;
          };
          window.onblur = function() {
              onPage = false;
              testflag = false;
          };
          hold = window.setInterval(function() {
              if (onPage == false) {
                  if (document.title == msg1) {
                      document.title = msg2;
                  } else {
                      document.title = msg1;
                  }
              }
          }, delay);
      }
  }
  
  function blinkTitleStop() {
      clearInterval(hold);
  }
  
  
  function refrescar(){
      //Actualiza la página
      window.location.assign("/subida")
  }
  
  $(document).ready(function(){
  
      $("#recargar").click(function(){
          //Al pulsar el botón actualiza la página
          refrescar()
      });
  
   $(document).ready(function(){
      //Cada 10 segundos (10000 milisegundos) se ejecutará la función refrescar
      setTimeout(refrescar, 900000);
    });
    
  });