
/** -----------------------------------------------------------------------------------
  ページ表示
*/

function getDietitian() {

    var xhrObj = getXhrObj();
    xhrObj.open("post", "../../php/list/list.sub.php");
    xhrObj.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    xhrObj.setRequestHeader('If-Modified-Since', '01 Jan 2000 00:00:00 GMT');
    xhrObj.onreadystatechange = function(){
        if(xhrObj.readyState == 4){
            if(xhrObj.status == 200){
                var list = xhrObj.responseText;
                if ( navigator.appVersion.indexOf( "KHTML" ) > -1 ) {
                  var esc = escape( list );
                  if ( esc.indexOf("%u") < 0 && esc.indexOf("%") > -1 ) {
                    list = decodeURIComponent( esc );
                  }
                }
                $("ikuji_waku2").innerHTML = list;
            }
        }
    }
    xhrObj.send("mode=dietitian2&category_no=15&page=1&time=");
}

/** -----------------------------------------------------------------------------------
  イベントハンドラー
*/

function loadDietitian() {

    getDietitian();

}

setListener(window, "load", loadDietitian);

