well...... with flash you could have it doing both, that's either a random image each pageload or a random image every so often.. but the images would have to be imbedded into the flash (well, technically they wouldn't, but it'd have to have a list of the images to choose from, which would make it more awkward to add new ones). javascript is... well... javascript. so it's sucky.php is the way to go. all you need to do is have a folder into which you shove all of the images you want it to reandomly select fromin this example the subfolder is "images"<?php$d=opendir(getcwd() . "/images");$filecount=0;$selected=0;$n=0;while($file=readdir($d)){ $filecount+=1;}rewinddir($d);$selected=mt_rand(3,$filecount);for($n=1;$n<=$selected;$n++){ $file=readdir($d);}echo "<img src='images/$file'>";?>so there you go... (i think) :slol