This looks like a duplicate of this post:
Edit: not exactly, but I think the answer there will help you a lot.