var xmlHttp0;
    function createXMLHTTP0()
	{
        try 
        {
            xmlHttp0 = new XMLHttpRequest();
        } catch(e) 
        {
            try 
            {
                xmlHttp0 = new ActiveXObject("Msxml2.XMLHTTP");
            } catch(e) 
            {
                xmlHttp0 = new ActiveXObject("Microsoft.XMLHTTP");
            }
        }
        
        return xmlHttp0;
	}
	
    function createXMLHTTP1()
	{
        try 
        {
            xmlHttp1 = new XMLHttpRequest();
        } catch(e) 
        {
            try 
            {
                xmlHttp1 = new ActiveXObject("Msxml2.XMLHTTP");
            } catch(e) 
            {
                xmlHttp1 = new ActiveXObject("Microsoft.XMLHTTP");
            }
        }
        
        return xmlHttp1;
	}
	
    function createXMLHTTP2()
	{
        try 
        {
            xmlHttp2 = new XMLHttpRequest();
        } catch(e) 
        {
            try 
            {
                xmlHttp2 = new ActiveXObject("Msxml2.XMLHTTP");
            } catch(e) 
            {
                xmlHttp2 = new ActiveXObject("Microsoft.XMLHTTP");
            }
        }
        
        return xmlHttp2;
	}
	
    function createXMLHTTP3()
	{
        try 
        {
            xmlHttp3 = new XMLHttpRequest();
        } catch(e) 
        {
            try 
            {
                xmlHttp3 = new ActiveXObject("Msxml2.XMLHTTP");
            } catch(e) 
            {
                xmlHttp3 = new ActiveXObject("Microsoft.XMLHTTP");
            }
        }
        
        return xmlHttp3;
	}
	
	function fun0(pagina)
	{
	   
		createXMLHTTP0();
		//document.getElementById(cbox).innerHTML='caricamento in corso...';
		
		xmlHttp0.onreadystatechange = fun20;
		xmlHttp0.open('GET',pagina,true);
		xmlHttp0.send(null);
        
	}
	
	function fun1(pagina)
	{
		xmlHttp1 = createXMLHTTP1();
		//document.getElementById(cbox).innerHTML='caricamento in corso...';
		
		xmlHttp1.onreadystatechange = fun21;
		xmlHttp1.open('GET',pagina,true);
		xmlHttp1.send(null);
	}
	
	function fun2(pagina)
	{
		xmlHttp2 = createXMLHTTP2();
		//document.getElementById(cbox).innerHTML='caricamento in corso...';
		
		xmlHttp2.onreadystatechange = fun22;
		xmlHttp2.open('GET',pagina,true);
		xmlHttp2.send(null);
	}
	
	function fun3(pagina)
	{
		xmlHttp3 = createXMLHTTP3();
		//document.getElementById(cbox).innerHTML='caricamento in corso...';
		
		xmlHttp3.onreadystatechange = fun23;
		xmlHttp3.open('GET',pagina,true);
		xmlHttp3.send(null);
	}
	
	
	function fun20()
	{
	   //alert(xmlHttp0.readyState+' - '+xmlHttp0.status+' '+xmlHttp0.responseText);
		if(xmlHttp0.readyState == 4)
		{
			if(xmlHttp0.status==200)
			{
				document.getElementById('divBox0').innerHTML=xmlHttp0.responseText;
			}
		}
	}

	function fun21()
	{
		if(xmlHttp1.readyState == 4)
		{
			if(xmlHttp1.status==200)
			{
				document.getElementById('divBox1').innerHTML=xmlHttp1.responseText;
			}
		}
	}

	function fun22()
	{
		if(xmlHttp2.readyState == 4)
		{
			if(xmlHttp2.status==200)
			{
				document.getElementById('divBox2').innerHTML=xmlHttp2.responseText;
			}
		}
	}

	function fun23()
	{
		if(xmlHttp3.readyState == 4)
		{
			if(xmlHttp3.status==200)
			{
				document.getElementById('divBox3').innerHTML=xmlHttp3.responseText;
			}
		}
	}
