var xmlHttp,tpq;
function get_topicpath(tpci){
    xmlHttp=createXMLHttpRequest();
    if(xmlHttp){
        xmlHttp.onreadystatechange=function(){
            if(chk_topicpath_status())getObject('topic_path_cell').innerHTML=xmlHttp.responseText;
        }
        xmlHttp.open("POST",get_topicpath_url(tpci),true);
        xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
        xmlHttp.send(get_topicpath_data());
    }
    return;
}
function chk_topicpath_status(){return (xmlHttp.readyState==4)&&(xmlHttp.status==200);}
function set_topicpath_param(q){tpq=q;}
function get_topicpath_url(tpci){return "/kaigai/htl/ajax/xml/TopicPath.aspx"+tpq+"&tpc="+tpci;}
function get_topicpath_data(){return 'dpt='+tarifuCheckInMonth+tarifuCheckInDay+'&nos='+tarifuStayDays+'&nor='+tarifuRoomList+'&min='+tarifuMinPrice+'&max='+tarifuMaxPrice;}
