PURPOSE: This phase I trial is studying using functional MRI to see how well it works in planning radiation therapy in patients undergoing radiation therapy to the base of the skull and/or brain for nonmetastatic head and neck cancer.