In this study , we examined the effects of dehydration on pain thresholds and cortical activations in response to pain , compared with rehydration with an oral rehydration solution ( ORS ) by functional magnetic resonance imaging .