The primary purpose of the study is to evaluate the long term efficacy of sodium oxybate (Xyrem®) and zolpidem tartrate (Ambien®) in treating chronic insomnia. We will compare the efficacy of sodium oxybate with zolpidem tartrate (Ambien®), and compare the efficacy of each of these two medications with placebos.