The purpose of the study is to determine whether magnesium sulfate, given within 8 hours of a moderate or severe traumatic brain injury improves survival, decreases the number of people developing seizures, improves the survivors' mental and psychological functioning, including the ability to return to daily life, live independently, and return to work or school.