well... first off, you shouldve taken some medicines to clean out your piss, but since you didnt i can lend you some advice...
if you say that you have a drug problem, (at least where i live) then they take you to a rehabilitation service (which is VERY VERY Expensive), it differs slightly from jail, a little bit more freedoms, but too much $$$. What i would do is tell the judge that the drug you were charged for that it has caused you a lot of grief and you never want to use it again...
also, diversion adn narc anonymous are two completely different things, if this is your first charge you could get diversion (if it was a misdemeanor) which is a hell of a lot better then probation. Narc anonymous, in fact, is in no way affiliated with the law enforcement, it was started by a psychiatrist and one of his clients who were tired of their addiction so they created a group support thing. in there they have a daily meeting where a whole bunch fo freaks gather up adn talk about how theyve been hitting the glass dick since they were 7 years old and they started slangin at 9.... then someone else got high in the womb and in the baby crib when his momma would blow smoke into their..... its some weird ****.... but narc anonymous is simply hour-long meetings for group support...