var aXmlHttp=new Array();var aXmlResponse=new Array();function xmlResult(){for(var A=0;A<aXmlHttp.length;A++){if(aXmlHttp[A]&&aXmlHttp[A][0]&&aXmlHttp[A][0].readyState==4&&aXmlHttp[A][0].responseText){var C=aXmlHttp[A][2];var D=aXmlHttp[A][1];var B=aXmlHttp[A][0].responseText;aXmlHttp[A][0]=null;aXmlHttp[A][1]=null;aXmlHttp[A]=null;C.apply(D,new Array(B))}}}function call(B,G,E){var F="GET";var D;if(arguments.length==4){F="POST";tmp=B.split(/\?/);B=tmp[0];D=tmp[1]}var A=aXmlHttp.length;for(var C=0;C<A;C++){if(aXmlHttp[C]==null){A=C;break}}aXmlHttp[A]=new Array(2);aXmlHttp[A][0]=getXMLHTTP();aXmlHttp[A][1]=G;aXmlHttp[A][2]=E;if(aXmlHttp[A]){aXmlHttp[A][0].open(F,B,true);if(F=="POST"){aXmlHttp[A][0].setRequestHeader("Content-Type","application/x-www-form-urlencoded");aXmlHttp[A][0].send(D)}aXmlHttp[A][0].onreadystatechange=xmlResult;if(F=="GET"){aXmlHttp[A][0].send(null)}}}function getXMLHTTP(){var B=null;if(!B&&typeof XMLHttpRequest!="undefined"){B=new XMLHttpRequest()}if(!B){try{B=new ActiveXObject("Msxml2.XMLHTTP")}catch(D){try{B=new ActiveXObject("Microsoft.XMLHTTP")}catch(C){B=null}}}return B};