when【就在那时】=at that moment
固定句型
be about to do...when...
be on the point of doing...when.
主句+ when--从句
既然作为固定句型,故不位于句首.