//function GetXmlHttp() {
//    var xmlHttp = null;
//    try {
//xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
//    } catch (e) {
//try {
//    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
//} catch (e) {
//    try {
//xmlHttp = new XMLHttpRequest();
//    } catch (e) {
//xmlHttp = false;
//    }
//}
//    }
//
//    if (!xmlHttp && typeof XMLHttpRequest!='undefined') {
//xmlHttp = new XMLHttpRequest();
//    } 
//    return xmlHttp;
//}
function viewpinfor(p_id)
{ 
//	var objHTTP;
//	objHTTP = GetXmlHttp(); 
//	var szURL = "pinfor.asp";
//	var szHttpMethod = "POST";
//	objHTTP.open(szHttpMethod, szURL, false);
//	objHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
//	par = 'pId=' + p_id
//	objHTTP.send(par);
//	var szReply = objHTTP.responseText;
//	objHTTP = null; 
//	return szReply;
	
		$('#loading').html('&nbsp; &#272;ang t&#7843;i d&#7919; li&#7879;u ... &nbsp;');						
		
		$.ajax({
			type: 'POST',
			url: 'pinfor.asp',
			data: {pId:""+p_id+""},
			cache: true,
			success: function(html){
				$('#dhtmltooltip').html(html);
				$('#loading').html(' ');
			}
		});

}
function viewpinfor2(p_id)
{ 
//	var objHTTP;
//	objHTTP = GetXmlHttp(); 
//	var szURL = "pinfor2.asp";
//	var szHttpMethod = "POST";
//	objHTTP.open(szHttpMethod, szURL, false);
//	objHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
//	par = 'pId=' + p_id
//	objHTTP.send(par);
//	var szReply = objHTTP.responseText;
//	objHTTP = null; 
//	return szReply;
	$('#loading').html('&nbsp; &#272;ang t&#7843;i d&#7919; li&#7879;u ... &nbsp;');						
		
	$.ajax({
		type: 'POST',
		url: 'pinfor2.asp',
		data: {pId:""+p_id+""},
		cache: true,
		success: function(html){
			$('#dhtmltooltip').html(html);
			$('#loading').html(' ');
		}
	});
}
