This is how the Script inside the frame should be:
<html><body id=myBody> <script> function go() { document.domain='microsoft.com'; } window.onload=go; </script> </body></html>