most likely not. even if you don't smoke 6 months before hand, it would still take at least two weeks to clear your system out with the amount that you smoked.
option a) drink 64-128 oz of cranberry juice within 24 hours. it'll clean out your urinary tract. (probably your best option)
option b) drink at least two gallons of water in 36 hours (although that shows up as diluted and they'll make you retake it, so as long as you're clean by then you should be okay, but it still doesn't look good)
option c) there are detox products you can get from GNC or the like, although those may take up to 72 hours, and there's a chance that a drug test will pick up that kind of product, again not looking good.
option d) find a way to fake it, ie someone elses piss or the Whizzinator or whatever it's called. this all depends on the way they're proctoring the drug test. if it's monitored, you're screwed out of that one.
option e) look for a new job.
if you DO fail, depending on how high your score is, they may just send you to drug counseling or rehab, but that all depends on the company and how much your bosses like you.
hope that helps.
to clarify to the rest of you, i'm not a pothead, nor am i condoning smoking pot. i had my fun back in the day, but haven't touched it in quite a few years. frankly, i'd like to see it gone as well. but recognize that what he does with his friends is his own damned business, not his job's, and i'd like to see him not get fired for it.