var xmlHttp=createXmlHttpRequestObject();function createXmlHttpRequestObject(){var a;try{a=new XMLHttpRequest()}catch(d){var b=new Array("MSXML2.XMLHTTP.7.0","MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP");for(var c=0;c<b.length&&!a;c++){try{a=new ActiveXObject(b[c])}catch(d){}}}if(!a){alert("Error creating the XMLHttpRequest object.")}else{return a}}function process(a){if(xmlHttp){try{xmlHttp.open("GET","async1.php?action="+a+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(b){alert("Can't connect to server:\n"+b.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump(){if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobar&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(a){alert("Can't connect to server:\n"+a.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump1(){var b=document.getElementById("provinces");var a=b.choice.options[b.choice.selectedIndex].value;if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobarfoo&ref="+a+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(c){alert("Can't connect to server:\n"+c.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump2(c){var b=document.getElementById("provinces");var a=b.choice1.options[b.choice1.selectedIndex].value;if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobarfoobar&ref="+c+"&ref1="+a+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(d){alert("Can't connect to server:\n"+d.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump3(d,c){var b=document.getElementById("provinces");var a=b.choice2.options[b.choice2.selectedIndex].value;if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobarfoobarfoo&ref="+d+"&ref1="+c+"&ref3="+a+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(f){alert("Can't connect to server:\n"+f.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump4(c,b,a){if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobarfoobarfoobar&ref1="+c+"&ref2="+b+"&ref3="+a+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(d){alert("Can't connect to server:\n"+d.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}}function jump5(k,j,i){var f=document.getElementById("first");var c=f.value;var h=document.getElementById("last");var b=h.value;var d=document.getElementById("phone");var m=d.value;var a=document.getElementById("cell");var l=a.value;var o=document.getElementById("email");var r=o.value;var s=document.getElementById("date");var n=s.value;var g=document.getElementById("time");var q=g.value;if(xmlHttp){try{xmlHttp.open("GET","async1.php?action=foobarfoobarfoobarfoo&ref1="+k+"&ref2="+j+"&ref3="+i+"&first1="+c+"&last1="+b+"&phone1="+m+"&cell1="+l+"&email1="+r+"&date1="+n+"&time1="+q+"&arg1="+Math.random(),true);xmlHttp.onreadystatechange=handleRequestStateChange;xmlHttp.send(null)}catch(p){alert("Can't connect to server:\n"+p.toString())}}}function handleRequestStateChange(){var a=document.getElementById("myDivElement");if(xmlHttp.readyState==4){if(xmlHttp.status==200){try{response=xmlHttp.responseText;a.innerHTML=response}catch(b){alert("Error reading the response: "+b.toString())}}else{alert("There was a problem retrieving the data:\n"+xmlHttp.statusText)}}};