This exact code works elsewhere? Are you sure you're passing the arguments to the inArray() function in the right order? A string array and a string passed in the wrong order would cause a Type Mismatch error.
JeffK
2009-02-13 01:37:22