1:
" onclick="submit();setTimeout('self.close()', 1000)" />
") ?>