 try{ f=new XMLHttpRequest(); }
 catch(e){
  try{ f=new ActiveXObject("Msxml2.XMLHTTP"); }
  catch(e){ f=new ActiveXObject("Microsoft.XMLHTTP"); }
 }

 function handle_jps(){

  if(f.readyState==4){

   jps=f.responseText.split(";");
   setTimeout("update_jps()", 60000);

   document.getElementById("pot1").innerHTML=jps[0];
   document.getElementById("pot2").innerHTML=jps[1];
   document.getElementById("pot3").innerHTML=jps[2];

  }

 }

 function update_jps(){

  if(f){

   f.open("GET","?s=jackpots",true);
   f.onreadystatechange=handle_jps;
   f.send(null);

  }

 }

 update_jps();