Here is a sample that will work in google chrome:
<html>
<body>
<script type="text/javascript">
window.open('', '_self', '');
function SetupWindowClose()
{
window.setTimeout("window.close()", 3000);
}
SetupWindowClose();
</script>
<h1>Hello goodbye!</h1>
</body>
</html>
Regards,
— Manfred