you won't be able to accomplish this with just html. i have never attempted this myself, but i am sure you could find something over at www.hotscripts.com that should match your needs. or you can try googling for it.
PS: i am starting to sound like a hotscripts.com sales rep.