﻿var XR = [];
function importXML(a, b, c, d) {
if(!c){a+=((a.indexOf('?')+1)?'&':'?')+(new Date()).getTime()}if(window.XMLHttpRequest){XR[XR.length]=new XMLHttpRequest();XR[XR.length-1].onreadystatechange=new Function('if( XR['+(XR.length-1)+'].readyState == 4 && XR['+(XR.length-1)+'].status < 300 ) { '+b+'(XR['+(XR.length-1)+'].responseXML); }');XR[XR.length-1].open("GET",a,true);XR[XR.length-1].send(null);return true}if(!navigator.__ice_version&&window.ActiveXObject){var f=['Microsoft.XMLHTTP','Microsoft.XMLDOM'],tho;for(var i=0;!tho&&i<f.length;i++){try{tho=new ActiveXObject(f[i])}catch(e){}}if(tho){XR[XR.length]=tho;XR[XR.length-1].onreadystatechange=new Function('if( XR['+(XR.length-1)+'].readyState == 4 ) { '+b+'(XR['+(XR.length-1)+'].load?XR['+(XR.length-1)+']:XR['+(XR.length-1)+'].responseXML); }');if(XR[XR.length-1].load){XR[XR.length-1].load(a)}else{XR[XR.length-1].open('GET',a,true);XR[XR.length-1].send(null)}return true}}if(document.createElement&&document.childNodes){var g=document.createElement('DIV');g.style.visibility='hidden';g.style.position='absolute';g.style.top='0px';g.style.left='0px';if(!window.XML_timer){window.XML_timer=window.setInterval('checkXMLLoad();',100)}g.innerHTML='<iframe src="'+a+'" name="XML_loader_'+XR.length+'" height="0" width="0"><\/iframe>';XR[XR.length]=b+'SPLIT'+(d?d:1)+'';document.body.appendChild(g);return true}return false}function checkXMLLoad(){for(var x=0;x<XR.length;x++){if(XR[x]&&window.frames['XML_loader_'+x]){setTimeout(XR[x].split('SPLIT')[0]+'(window.frames.XML_loader_'+x+'.window.document);',parseInt(XR[x].split('SPLIT')[1]));XR[x]=false}}}