Resveratrol preconditioning induces cellular stress proteins and is mediated via NMDA and estrogen receptors