I've provided a specific and correct answer that works here, but it got deleted:
What was the problem?
closed as too localized by casperOne Jul 30 '12 at 12:49
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
Your answer was flagged as plagiarism, because it essentially implements in code what other answers describe in words. I do however disagree strongly that this is plagiarism territory. I've undeleted it.
Maybe you could edit your answer to explain what it does, include a reference how your code relates to the other answer(s). Giving some explanation instead of only posting a bunch of code is generally a good idea, and any impression of plagiarism anyone could get would be mitigated as well.