To appease the doubters, I shall post a more stable version. ps. It works on the iPhone now!