Popups: JS initialization w/ Page Include

I am running into a similar situation, in which I am trying to load a popup and I need to run javascript to hide / initialize certain items on the page.  However, the popup is using a page include.  The page Include by itself works great as I have an in-line javascript code that runs and initializes everything.  However, when I put it inside the popup and call it from another location it doesn’t work, its as if the initialization code is not running.

I’ve tried the action framework as well, by calling an initialization script after the pop-up action.  I get the same results.

Any ideas? Thank you. Note: This conversation was created from a reply on: Run script snippet before popup.

The user and all related content has been deleted.