When I open a Shadowbox dialog from HTA application, accessing to "parent" object fails.
I can workaround this problem by editing the iframe tag in the shadowbox.js as follows:
before: var S='<iframe id="'+this.id+'"
after: var S='<iframe application="yes" id="'+this.id+'"
* HTA is a Microsoft-specific web application running locally on Windows.