in reply to Thread problems

This post by zentara should help you.