moved routine around to avoid link issues
Authored by: Jean-Francois Dockes 2011-10-06
Parent(s): [eda494]
Child(ren): [5fd311]