Trends in cognitive dysfunction following surgery for intracranial tumors