Ok. First i tried to make it your way, but didn't succeed for many reasons aven tried with background page. But why do it the hard way? See the page in the attachment. If you like it you can use one of the millions extensions which swap the newtab page with page XYZ. Or you can create an extension to swap google.com with this html (see http://code.google.com/chrome/extensions/override.html )
Hope I helped.