





	

	function list_estado() {

			var sProduto               = document.getElementById("produto").value;

			var url 		          = window.location + "?produto="+sProduto; 

		http.open("GET", url + "&produto=" + sProduto , true);

            http.onreadystatechange = handleHttpResponse;



            http.send(null);	



		

			



		}

	

	

	function list_cidade() {

		var sProduto               = document.getElementById("produto").value;

		var sEstado               = document.getElementById("estado").value;

		var url 		          = window.location + "?produto="+sProduto+"?estado="+sEstado; 

	http.open("GET", url + "&produto=" + sProduto + "&estado=" + sEstado , true);

        http.onreadystatechange = handleHttpResponse;



        http.send(null);	



		



	}

	

	function list_bairro() {

		var sProduto              = document.getElementById("produto").value;

		var sEstado               = document.getElementById("estado").value;

		var sCidade               = document.getElementById("cidade").value;

		

		

		

		var url 		          = window.location + "?produto="+sProduto+"?estado="+sEstado+"?cidade="+sCidade; 

	http.open("GET", url + "&produto=" + sProduto + "&estado=" + sEstado + "&cidade=" + sCidade , true);

        http.onreadystatechange = handleHttpResponse;



        http.send(null);	



		



	}

	

	

	function list_assitencia_bairro() {

		var sProduto              = document.getElementById("produto").value;

		var sEstado               = document.getElementById("estado").value;

		var sCidade               = document.getElementById("cidade").value;

		var sBairro               = document.getElementById("bairro").value;

		var url 		          = window.location + "?produto="+sProduto+"?estado="+sEstado+"?cidade="+sCidade+"?bairro="+sBairro; 

	http.open("GET", url + "&produto=" + sProduto + "&estado=" + sEstado + "&cidade=" + sCidade + "&bairro=" + sBairro , true);

        http.onreadystatechange = handleHttpResponse;



        http.send(null);	



		



	}



	  			

  var url 	= window.location;

  





       function handleHttpResponse() {

		

      

        if (http.readyState == 4) {

        

        	

              if(http.status==200) {



                  var results=http.responseText;



              document.getElementById('divCustomerInfo').innerHTML = results;



              }



              }



        }







        function requestCustomerInfo() {



          



            http.open("GET", url, true);



            http.onreadystatechange = handleHttpResponse;



            http.send(null);



        }



        

 

        

  

        



function getHTTPObject() {



  var xmlhttp;







  if(window.XMLHttpRequest){



    xmlhttp = new XMLHttpRequest();



  }



  else if (window.ActiveXObject){



    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");



    if (!xmlhttp){



        xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");



    }



		



}



  return xmlhttp;











}



var http = getHTTPObject(); // We create the HTTP Object


