function pagination(pr,tid,data_1,data_2){ var ajaxRequest; try{ ajaxRequest = new XMLHttpRequest(); } catch (e){ try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ alert("Your browser broke!"); return false; } } } ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('pg_src'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } if(pr == ''){ pr = 0; } var queryString = "?st="+pr+"&tid="+tid+"&month="+data_1+"&bid="+data_2; ajaxRequest.open("GET", "http://1x2soccer.tips/site-profile-data.php?" + queryString, true); ajaxRequest.send(null); } function srcByMonth(data){ var str = data.split("^"); if (str[0]==""){ alert('Please select a month.'); }else{ document.getElementById("txtHintmnth").innerHTML = '
Please Wait...
'; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); }else{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function(){ if (xmlhttp.readyState==4 && xmlhttp.status==200){ document.getElementById("txtHintmnth").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","http://1x2soccer.tips/site-profile-data.php?month="+str[0]+"&tid="+str[1]+"&year="+str[2],true); xmlhttp.send(); } } function srcByBettype(data){ var str = data.split("^"); if (str[0]==""){ alert('Please select a bet type.'); }else{ document.getElementById("txtHintmnth").innerHTML = '
Please Wait...
'; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); }else{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function(){ if (xmlhttp.readyState==4 && xmlhttp.status==200){ document.getElementById("txtHintmnth").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","http://1x2soccer.tips/site-profile-data.php?bid="+str[0]+"&tid="+str[1],true); xmlhttp.send(); } } function showMonth(yr,tipId){ if (yr==""){ alert('Please select a year.'); }else{ document.getElementById("txtHintmnthYr").innerHTML = 'Please Wait...'; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); }else{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function(){ if (xmlhttp.readyState==4 && xmlhttp.status==200){ document.getElementById("txtHintmnthYr").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","http://1x2soccer.tips/month?year="+yr+"&tipId="+tipId,true); xmlhttp.send(); } }