function newWindow(){
    if(!document.getElementById || !document.getElementsByTagName) return;
    ext=document.getElementById("validator");
    l=ext.getElementsByTagName("a");
    for(i=0;i<l.length;i++){
	l[i].title+=" [apre nuova finestra]";
        l[i].onclick=function(){window.open(this.href);return(false)};
		l[i].onkeypress="if (event.keycode==13){function(){window.open(this.href);return(false)};}";
		//keycode=13 è il tasto invio-->non apro link se viene premuto un tasto qualsiasi, impedirei ad esempio la tabulazione
	}
    }