How can I replace the name of element "The_Iframe_Element_Name" with the variable "elemName" in the following:
  function fnFrame(elemName) {
      setTimeout(function () {
          var iframeBody = window.The_Iframe_Element_Name.document.getElementsByTagName("body")[0];
              $(iframeBody).addClass("xyz");
      }, 500);
  }
 
     
    