Hola jgarcigo.
Prueba esto:
Código PHP:
<html>
<head>
<script language='javascript'>
function autoclose(){
setTimeout('closeIt()', 5000);
}
function closeIt(){
close();
}
</script>
</head>
<body onload='autoclose()'>
Buena suerte Jim...
</body>
</html>
Saludos.