function getVote(idform,id,lang)
{
  //Get Ajax object
  if (window.XMLHttpRequest) xmlhttp=new XMLHttpRequest();
  else xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  // Set response handler
  xmlhttp.onreadystatechange=function()
  {
    if (xmlhttp.readyState==4 && xmlhttp.status==200){ document.getElementById(id).innerHTML=xmlhttp.responseText; }
  }
  //Send request
  xmlhttp.open("GET",lang+"/home/_id:"+idform+",poll:"+id,true);
  xmlhttp.send();
}

function getResults(lang)
{
 //Get Ajax object
  if (window.XMLHttpRequest){ xmlhttp1=new XMLHttpRequest();xmlhttp2=new XMLHttpRequest();xmlhttp3=new XMLHttpRequest();}
  else {xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP");xmlhttp2=new ActiveXObject("Microsoft.XMLHTTP");xmlhttp3=new ActiveXObject("Microsoft.XMLHTTP");}
  // Set response handler
  xmlhttp1.onreadystatechange=function()
  {
    if (xmlhttp1.readyState==4 && xmlhttp1.status==200){ document.getElementById('poll1').innerHTML=xmlhttp1.responseText; }
  }
  xmlhttp2.onreadystatechange=function()
  {
    if (xmlhttp2.readyState==4 && xmlhttp2.status==200){ document.getElementById('poll2').innerHTML=xmlhttp2.responseText; }
  }
  xmlhttp3.onreadystatechange=function()
  {
    if (xmlhttp3.readyState==4 && xmlhttp3.status==200){ document.getElementById('poll3').innerHTML=xmlhttp3.responseText; }
  }
  //Send request
  xmlhttp1.open("GET",lang+"/home/_show:poll1",true);
  xmlhttp1.send();
  xmlhttp2.open("GET",lang+"/home/_show:poll2",true);
  xmlhttp2.send();
  xmlhttp3.open("GET",lang+"/home/_show:poll3",true);
  xmlhttp3.send();
}
