(function(b){if(window.DOMParser==undefined&&window.ActiveXObject){DOMParser=function(){};DOMParser.prototype.parseFromString=function(d){var a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";a.loadXML(d);return a}}b.xmlDOM=function(a,e){try{var k=(new DOMParser()).parseFromString(a,"text/xml");if(b.isXMLDoc(k)){var l=b("parsererror",k);if(l.length==1){throw ("Error: "+b(k).text())}}else{throw ("Unable to parse XML")}}catch(j){var i=(j.name==undefined?j:j.name+": "+j.message);if(b.isFunction(e)){e(i)}else{b(document).trigger("xmlParseError",[i])}return b([])}return b(k)}})(jQuery);
