+# Using the photo site, generate a random URL that will hopefully point
+# to an image. Returns two URLs, both of which are the URL of the image.
+# Returns () if nothing found this time.
+#
+sub pick_from_photo_randomizer {
+ my ( $timeout ) = @_;
+ my $n = ($photo_randomizer_lo +
+ int(rand() * ($photo_randomizer_hi - $photo_randomizer_lo)));
+ my $url = $photo_randomizer . $n;
+ return ( $url, $url, "photopoint" );
+}
+
+