function xmlHttpGo(url) {
	var w3c = (typeof window.XMLHttpRequest != 'undefined');
	var ie = (typeof window.ActiveXObject != 'undefined');
	
	if (w3c) {
		var xmlHttp = new XMLHttpRequest();
	} else if (ie) {
		var xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
	} else {
		return false;
	}
		
	document.getElementById("TransBox").style.visibility = "visible";
	document.getElementById("TransBoxS").style.visibility = "visible";
	document.body.style.overflow="hidden";
	document.body.scroll="no";
	
	xmlHttp.open("GET", url, true);
	xmlHttp.onreadystatechange = function() {
		if (xmlHttp.readyState == 4) {
			alertRoot(xmlHttp);
		}
	}
	xmlHttp.send(null); 
}

function alertRoot(xmlHttp) {
	var txt = xmlHttp.responseText
	document.getElementById("TransBoxContent").innerHTML = txt;
}
 
function closeBox(){
	document.getElementById("TransBox").style.visibility = "hidden";
	document.getElementById("TransBoxS").style.visibility = "hidden";
	document.body.style.overflow="visible";
	document.body.scroll="yes";
}

function setCaptcha(url){
	document.getElementById("captchaB").src= url + "/index/image?" + Math.random();
}
