I think this will give you what you need.


link

Thanks for the code. It was exactly what I was looking for.