The instructions for this are quite simple. In the first dropdown box, select how many links on your page you want to redirect. After that, enter in the old link url in the old link box, and the new link url in the new link box. If you want to link to open in a new window, then click the "Open in new window" box.
Once you enter all the information, then click the button "Create My Script!" to create the javascript code that you will use. Copy everything under the Finished Script and paste it between your <head> </head> tags on your HTML page. If you want to use the same code throughout several websites, then simply paste this code into a javascript file, rather than your HTML. All you do is paste it into your favorite text editor, and save it as a .js file. For example, you can open notepad and paste the code into the file. Save it as linkredirect.js and copy it to your web server in the same location as your web page. Place this code into your HTML file -" <script type="text/javascript" src="linkredirect.js"></script>"
If you find this code useful, then please let me know.