hey all, i need help with this.

I want to make it like this. .

Code:
http://i168.photobucket.com/albums/u199/dhushan/randomimage-help.png
i already got the script working for the random images (thanks to paul from sitepoint), i just got to make those rows.

any help would be appreciated.