scusa strae, ma c'erano un paio di errori

Codice PHP:
echo '<img src="Image1.jpg" onmouseout="function (event) {alert(\'here I am\');}" onmouseover="function (event) {alert(\'he went thataway\');}"'