"Please wait" msg during an ajax call

Hey guys,
How can i make an “please wait” msg while an ajax request is proccesing?
My code looks like this:

function showInfo(num)
{
	if (window.XMLHttpRequest)
		xmlhttp=new XMLHttpRequest();
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4 && xmlhttp.status==200)
			document.getElementById("wrapper").innerHTML=xmlhttp.responseText;
	}
	// some unessasry code
	xmlhttp.open("GET","getdogs.php?parameters=xxx,true);
	xmlhttp.send();
}

Thanks,
ulthane

solved…
solution:

function showInfo(num)
{
	document.getElementById("wait").innerHTML="please wait";
	if (window.XMLHttpRequest)
		xmlhttp=new XMLHttpRequest();
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4 && xmlhttp.status==200)
		{
			document.getElementById("wait").innerHTML="";
			document.getElementById("wrapper").innerHTML=xmlhttp.responseText;
		}
	}
        // some code
	xmlhttp.open("GET","getdogs.php?parameters=xxx,true);
	xmlhttp.send();
}