In this study , we used functional magnetic resonance imaging ( fMRI ) to investigate the relationship between brain responses to alcohol and smoking cues in 45 subjects with episodic drinking and regular smoking .