Looking for Javascript expert to solve this quickly

Closed - This job posting has been filled and work has been completed.

Job Description

This is about a vbulletin forum.
The forum has 1000's of pages which has links like this:


like this 1000's of URL's are there starting with exact same www.url.com

I am looking to redirect those specific URL's starting with http://www.url.com to different URL.

I want to do this via javascript, is it possible to have multiple URL's saved in a file, and the script can automatically pick 1 URL's each time someone clicks on those links..

This script will go in vbulletin footer file as a JS file. Its a one hour thing not more then this.

Please help with this.