Randomly place movieclips everytime swf loads

Hi,

I am new to flash programming. I have to create a flash card game for a client.
There are 52 cards with back showing in 52 rectangles. Each time the swf loads the position of the cards has to be different (randomly placed) in those 52 rectangles. Click on the card and the face of the card shows.
Also an option for shuffle. When the user clicks on shuffle, the cards are randomly placed.

Can somebody PLEASE help me. I have a big client and a short deadline.

thanks.