function setWait()
{
	document.write("<p ID='LoadInd' CLASS='Indicator' align='center'>");
	document.write("<LABEL ID='WaitMsg'>&nbsp;</LABEL></p>");

	var x=document.getElementById("LoadInd");
	var d=document.body;
	x.style.left=(d.clientWidth-270)/2;
	x.style.top=(d.clientHeight-95)/2;
}

function showWait(txt)
{
	document.getElementById("WaitMsg").childNodes[0].data=txt;
	document.getElementById("LoadInd").style.visibility="visible";
}

function noWait()
{
	document.getElementById("LoadInd").style.visibility="hidden";
}

function pleaseWait(txt)
{
	setWait();
	showWait(txt);
}
