var xmlhttp1; function QueryModel(b,g){ try{ xmlhttp1.abort(); }catch(e){ } document.getElementById("sel1").innerHTML="Loading..."; if (window.XMLHttpRequest) { xmlhttp1=new XMLHttpRequest(); } else { xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP"); } if(b==""){ document.getElementById("sel1").innerHTML=" "; return true; } xmlhttp1.open("GET","/GetSelection.aspx?b="+b+"&g="+g+"&p=0",true); xmlhttp1.onreadystatechange=function() { if (xmlhttp1.readyState==4 && xmlhttp1.status==200) { document.getElementById("sel1").innerHTML=xmlhttp1.responseText; } } xmlhttp1.send(); } var xmlhttp2; function QueryItem(b,g){ try{ xmlhttp2.abort(); }catch(e){ } document.getElementById("sel2").innerHTML="Loading..."; if (window.XMLHttpRequest) { xmlhttp2=new XMLHttpRequest(); } else { xmlhttp2=new ActiveXObject("Microsoft.XMLHTTP"); } if(b==""){ document.getElementById("sel2").innerHTML=" "; return true; } xmlhttp2.open("GET","/GetSelection.aspx?b="+b+"&g="+g+"&p=1",true); xmlhttp2.onreadystatechange=function() { if (xmlhttp2.readyState==4 && xmlhttp2.status==200) { document.getElementById("sel2").innerHTML=xmlhttp2.responseText; } } xmlhttp2.send(); }