function fetch_urltxt(url){
	document.theForm.text.style.color      = '#FFF';
	document.theForm.text.innerHTML        = '   Uploading...';
	document.theForm.text.style.background = '#000';

	var http_request, response, i;
	var activex_ids = [
		'MSXML2.XMLHTTP.3.0',
		'MSXML2.XMLHTTP',
		'Microsoft.XMLHTTP'
	];

	if (window.XMLHttpRequest){ // Mozilla, Safari, IE7+...
		http_request = new XMLHttpRequest();
	}
	else if (window.ActiveXObject){ // IE6 and older
		for (i = 0; i < activex_ids.length; i++){
			try {
				http_request = new ActiveXObject(activex_ids[i]);
			} catch (e) {}
		}
	}

	if (!http_request){
		alert('Unfortunately your browser doesn’t support this feature.');
		return false;
	}

	http_request.onreadystatechange = function(){
		if (http_request.readyState !== 4){
			// not ready yet
			return;
		}

		if (http_request.status !== 200){
			// ready, but not OK
			alert('There was a problem with the request.(Code: ' + http_request.status + ')');
			document.theForm.text.style.background = '#FFF';
			document.theForm.text.style.color      = '#000';
			document.theForm.text.innerHTML        = '### Remote connection failed ###';
			return; 
		}

		response = http_request.responseText;

		// action
		document.theForm.text.style.background = '#FFF';
		document.theForm.text.style.color      = '#000';
		document.theForm.text.innerHTML        = response;
		if ( /Konqueror/.test(navigator.userAgent) || /MSIE/.test(navigator.userAgent) ){
			document.theForm.text.value = response;
		}
	}

	http_request.open('GET', url, true);
	http_request.send(); 
}

