* call setTreeBox before document load completely.