@ArcauthorMay 15.2003 — #I just ment to turn the variable value to lowercase. But 10 seconds after i posted this (as usual after an hour of pranking) i figured out what the deal was. The variable is an array and i didnt put the array parameters in the variable.
it shoudl have looked like this..
GetExt[1] = GetExt[1].toLowerCase();
but i had
GetExt = GetExt.toLowerCase();
javascripts error messages are very criptic and no help at all haha..