var all_show_flag = false; /*****************************************/ //XMLHttpオブジェクトの作成 /*****************************************/ function createXMLHttp_sakana3() { var xmlhttp; try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { xmlhttp = false; } } if (!xmlhttp && typeof XMLHttpRequest != 'undefined') { xmlhttp = new XMLHttpRequest(); } return xmlhttp; } //function check_sakana3(data,div_id,$all_flg){ /* if($all_flg != true && data.length==0){ return; } */ function check_sakana3(data,div_id){ this.xmlhttp = createXMLHttp_sakana3(); if(this.xmlhttp){ var self = this; this.xmlhttp.onreadystatechange = function() { if(self.xmlhttp.readyState == 4 && self.xmlhttp.status == 200){ document.getElementById(div_id).innerHTML = self.xmlhttp.responseText; } } } this.xmlhttp.open('POST', 'http://blog.romaji.net/mixi_kanji/search_ajax/ajax_search.php',true); var sendData; sendData = "data=" + encodeURIComponent(data); sendData += "&type=sakana3"; this.xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); this.xmlhttp.send(sendData); } document.open(); document.write('
'); document.write("