function do_qisbn(i,p,g){delete xmlHttp;createXMLHttpRequest();var host=window.location.host;var url='http://'+host+'/cgi4/bub.quick_i.cgi';var query='i='+i+'&p='+p+'&g='+g+'&ts='+new Date().getTime();if(!xmlHttp){return;}else{xmlHttp.open("POST",url,true);xmlHttp.onreadystatechange=handleStateChange_receive;xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlHttp.send(query);}}function handleStateChange_receive(){if(xmlHttp.readyState==4){if(xmlHttp.status==200){qdisplay();}else{return;}}}function qdisplay(stores){var xmlDoc=xmlHttp.responseXML;var stores=xmlDoc.getElementsByTagName("store");var currentStore=null;try{if(stores.length>=1){for(var i=0;i<stores.length;i++){currentStore=stores[i];var n=currentStore.childNodes[0].childNodes[0].nodeValue;var p=currentStore.childNodes[1].childNodes[0].nodeValue;var u=currentStore.childNodes[2].childNodes[0].nodeValue;u=unescape(u);p=unescape(p);document.getElementById("qd"+i.toString()).innerHTML='<a href="'+u+'" target="_new">'+n+'</a>&nbsp;';document.getElementById("qd"+i.toString()+"a").innerHTML=p;}onclick=toggle2('qisbn',1);if(i<=2){delete_row('qbox',i);};}else{onclick=toggle2('qisbn');};}catch(e){};}function delete_row(table,i){try{var table=document.getElementById(table);while (table.rows.length>(i*2)+2){table.deleteRow(table.rows.length-2);}}catch(e){};}