Thanx Witto, but this is my own forum I started when I was starting to write my script.
So the solutions people gave me over there are not realy correct.
Thanx for your reply anyway