I hate seeing things like that, too :-(
But doctors sometimes say that having the occasional cigarette is less harmful to the baby than the stress you'd suffer if you tried to give up. I don't know how true that is, having never smoked, but I like to think that if I did smoke, I would have given up as soon as I found out I was pregnant. Should be motivation enough, really.