nel tuo documento html
codice:
<head>
...
<script type="text/javascript src="script.js"> </script>
...
</head>

nello script.js
codice:
// <![CDATA[
function popup()  { 
window.open('http://www.google.it,'google','resizable=no,width=800,height=600') 
} 
// ]]>

Ciao