var xmlHttp_pinglun_pinglun
function pinglun()
{
var pid=document.getElementById("hidden_proid").value;
var url="../include/pinglunhn.php?id="+pid;
xmlHttp_pinglun=GetxmlHttp_pinglunObject_pinglun(stateChanged_pinglun)
xmlHttp_pinglun.open("get", url , true);
xmlHttp_pinglun.send(null)
} 

function stateChanged_pinglun() 
{ 
if (xmlHttp_pinglun.readyState==4 || xmlHttp_pinglun.readyState=="complete")
{
var str1=xmlHttp_pinglun.responseText;
document.getElementById("pro-pllist").innerHTML=str1;
//alert(str1);
} 
} 

function GetxmlHttp_pinglunObject_pinglun(handler)
{ 
var objxmlHttp_pinglun=null
if (window.ActiveXObject) {
try {
objxmlHttp_pinglun = new ActiveXObject("Microsoft.xmlHttp");
}
catch (e1) 
{
objxmlHttp_pinglun = new ActiveXObject("Msxml2.xmlHttp");
}
		
objxmlHttp_pinglun.onreadystatechange=handler
return objxmlHttp_pinglun
}

 else if (window.xmlHttpRequest) {
objxmlHttp_pinglun = new xmlHttpRequest();
objxmlHttp_pinglun.onload=handler
objxmlHttp_pinglun.onerror=handler 
return objxmlHttp_pinglun
}

else {	
objxmlHttp_pinglun=new XMLHttpRequest();
objxmlHttp_pinglun.onload=handler
objxmlHttp_pinglun.onerror=handler 
return objxmlHttp_pinglun;
	//alert("对不起，请您使用IE浏览器！");
	//return false;
}

//--------------
}


//////////////////////////////
///////////////////////////////////////////






