<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var domain = location.hostname;
var protocol = location.protocol;
var turl = protocol + "//" + domain + ":"+location.port+"/s/";

function searchKensaku(){

    if(!document.InputForm.dep_area.value){
        alert('å‡ºç™ºåœ°ã‚’é¸æŠžã—ã¦ä¸‹ã•ã„');
        return;
    }
    if(!document.InputForm.arv_area.value){
        alert('ç›®çš„åœ°ã‚’é¸æŠžã—ã¦ä¸‹ã•ã„');
        return;
    }
    var param;
    var dObj = new Date();
    var y = String(dObj.getFullYear());
    var m = String(100 + dObj.getMonth() + 1).substr(1,2);
    if(document.InputForm.dep_day.value){
        //æ—¥ä»˜é¸æŠž
        param = "day" + document.InputForm.dep_year.value + document.InputForm.dep_month.value + document.InputForm.dep_day.value + "/";
    }else{
        //æœªå®š
        if(document.InputForm.dep_year.value == y &amp;&amp; document.InputForm.dep_month.value == m){
            //ä»Šæœˆãªã®ã§ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ãªã—
            param = "";
        }else{
            param = "month" + document.InputForm.dep_year.value + document.InputForm.dep_month.value + "/";
        }
    }

    if(param) param = "_/" + param;

    var sub_town;
    if(document.InputForm.dep_town.value &amp;&amp; document.InputForm.arv_town.value){
        sub_town = document.InputForm.dep_town.value + "_" + document.InputForm.arv_town.value;
    } else if(document.InputForm.dep_town.value &amp;&amp; !document.InputForm.arv_town.value){
        sub_town = document.InputForm.dep_town.value + "_";
    } else if(!document.InputForm.dep_town.value &amp;&amp; document.InputForm.arv_town.value){
        sub_town = "_" + document.InputForm.arv_town.value;
    }

    actionurl = turl + "search/" + document.InputForm.dep_area.value + "_"+ document.InputForm.arv_area.value + "/";
    if(sub_town) actionurl = actionurl + sub_town + "/";
    if(param) actionurl = actionurl + param;

    op = "";
    if(document.InputForm.womanonly.checked) op = op + "w";  //å¥³æ€§å°‚ç”¨
    if(document.InputForm.hiru.checked) op = op + "h";       //æ˜¼è¡Œ
    if(document.InputForm.yoru.checked) op = op + "y";       //å¤œè¡Œ
    if(document.InputForm.toilet.checked) op = op + "t";     //ãƒˆã‚¤ãƒ¬ä»˜
    if(document.InputForm.four.checked) op = op + "4";       //4åˆ—
    if(document.InputForm.three.checked) op = op + "3";      //3åˆ—
    if(document.InputForm.twoone.checked) op = op + "x";     //2x1åˆ—
    if(document.InputForm.two.checked) op = op + "2";        //2åˆ—
    if(document.InputForm.concent.checked) op = op + "c";    //ã‚³ãƒ³ã‚»ãƒ³ãƒˆ
    if(document.InputForm.womansafety.checked) op = op + "s";//å¥³æ€§å®‰å¿ƒ
    if(document.InputForm.lan.checked) op = op + "l";        //WiFi
    if(document.InputForm.blanket.checked) op = op + "z";    //ã²ã–æŽ›ã‘
    if(op != "") op = op + "/";

    document.InputForm.target = "";
    document.InputForm.action = actionurl+op;
    document.InputForm.submit();
}

$(document).ready(function(){
  //acordion_treeã‚’ä¸€æ—¦éžè¡¨ç¤ºã«
  $(".acordion_tree").css("display","none");
  //triggerã‚’ã‚¯ãƒªãƒƒã‚¯ã™ã‚‹ã¨ä»¥ä¸‹ã‚’å®Ÿè¡Œ
  $(".trigger").click(function(){
    //ã‚‚ã—ã‚‚ã‚¯ãƒªãƒƒã‚¯ã—ãŸtriggerã®ç›´å¾Œã®.acordion_treeãŒéžè¡¨ç¤ºãªã‚‰
    if($("+.acordion_tree",this).css("display")=="none"){
         //classã«activeã‚’è¿½åŠ&nbsp;
         $(this).addClass("active");
         //ç›´å¾Œã®acordion_treeã‚’ã‚¹ãƒ©ã‚¤ãƒ‰ãƒ€ã‚¦ãƒ³
         $("+.acordion_tree",this).slideDown("normal");
  }else{
    //classã‹ã‚‰activeã‚’å‰Šé™¤
    $(this).removeClass("active");
    //ã‚¯ãƒªãƒƒã‚¯ã—ãŸtriggerã®ç›´å¾Œã®.acordion_treeãŒè¡¨ç¤ºã•ã‚Œã¦ã„ã‚Œã°ã‚¹ãƒ©ã‚¤ãƒ‰ã‚¢ãƒƒãƒ—
    $("+.acordion_tree",this).slideUp("normal");
  }
  });
});
jQuery.blockUI({ css: {
    border: 'none',
    padding: '15px',
    backgroundColor: '#000',
    '-webkit-border-radius': '10px',
    '-moz-border-radius': '10px',
    opacity: '.5',
    color: '#fff'
} });
function NowLoading(){
    document.getElementById("nowload").style.display= "none";
    document.getElementById("wrapper").style.display= "block";
}
function Unblock(){
    $.unblockUI();
}
</pre></body></html>