the literal string "undefined" != undefined
you can use undefined without the quotes as long as undefined is ....not defined
ie
var undefined //do not do this,defines undefined
On the server I would use vbscript and I really like jscript.I am going to use vbscript one more time then make the move to C#
Charlie