Selenium improves cardiac function by attenuating the activation of NF-kappaB due to ischemia-reperfusion injury.