Hola
Quieres abrir la ventana aparte como una nueva o en donde estaba la anterior?
Te invito a que visites en las FAQs esto:
http://www.forosdelweb.com/showthrea...842#post260842 http://www.forosdelweb.com/showthrea...667#post338667
Esto solo lo probé solo en IE 6:
Código:
<html>
<head>
<script language="javascript">
function iramipag(yanix) {
if (document.images)
location.replace(yanix);
else
location.href = yanix;
}
</script>
</head>
<body>
<a href="javascript: iramipag('http://www.google.com')">Cierro y reemplazo por nueva</a>
</body>
</html>