Can anybody help me with this issue,I am not very good in javascript...

How to redirect to another url using javascript?

or at least where can I find more info about this?