Lol youre right, I didn't mean a function - I meant an include (similar to a subroutine where you can just write it once but call it many times)!!

Thx for the code I will test it in my pages and see what I come up with