Before beginning the Amidah, the silent devotion, it is customary to determine where Jerusalem is vis-a-vis where you are standing and position yourself facing in that direction.