This study will evaluate the effectiveness of electroconvulsive therapy (ECT) administered with medication for the treatment of a major depressive episode (unipolar or bipolar) and will compare two types of ECT.