[cvs-nhc98] patch applied (yhc): Added parentElement function