Frontal cortex lesions block the opioid and nonopioid hypoalgesia elicited by brief shocks but not the nonopioid hypoalgesia elicited by long shocks.