Slideshow / scaling question

Hi!

I am working on a slideshow… My question is:

I want a frame to transform into the size of the next picture. It’s hard to explain so here is an example. goto: http://www.danoi.se/ and click on furniture for example. Check out the pictures and se how the black frame change size.

Does anyone know a tutorial for this operation?

/Daniel