How I quit, cold turkey; everytime you have a craving, read a random page on wikipedia. Get smart, AND healthy.
It works well because cravings bail when you ignore them. You could substitute reading wikipedia for any other activity that would hog your brain for long enough to forget about that...