You might want to check out Piggy Bank, part of the SIMILE project from MIT: http://simile.mit.edu/wiki/Piggy_Bank