I saw some guy on another forum selling a wordpress plugin that does exactly what you are describing, for like $9 - $10
I have no affiliation with the guy, I just saw it yesterday.
I dont know if posting a link is allowed here or not. If what TheDaemon posted doesnt work for you, PM and I'll send you the link.