Okay, finally got to a computer with PHP on it. This code works pretty close to the page you linked to:
PHP Code:
<?php
echo '<p>Script by Jason Mace</p><div style="position:relative;">';
$images = array('1.jpg','2.jpg','3.jpg','4.jpg');
$image_width = 152;
$image_height = 142;
$number_in_row = 6;
$y = -$image_height;
$x = 0;
for($i=0; $i< count($images); $i++){
$z_index = rand(1,100);
if(is_int($i/$number_in_row)){
$y += $image_height;
$x = 0;
}else{
$x = $x + $image_width;
}
$width = rand(150,190);
$height = rand(140,170);
echo '<div style="position:absolute;left:'.$x.'px;top:'.$y.'px;z-index:'.$z_index.';width:'.$width.'px;height:'.$height.'px;"><image src="'.$images[$i].'" style="width:100%;height:100%;" /></div>';
}
echo '</div>';
?>
If you use this script, leave my name at the top. Otherwise, use it only as an example.
Bookmarks