var xmlHttpObject = false;

if (typeof XMLHttpRequest != 'undefined') 
{
    xmlHttpObject = new XMLHttpRequest();
}
if (!xmlHttpObject) 
{
    try 
    {
        xmlHttpObject = new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch(e) 
    {
        try 
        {
            xmlHttpObject = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch(e) 
        {
            xmlHttpObject = null;
        }
    }
}

function loadDetail(a)
{
	xmlHttpObject.open('get','/ajx/ajx_ergebnis_detail.php?id_a='+a); 
    
	xmlHttpObject.onreadystatechange = handleContent;
    xmlHttpObject.send(null);
	
	function handleContent()
	{
		if (xmlHttpObject.readyState == 4)
		{
			var strContent = 'detail_anz'; 
			document.getElementById(strContent).innerHTML = xmlHttpObject.responseText;
		}
	}
    
	return false;

}



