How did the author of Ecclesiastes understand life after death and man's relationship to eternity? What passages in the book address or allude to this topic?

Inspired by a reading of [Ecclesiastes 3:19-22](http://www.biblegateway.com/passage/?search=Ecclesiastes%203:19-22&version=NIV).