var xmlHttp

function gatherMD(type,gid,uid,alt1,alt2)
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	}
	type = escape(type);
	gid = escape(gid);
	uid = escape(uid);
	alt1 = escape(alt1);
	alt2 = escape(alt2);
	var url="/sub/gathermain.php?type=" + type + "&id=" + gid + "&uid=" + uid + "&alt1=" + alt1 + "&alt2=" + alt2;
	xmlHttp.onreadystatechange=stateChangedGatherMD
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}
function stateChangedGatherMD()
{
	if(xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ document.getElementById("gathermainbox").innerHTML=xmlHttp.responseText }
}
