Rick has posted the code here for that - I will try and dig it out via a search wink