<!--
  function createHttpRequest(){

    //Win ie用
    if(window.ActiveXObject){
        try {
            //MSXML2以降用
            return new ActiveXObject("Msxml2.XMLHTTP") //[1]'
        } catch (e) {
            try {
                //旧MSXML用
                return new ActiveXObject("Microsoft.XMLHTTP") //[1]'
            } catch (e2) {
                return null
            }
         }
    } else if(window.XMLHttpRequest){
        //Win ie以外のXMLHttpRequestオブジェクト実装ブラウザ用
        return new XMLHttpRequest() //[1]'
    } else {
        return null
    }
  }

function httpRequests(target_url,tag) {
  var httpObj = createHttpRequest();
  if (!httpObj) {
    return false;
  }
  httpObj.open("GET", target_url, true);
  httpObj.onreadystatechange = function() {
    if(httpObj.readyState == 4 && httpObj.status == 200) {
      //alert("ok:"+httpObj.responseText);
      var oj = document.getElementById(tag);

      // 無理やり
      var tmp = httpObj.responseText;
      //tmp = tmp.replace(/body=1/g,'body=');

      oj.innerHTML  += tmp;
      // document.write(httpObj.responseText);	// おかしくなったらこれを表示する
    }else{
      //alert("ng:"+httpObj.readyState);
    }
  }
  httpObj.send('');
}

//--------------------------------------
//  url : url
//  tag : output tag
function get_http(url,tag){
  var sts = httpRequests(url,tag);
}
//-->

