What about practicing custody of the eyes at times when no occasion of sin is involved so that when the serious time comes, you've practiced the discipline and it might be less overpowering?
Kind of like becoming seasoned or going through drills. If you choose one or two other times with curiosities that are neutral (truck commercials, last seconds of sports games, not staring at the Harley as it passes you, lol, I don't really know, something you really like) and use those times to practice, it might help empower you when the real thing comes along.
I don't know if it would be applicable to these situations but the concept helps me in other ways, it's a thought.