Thanks H,

I haven't completely solved the problem but i'm making progress thanks to your tip!

cheers!