//el script var link = document.getElementById('link'); //podemos agregar varios listeners link.addEventListener('click',function(){ window.open(this.href, this.target, 'width=320,height=110'); return false; },false); //a un mismo evento!! link.addEventListener('click',function(){ document.location='portada2.php'; },false)