MattG #1 just looked at the code , that function is what i used to use , it will work ..but i have found better ways of doing it .. that will get you started though.Matt