Check out the threads I linked my previous post. The Hourmeter should be particularly helpful. If I get some free time soon, I can try to give you a more specific response if your still stumped. But I bet you will be able to come up with something on you own if you read carefully.

HTH,
Steve