text: 
  // Get the modal
  var modal = document.getElementById("myModal1");
  
  // Get the image and insert it inside the modal - use its "alt" text as a caption
  var img = document.getElementById("t1");
  var modalImg = document.getElementById("img01");
  //var captionText = document.getElementById("caption");
  img.onclick = function(){
    modal.style.display = "block";
    modalImg.src = this.src;
    //captionText.innerHTML = this.alt;
  }
  
  // Get the <span> element that closes the modal
  var span = document.getElementsByClassName("close")[0];
  
  // When the user clicks on <span> (x), close the modal
  span.onclick = function() { 
    modal.style.display = "none";
  }
  /////////
  var modal2 = document.getElementById("myModal2");
  
  // Get the image and insert it inside the modal - use its "alt" text as a caption
  var img2 = document.getElementById("t10");
  var modalImg2 = document.getElementById("img02");
  //var captionText = document.getElementById("caption");
  img.onclick = function(){
    modal2.style.display = "block";
    modalImg2.src = this.src;
    //captionText.innerHTML = this.alt;
  }
  
  // Get the <span> element that closes the modal
  var span2 = document.getElementsByClassName("close")[0];
  
  // When the user clicks on <span> (x), close the modal
  span2.onclick = function() { 
    modal2.style.display = "none";
  }
  