with (classes) {

with (dom) {

with (xpath) {

if (classes.XPathException) xpath.XPathException = classes.XPathException;
else {

xpath.XPathException = function (err_code)
{
 this.code = err_code;

 return this;
}

XPathException.INVALID_EXPRESSION_ERR = 51;
XPathException.TYPE_ERR = 52;

}

}

}

}
