function GetXmlHttpObject(handler)
{   var objXMLHttp=null
	 if (window.XMLHttpRequest)
	 {
		objXMLHttp=new XMLHttpRequest();
	 }
	 else if (window.ActiveXObject)
	 {
		objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	 return objXMLHttp;
}
/////////fior interewst//////////////
function stateChanged_confess()
{
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{		
		document.getElementById("show_next_confess").innerHTML='';
		document.getElementById("show_next_confess").innerHTML=xmlHttp.responseText;
	}
}
function reFresh_confess(path)
{	
	xmlHttp=GetXmlHttpObject();
	if (xmlHttp == null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}
	var url=path+"common/confessshinayi_change.php"
	xmlHttp.onreadystatechange=stateChanged_confess; 
	xmlHttp.open("GET",url,true) ;
	xmlHttp.send(null);
	return;
}

