I need to load during runtime a script, and add it to the body of the page.
Each time the script is loaded it creates a new "window" in the middle of the screen in the layer above anything else, therefore it has to be added to the body of the page.
I have to be able to load it on demand whenever I need.
So far I wasn't able to add the loaded script as a new element.
Unfortunately I deleted the code, but unless it's something that's commonly accomplished you can probably guess what I did wrong.