Each omikuji presents a fortune, varying from "great blessing" to "great curse" and the believers are supposed to keep the good fortunes with them and to hang in the tree/rack the bad ones, thus preventing the predicted misfortune.
Traditionally, the omikuji are bought in either of two ways: in the most traditional method, a stick is randomly extracted from a cylindrical box and the corresponding paper is received according to the stick's number. Another, simpler method, is to just chose a wrapped omikuji from a container.
But during the last years I witnessed the spreading of a much modern system: coin-operated vending machines. And it makes perfect sense to me, since Japan is the country of the vending machines... You can see such a fortune telling dispenser in this photo taken at a small shrine near the Tsuruga Castle, in Aizu-Wakamatsu.
EXIF info:
Nikon D90
Lens: 18-70mm F/3.5-4.5G
Focal Length: 18mm
Aperture: F/5.6
Shutter Speed: 1/640s
ISO Sensitivity: ISO 200