function pData(url, data, callback,IDTag)
{ 
	var xmlHttp;
	try
	{
		xmlHttp = new XMLHttpRequest();
	}
	catch(e)
	{
		var XmlHttpVersions = new Array("MSXML2.XMLHTTP.6.0",
		"MSXML2.XMLHTTP.5.0",
		"MSXML2.XMLHTTP.4.0",
		"MSXML2.XMLHTTP.3.0",
		"MSXML2.XMLHTTP",
		"Microsoft.XMLHTTP");
		for (var i=0; i<XmlHttpVersions.length && !xmlHttp; i++)
		{
			try
			{
				xmlHttp = new ActiveXObject(XmlHttpVersions[i]);
			}
			catch (e) {}
		}
	}

  if(xmlHttp) {
    xmlHttp.open("POST", url,true); 
    xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=iso-8859-1'); 

    xmlHttp.onreadystatechange = function() 
    { 
	  if (xmlHttp.readyState >=0 && xmlHttp.readyState < 4 ) {
		  if(document.getElementById('center_center')){
		    document.getElementById('center_center').innerHTML = "<div id='loading' style='display:none; top:0px; left:150px;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='200' height='200'><param name='movie' value='SWF/loading.swf'><param name='wmode' value='transparent'><param name=quality value=high><embed src='SWF/loading.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='200' height='200'></embed></object>";
			document.getElementById('loading').style.display = "block";
		  }
	  }
	  if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
		  if(document.getElementById('loading')){
		  	document.getElementById('loading').style.display = "none";
		  }
		  //alert(IDTag);
          callback(xmlHttp.responseText,IDTag); 
		  delete xmlHttp;
          xmlHttp = null;
      } 
    }
    xmlHttp.send(data); 
  }
}

function pXML(url,data,callback,IDTag)
{ 
	var xmlHttp;
	try
	{
		xmlHttp = new XMLHttpRequest();
	}
	catch(e)
	{
		var XmlHttpVersions = new Array("MSXML2.XMLHTTP.6.0",
		"MSXML2.XMLHTTP.5.0",
		"MSXML2.XMLHTTP.4.0",
		"MSXML2.XMLHTTP.3.0",
		"MSXML2.XMLHTTP",
		"Microsoft.XMLHTTP");
		for (var i=0; i<XmlHttpVersions.length && !xmlHttp; i++)
		{
			try
			{
				xmlHttp = new ActiveXObject(XmlHttpVersions[i]);
			}
			catch (e) {}
		}
	}

  if(xmlHttp) {
    xmlHttp.open("POST",url,true); 
    xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=iso-8859-1'); 
    xmlHttp.onreadystatechange = function() 
    { 
      if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
		  //alert(xmlHttp.responseText);
          callback(xmlHttp.responseXML,IDTag);
		  delete xmlHttp;
          xmlHttp = null;
      } 
    }
    xmlHttp.send(data); 
  }
}