At least one of your problems:
önclick="testFunction("url","title",150,100);"
Notice that you have double quotes inside of double quotes!
For a start, try:
onclick="testFunction('url','title',150,100)"
Aside:
The parsers will love you for it! As written, why did you make this a php page when you don't use any php?