function swkx(){ c = document.FORM.c.value; sc = document.FORM.sc.value; if (c>0){ swk(c,sc); }else{ document.getElementById('kbtopx').innerHTML = ""; } } function swk(c,sc){ httpObj = createXMLHttpRequest(swk2); if (httpObj){ httpObj.open("GET",'//support.jp.square-enix.com/kbtopx_ajax.php?id=11&la=0&c='+c+'&sc='+sc+'&pv=20&ret=faq&q=%2525E3%252582%2525A6%2525E3%252582%2525A7%2525E3%252583%252587%2525E3%252582%2525A3%2525E3%252583%2525B3%2525E3%252582%2525B0%2525E3%252582%2525B5%2525E3%252583%25259D%2525E3%252583%2525BC%2525E3%252583%252588'); httpObj.send(null); } } function swk2(){ if ((httpObj.readyState == 4) && (httpObj.status == 200)){ if (httpObj.responseText != "ERROR"){ document.getElementById('kbtopx').innerHTML = httpObj.responseText; }else{ //document.getElementById('kbtopx').innerHTML = ""; } } } function swk3(){ swk(0,0)}