Listing A
function inlineFrame(strIFrame) {
       var objHidden = top.frmHidden;    //     Hidden frame named frmHidden
       var objIFrame = null;             //     IFrame in hidden frame
       var reWork = new RegExp('^' + remoteScriptingID(strIFrame) + '$','gi');
                                                                                                                           //       Qualify fully?
       if(typeof(top.frmHidden) != 'object')
              objHidden = window.opener.top.frmHidden;

       for(var i=0;i < objHidden.frames.length;i++)
              if(reWork.test(objHidden.frames[i].name)) {
                     objIFrame = objHidden.frames[i];

                     break;               //     Got it!
              }

       return objIFrame;
}