Separation of duty

HootLineList := FillFootList();
nHootHeight := FooterHeight(DetailLineIndex);