Using Firefox (ESP) 10 for SUSE Linux 11. When a popup window was opened (with a OK button on it), it could not be closed. I encountered two issues:

1) In a javascript I used


then the popup window displayed: 100 OK.

But when I clicked on the OK button, the popup failed to response such that it remained as it has been.

2) Use window.location.href=""; in a javascript, the google site could not be launched; However,"") could launch the site successfully.

How could I solve the problems?