var ajexsection;

function showdogy(nid,act)
{
	
	
	
		var url = "ajax/showdogy.php?nid=" + nid+"&act=" + act;
		if(window.XMLHttpRequest) {

			reqajcom = new XMLHttpRequest();
		} else if(window.ActiveXObject) {

			reqajcom = new ActiveXObject("Microsoft.XMLHTTP");
		}
		reqajcom.open("GET", url, true);
		reqajcom.onreadystatechange = shownext;
		reqajcom.send(null);
	
}

function shownext() {
	
	if(reqajcom.readyState == 4) {
		if(reqajcom.status == 200) {
			
			response = reqajcom.responseText;
			document.getElementById("showdogy").innerHTML=response;
						
			
		} else {
			alert("There was a problem retrieving the data:\n" + reqajcom.statusText);
		}
	}
}
