var timer;
function out()
{

     timer= setTimeout("closeWindow()",1000);
}


function closeWindow()
{
   clearTimeout(timer);
    self.close();
}
</script>

+ Recent posts