I forgot to mention, when the code was:
script language="JavaScript">
<!--
var newPic
function OpenPic(strPath)
{
newPic=window.open(strPath,"NULL" ,"width=400, height=300, toolbar=no, resizable=no, menubar=no, top=0, left=0");
};
function CloseWin()
{
newPic.close();
};
-->
</script>
it all...