//_________________________________________________________________
    function XMLRequest(TargetURL,PostValue,MultipartBoundary){
        if(MultipartBoundary==null){MultipartBoundary = "";}
        if (window.XMLHttpRequest) {
            if(PostValue==undefined){PostValue=null;}
            xmlhttp = new XMLHttpRequest();
        }
        else if (window.ActiveXObject) {
            if(PostValue==undefined){PostValue=null;}
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        if(PostValue!=null && PostValue!=0){
			xmlhttp.open("POST", TargetURL, false);
            if(MultipartBoundary.length>0){xmlhttp.setRequestHeader("Content-Type","multipart/form-data, boundary="+MultipartBoundary);}
            else{xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");}
            xmlhttp.setRequestHeader("Content-Length", PostValue.length);
			xmlhttp.setRequestHeader("Connection", "close");
        }
		else{
	        xmlhttp.open("GET", TargetURL, false);
            xmlhttp.setRequestHeader("Content-Length", '0');
		}


        xmlhttp.send(PostValue);
        if(xmlhttp.ResponseText){ ReturnText = xmlhttp.ResponseText.toString(); }
        else{ReturnText = xmlhttp.responseText.toString();}

        if(ReturnText.indexOf('The system cannot find the file specified.') > -1){
			while(ReturnText.indexOf('The system cannot find the file specified.') > -1){
				xmlhttp.send(PostValue);
				if(xmlhttp.ResponseText){ ReturnText = xmlhttp.ResponseText.toString(); }
				else{ReturnText = xmlhttp.responseText.toString();}
			}
		}

        return ReturnText
    }

