I have 2 questions. One is a perl question and the other is a Javascript question.

First the Perl question:
I need a script that will find something in an HTML document and replace it with something else. For example:
The script will replace "Receive" with "Recieve".

and the Javascript question:
I need a Javascript that will detect if a window is open. If it is opened, it just brings it up. If it isn't open, then it opens it.
For example: If someone clicks the "Help" link, and then they minimize it, and click the link again, then it will just bring up the already-opened window, and will not pop up a new window.


Thanks!
Bryan
AIM: Link241