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='/posts/2008-11/resenas-de-gra-de-fajol-2.0,-las-refinitivas!!!!/'+pagina; }