A ver
Código:
<html>
<head>
<script>
var ventanita;
function abrir(){
var url = document.abrir_ventana.url.value;
var nombre = document.abrir_ventana.nombre.value;
var demas_cosas ="width="+document.abrir_ventana.ancho.value+",height="+document.abrir_ventana.alto.value+",s crollbars=NO";
ventanita = window.open(url, nombre, demas_cosas);
}
function close_ventanita(){
ventanita.window.close();
}
function refrescar_ventanita(){
ventanita.window.location.reload( true );
}
</script>
</head>
<body>
<form name="abrir_ventana">
url <input type="text" name="url">
nombre <input type="text" name="nombre">
ancho <input type="text" name="ancho">
alto<input type="text" name="alto">
<input type="button" onClick="abrir()" value="Abrir">
<input type="button" onClick="close_ventanita()" value="Cerrar">
<input type="button" onClick="refrescar_ventanita()" value="Refrescar">
</form>
</body>
</html>
Si quieres tener en cuenta mas propiedades del window.close solo tines q poner el input y concatenar su valor en el script