Code from wiki page BreadCrumbs2, oldid=691806 with whitespace fixes

Change-Id: Ic5d73e34b393207c8a0454df105e5424223bac0e