var xmlHttp


if (!xmlHttp) {
try {
  xmlHttp = new XMLHttpRequest();
}
catch (e) {
  xmlHttp=false
}
}


function xmlHttp_send_post(URLto, xmlMessage) { 
    xmlHttp.open("POST", URLto, false)
    // for ie compatability
    xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp.send(xmlMessage)
	//alert(xmlHttp.responseText);
	return xmlHttp.responseText;
} 



function chkId(val,mpath)
{	
    
	
	var path=mpath+'/member-desc.php?';
	var chk = xmlHttp_send_post(path,"lightboxid="+ val);
	
	document.getElementById('light2').innerHTML=chk;
	

	return false;
}

