Hey i have a similar but a little easier way try this place this code in between the <head>....</head> tags:
<script language="JavaScript">
<!--
function popWindow(url) {
sendPic = window.open(url,'','width=760,height=600,scrollbar s=yes,toolbars=no,menubars=no,location=no,resizabl e=yes');
}
//-->
</script>
and then any link you want to open a pop up window do come of do this:
<a href="javascript: popWindow(URL IN HERE)">Pop this window</a>
Of course this is alot less flexible but it is alot easier to modify a whole lot of links! and im sorry but im not a pro but i hope that helps