Hospital emergency rooms throughout the valley are closing their doors to ambulances because the mentally ill are now occupying available beds at a rate higher than in 2004, when the problem prompted then Gov. Kenny Guinn to declare a state of emergency.