nimationEnd", function() {
        this.className = "";
        this.textContent = "";
      });
      
      // Bind event to show the popup:
      $("#openPopup").on("singletap", function() {
        $.UIPopup({
          id: "warning",
          title: 'Attention Viewers!', 
          message: 'The performance of "Merchant of Venice", Act 4 scene 1, will begin shortly. Thank you for your patience.', 
          cancelButton: 'Skip', 
          continueButton: 'Stay', 
          callback: function() {
    