è semplice html...<input type='button' onclick='windows.close()'>


non parte niente....