function info(id, work) {

	var url = "index.php?inf=" + id + "&work=" + work;

	xmlHttp.open("GET", url, true);

	xmlHttp.onreadystatechange = infoResult(id);

	xmlHttp.send(null);

}

function infoResult(id) {

	window.setTimeout('infoChange(' + id + ')', 1000);

}

function infoChange(id) {

	document.getElementById("wait_" + id).innerHTML="";

}
