if (typeof (nBildertool) === 'undefined') nBildertool = {}; nBildertool.cbCommon = function () { switch (nBildertool.req.readyState) { case 4: if (nBildertool.req.status != 200) alert ("Fehler:" + nBildertool.req.status); else { data = nBildertool.deXmlify (nBildertool.req.responseXML); console.dir (data); } return true; default: return false; } }