var xmlHttp;
function get_expertise(id)
{ 
if(id== "none")
return false;
xmlHttp=GetXmlHttpObject(id);
if (xmlHttp==null)
	   { alert ("Browser does not support AJAX technology"); return; }

	var url="includes/ajax/expertise.php?id="+id;
//	return false;
	xmlHttp.onreadystatechange = stateChanged ;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}

	function stateChanged() 
	{ 
	  if (xmlHttp.readyState == 1) /* show bussy for getting result from DB */ 
		 { 
        document.getElementById("expertise").innerHTML = '&nbsp;<img src=images/progress-bar.gif border=0 />'; 
     	} 		
	else if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	 { 
	 document.getElementById("expertise").innerHTML=xmlHttp.responseText 
	// document.getElementById("track").focus();
	 } 
	}

	function GetXmlHttpObject()
	{
	var xmlHttp=null;
	try
	 {
	 // Firefox, Opera 8.0+, Safari
	 xmlHttp=new XMLHttpRequest();
	 }
		catch (e)
		 {
		 //Internet Explorer
		 try
		  {
		  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		  }
		 catch (e)
		  {
		  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		  }
		 }
		return xmlHttp;
		}