// similar behavior as an HTTP redirectwindow.location.replace("http://sidanmor.com");
// similar behavior as clicking on a linkwindow.location.href = "http://sidanmor.com";
// Similar behavior as an HTTP redirectwindow.location.replace("http://stackoverflow.com");
// Similar behavior as clicking on a linkwindow.location.href = "http://stackoverflow.com";