var CKXml=function(){this.xmlHttpGetSuggestions=function(){if(!CKEDITOR.env.ie||location.protocol!='file:')try{return new XMLHttpRequest()}catch(e){}try{return new ActiveXObject('Msxml2.XMLHTTP')}catch(e){}try{return new ActiveXObject('Microsoft.XMLHTTP')}catch(e){}return null}}CKXml.prototype.LoadUrl=function(a,b){var c=this;var d=(typeof(b)=='function');this.xmlHttpGetSuggestions.open("GET",a,d);if(c.xmlHttpGetSuggestions){if(d){this.xmlHttpGetSuggestions.onreadystatechange=function(){if(c.xmlHttpGetSuggestions.readyState==4){if((c.xmlHttpGetSuggestions.status!=200&&c.xmlHttpGetSuggestions.status!=304)||c.xmlHttpGetSuggestions.responseXML==null||c.xmlHttpGetSuggestions.responseXML.firstChild==null){throw('The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n'+'XML request error: '+c.xmlHttpGetSuggestions.statusText+' ('+c.xmlHttpGetSuggestions.status+')\n\n'+'Requested URL:\n'+a+'\n\n'+'Response text:\n'+c.xmlHttpGetSuggestions.responseText);};c.DOMDocument=c.xmlHttpGetSuggestions.responseXML;b(c)}}};c.xmlHttpGetSuggestions.send(null);if(!d){if(c.xmlHttpGetSuggestions.status==200||c.xmlHttpGetSuggestions.status==304)c.DOMDocument=c.xmlHttpGetSuggestions.responseXML;else{throw('XML request error: '+c.xmlHttpGetSuggestions.statusText+' ('+c.xmlHttpGetSuggestions.status+')');}}}}CKXml.prototype.ToArray=function(a){var b=this.DOMDocument.getElementsByTagName(a);var c=new Array();for(i=0;i<b.length;i++)c[i]=b.item(i).firstChild.data;return c}