in reply to perl asp javascript problem

Did you try escaping the double quotes?

 ("<a onClick=\"window.open

and height=120');\">")