<table width="700" height="100"> <tr> <td width="700" height="100" style="background:url('bg/<% randomize: response.write cstr(int(rnd*7)+1) %>.gif');"></td> </tr> </table>