Как переключаться между страницами HTML
function change_page(){
// similar behavior as an HTTP redirect
window.location.replace("test.html");
//or
// similar behavior as clicking on a link
window.location.href = "test.html";
};
Jolly Jackal