Wrapping Native DOM Mathods

Instead of overwriting the default behavior, let's wrap it.

Example: Wrapping document.write()

Just view source to see how it works

Tested and compatible with

John Resig also had some cool ideas about document.write, you may visit XHTML, document.write, and Adsense to check the details.


Hedger Wang