$numero = rand(20,32); if ($numero > 13) $tipo = ".jpg"; else $tipo = ".gif"; $imagen = "imagenes/encabezado".$numero.$tipo; echo "
" ?>