Hi,
I'm working on a complex web application. At one point, when a user clicks on a link, I examine the link and determine based on the extension of the file what to do with it.
If the extension is swf or mpg or other media types, I open a new window and use document.write to create a page...