document.location.href="pagina.htm#ancora"