mutato mi sembra che fosse questo che avevamo ottenuto

codice:
function gestLink() {
	/*for (var i=0; i<document.links.length; i++) {
		var anchor = document.links[i];
		anchor.onmouseover = gestStatus(anchor.title);
		anchor.onmouseout = gestStatus(titleText);
	}*/
	for (var i=0; i<document.links.length; i++) {
		var anchor = document.links[i];
		if (anchor.className!="open") {
			anchor.target="_top";
		}
	}
	for (var i=0; i<document.links.length; i++) {
		var anchor = document.links[i];
		if (anchor.className=="open") {
			anchor.target="_blank";
			if (anchor.title) anchor.title += " [Il link apre una nuova finestra]";
			if (!anchor.title) anchor.title = "Il link apre una nuova finestra";
		}
	}
}
però si basava sulle classi