There are built-in filter actions that can do this for you in Photoshop 6 and 7. Explore the Actions menus.
Or you can use Extensis PhotoFrame which is a commercially available software (meaning have to pay $$ one).
Or can just use layers - watch out for an upcoming "How To" guide in ClubSNAP articles.