function handleHttpResponse() {
	campo_select = global;
	if(http.readyState == 4) {
		campo_select.options.length = 0;
		results = unescape(http.responseText);
		results = results.replace(/\+/g," ");
		results = results.split("#");
		for( i = 0; i < results.length; i++ ) {
			string = results[i].split( "|" );
			if(string[0] == '')	campo_select.options[i] = new Option( '', '' );
			else campo_select.options[i] = new Option( string[0], string[1] );
			campo_select.options[i].title = string[0];
			campo_select.options[0].selected = true;
		}
	}
}

function getHTTPObject() {
	var xmlhttp;
	/*@cc_on
	@if (@_jscript_version >= 5)
		try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
		try {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {
			xmlhttp = false;
		}
	}
	@else
		xmlhttp = false;
	@end @*/
	if(!xmlhttp && typeof XMLHttpRequest != 'undefined') {
		try {
			xmlhttp = new XMLHttpRequest();
		} catch (e) {
			xmlhttp = false;
		}
	}
	return xmlhttp;
}
var http = getHTTPObject();

