Effect of magnesium on nitric oxide synthase of neurons in cortex during early period of cerebral ischemia