si estableces algo en href, el browser redirecciona, debes colocarle #:
Código PHP:
if ($extra_infostring = $datos[extra_info_user]) {
$extra_infostring = "<td style='vertical-align:top;'>
<a href='#'
onClick='window.open('extra_info_user.php?userID=".$datos[id]."',
'name_popup', 'width=300,height=400'); return false;'>
<img style='border:0;' src='images/extra_info.gif' alt=''/></a></td>";
}
else $extra_infostring = "<td> </td>";
echo $extra_infostring;