function poll_ajax(odp,ankt) {
  var poll_xmlhttp=false;

  var answer;
  
  /*@cc_on @*/
  /*@if (@_jscript_version >= 5)
   	try {
  		poll_xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
  	}catch (e){
   		try {
  			poll_xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  		}catch (E){
  			poll_xmlhttp = false;
  		}
  	}
  @end @*/
  
  if (!poll_xmlhttp && typeof XMLHttpRequest!='undefined') {
  	try {
  		poll_xmlhttp = new XMLHttpRequest();
  	}catch (e){
  		poll_xmlhttp=false;
  	}
  }
  
  if (!poll_xmlhttp && window.createRequest) {
  	try{
  		poll_xmlhttp = window.createRequest();
  	}catch (e){
  		poll_xmlhttp=false;
  	}
  }
	poll_xmlhttp.onreadystatechange = function() {
		if (poll_xmlhttp.readyState==4) {
		  if (poll_xmlhttp.status==200){
        document.getElementById('hpoll').innerHTML=poll_xmlhttp.responseText
      } else {
        alert("Problem retrieving data:" + poll_xmlhttp.statusText)
      }
			return false;
		}
	}
  poll_xmlhttp.open("GET",'poll.php?odp='+odp + '&ankt='+ankt,true); 
	poll_xmlhttp.send(null);
	return false;
}

