echo "<img src=\"1.png\" onclick=\"window.open("."'dop.php?str=stroka"."', 'test', ' width=300' )\" />";
?> <img src="1.png" onclick="window.open('dop.php?str=stroka', 'test', ' width=300' )" /> <?php