re : error no 9

Variable nodeType has not been declared.

If you anybody knows,how to correct this error …let me know what Is nodeType.

Thanks in Advance