function createXMLHttpRequest(){
	var XMLhttpObj = null;
	try{
		XMLhttpObj = new XMLHttpRequest();
	}catch(e){
		try{
			XMLhttpObj = new ActiveXObject("Msxml2.XMLHTTP");
		}catch(e){
			try{
				HMLhttpObj = new ActiveXObject("Microsoft.XMLHTTP");
			}catch(e){
				return null;
			}
		}
	}
	return XMLhttpObj;
}
function get_response_text ( req ){
	var text = req.responseText;
	if( navigator.appVersion.indexOf( "KHTML" ) > -1 ){
		var esc = escape( text );
		if( esc.indexOf( "%u" ) < 0 && esc.indexOf( "%" ) > -1 ){
			text = decodeURIComponent( esc );
		}
	}
	return text;
}
