Ciao a tutti, chi mi aiuta a scrivere la corretta punteggiatuta del seguente codice HTML, utilizzando php?

Il codice html è questo:
codice:
<a href=".....jpg"  onclick="window.open(this.href, 'pop' , 'width=1000 ,height=750 ,toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=yes');return false;"><img name="velocities" src = "......jpg" width="450" heigh="360" align="center"  border="0" >
e lo voglio scrivere in php, dove sbaglio?

Codice PHP:
echo "<a href=\"$FILEPOL\" target=\"_blank\" onclick=\"window.open(this.href, 'pop' , width=\"1000\" ,height=\"750\" ,toolbar=\"no\", location=\"no\", status=\"no\", menubar=\"no\", scrollbars=\"no\", resizable=\"yes\");return false;\"><img name=\"velocities\" src = \"$FILEPOL\"  width=\"450\" heigh=\"360\" align=\"center\"  border=\"0\" >"
solo window.open in quest'ultimo caso non funge.
Una manina?!?
Grazie
Ciao
paolinho