raga non funziona mi potete aiutare please!?

prima di tutto... il link lo devo fare tramite un "punto attivo" e io uso dreamweaver mx...
allora...
io ho:
home.htm e popup.htm

dove devo mettere questi due codici:


<script type="text/javascript">
<!--
function PopupCentrata() {
var w = 400;
var h = 250;
var l = Math.floor((screen.width-w)/2);
var t = Math.floor((screen.height-h)/2);
window.open("mioFile.htm","","width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);
}
//-->
</script>


Apri la popup