Interactive menu code

Hi everyone,

I have designed a navigation style for my new website (please see the two image links below). Basically the 5 rectangles will all be playing a loop of film… Once the user has clicked on a rectangle it will expand (see picture two) and the other rectangles will move to the sides and carry on playing their loops…

I want this all to run really smooth… can anyone help/give advice on the kind of code i need, or point me in the direction of a tutorial… Also when one of the rectangles has been clicked on and grown full size, when the user clicks on a small rectangle i’d like the larger one to shrink down (if that makes any sence!)…

http://img443.imageshack.us/img443/1128/90406679uk5.jpg
http://img246.imageshack.us/img246/8763/45344183ol9.jpg

Your help will be much appreciated,
Tommy