HI,
try to slim down the code because window won't open (especially in Netscape) if theres a slight misspelling.
How about this:
<a href=\"javascript
: popupWin = window.open('http://mydomain.com/cgi-bin/something.php', 'width=132','height=137','left=15','top=15')\" >open window</a>
if this works (should) you can go on adding arguments so you see where the error is.
btw: why do you print all that stuff?
you can display it (outside php) as html and only put vars in php-brackets. So you will face lesser spelling-problems.
<script language="JavaScript">
<!--
function openwin(option)
{
popupWin = window.open('http://mydomain.com/cgi-bin/something.php?q_option=<?php
echo some optionvar; ?>', 'menubar=no','toolbar=no','location=no', 'directories=no','status=no','scrollbars=no','resizable
=no','width=132','height=137','left=15','top=15')";
}
-->
</script>
print "<TD><A HREF=\" javascript

penwin($option[$i]);\">";
print "<IMG SRC=\"/images/nav/hear.gif\" BORDER=0>";
print "</A></TD>";
bombel