I don't know the syntax to do that. When I just put the <script> tags around the window.open command, then save it as a JS file, then doubleclick on the JS file, I get a syntax error.
_________________________
Tony Fabris