Take or leave it, but John Piper had a good article on how to deal with lust. His ANTHEM method seems to provide some good material for battling lust and the thoughts that accompany it. I will be curious to see if they help me and hope that they might be of some use to you.
Here is the intro paragraph. Cruise on through to his website for the full text.
I have in mind men and women. For men it’s obvious. The need for warfare against the bombardment of visual temptation to fixate on sexual images is urgent. For women it is less obvious, but just as great if we broaden the scope of temptation to food or figure or relational fantasies. When I say “lust” I mean the realm of thought, imagination, and desire that leads to sexual misconduct. So here is one set of strategies in the war against wrong desires. I put it in the form of an acronym, A N T H E M.”