neil9999 of the "WebDeveloper Forums" (http://www.webdeveloper.com/forum/sh...650#post231650
found the solution.
I was wrong to think that it had something to do with the onLoad event.
Hereby you'll find the script so If other people are interested I hope they can use it.
//Date that hyperlink changes
b=new Date("December 25, 2004 12:00:00");
//converts times and dates into milliseconds
//goes to google if after date, yahoo if before
Again, thanks a lot for trying to help me.
I still have a long way to go.
And thank you very much: neil9999 of the "WebDeveloper Forums"