function buscar(){ document.search.q.value=document.search.q.value+document.getElementById('busqueda').value document.search.q.submit(); } function ira(){ var pagina=document.getElementById('selector').value; location='/relatos/2009-12/por-el-canal-de-aguas-del-freser--la-ruta-que-no-s/'+pagina; }