Window Localtion JavaScript

//window.location.href example:
window.location.href = 'http://www.google.com'; //Will take you to Google.

//window.open() example:
window.open('http://www.google.com'); //This will open Google in a new window.
Pudochu