For some reason this question (from Oct 2010) has more recently been deleted but was still available on stackprinter.com. I had the accepted answer and was looking high and low for it to use as reference on another question.