$(function() { entry = Array(); // entry['modelhouse/atsubetsu'] = "modelhouse/4678"; entry['modelhouse/4678'] = "modelhouse/atsubetsu"; category = Array(); category['root'] = Array(); category['root']['title'] = "top"; category['root']['description'] = ""; category['root']['type'] = "page"; category['root']['pagenation'] = "0"; category['root']['format'] = "Part_Content_001"; category['root']['directory'] = "root"; category['works'] = Array(); category['works']['title'] = "top/施工例"; category['works']['description'] = ""; category['works']['type'] = "ground"; category['works']['pagenation'] = "1"; category['works']['format'] = "Part_Content_002"; category['works']['directory'] = "root"; category['a-fit'] = Array(); category['a-fit']['title'] = "top/A-FIT"; category['a-fit']['description'] = ""; category['a-fit']['type'] = "ground"; category['a-fit']['pagenation'] = "2"; category['a-fit']['format'] = "Part_Content_003"; category['a-fit']['directory'] = "root"; category['modelhouse-estate'] = Array(); category['modelhouse-estate']['title'] = "top/見学できる家・土地/建売情報"; category['modelhouse-estate']['description'] = ""; category['modelhouse-estate']['type'] = "ground"; category['modelhouse-estate']['pagenation'] = "3"; category['modelhouse-estate']['format'] = "Part_Content_004"; category['modelhouse-estate']['directory'] = "root"; category['info'] = Array(); category['info']['title'] = "top/TOPICS"; category['info']['description'] = ""; category['info']['type'] = "ground"; category['info']['pagenation'] = "4"; category['info']['format'] = "Part_Content_005"; category['info']['directory'] = "root"; category['vision'] = Array(); category['vision']['title'] = "top/私たちの想い"; category['vision']['description'] = ""; category['vision']['type'] = "ground"; category['vision']['pagenation'] = "5"; category['vision']['format'] = "Part_Content_006"; category['vision']['directory'] = "root"; category['vision/'] = Array(); category['vision/']['title'] = "私たちの想い"; category['vision/']['description'] = ""; category['vision/']['type'] = "page"; category['vision/']['pagenation'] = "6"; category['vision/']['format'] = "Part_Content_010"; category['vision/']['directory'] = "vision/"; category['performance/'] = Array(); category['performance/']['title'] = "性能・工法"; category['performance/']['description'] = ""; category['performance/']['type'] = "page"; category['performance/']['pagenation'] = "7"; category['performance/']['format'] = "Part_Content_020"; category['performance/']['directory'] = "performance/"; category['a-fit/design/'] = Array(); category['a-fit/design/']['title'] = "自由設計AFIT - 暮らしのデザイン"; category['a-fit/design/']['description'] = ""; category['a-fit/design/']['type'] = "page"; category['a-fit/design/']['pagenation'] = "8"; category['a-fit/design/']['format'] = "Part_Content_030"; category['a-fit/design/']['directory'] = "a-fit/design/"; category['a-fit/exteriors-interior/'] = Array(); category['a-fit/exteriors-interior/']['title'] = "自由設計AFIT - 外観・内装"; category['a-fit/exteriors-interior/']['description'] = ""; category['a-fit/exteriors-interior/']['type'] = "page"; category['a-fit/exteriors-interior/']['pagenation'] = "9"; category['a-fit/exteriors-interior/']['format'] = "Part_Content_031"; category['a-fit/exteriors-interior/']['directory'] = "a-fit/exteriors-interior/"; category['news/'] = Array(); category['news/']['title'] = "新着情報"; category['news/']['description'] = ""; category['news/']['type'] = "page"; category['news/']['pagenation'] = "10"; category['news/']['format'] = "Part_Content_103"; category['news/']['directory'] = "news/"; category['news/topics/'] = Array(); category['news/topics/']['title'] = "新着情報/お知らせ"; category['news/topics/']['description'] = ""; category['news/topics/']['type'] = "page"; category['news/topics/']['pagenation'] = "11"; category['news/topics/']['format'] = "Part_Content_103"; category['news/topics/']['directory'] = "news/topics/"; category['news/event/'] = Array(); category['news/event/']['title'] = "新着情報/見学できる家"; category['news/event/']['description'] = ""; category['news/event/']['type'] = "page"; category['news/event/']['pagenation'] = "12"; category['news/event/']['format'] = "Part_Content_103"; category['news/event/']['directory'] = "news/event/"; category['modelhouse/'] = Array(); category['modelhouse/']['title'] = "モデルハウス"; category['modelhouse/']['description'] = ""; category['modelhouse/']['type'] = "page"; category['modelhouse/']['pagenation'] = "13"; category['modelhouse/']['format'] = "Part_Content_115"; category['modelhouse/']['directory'] = "modelhouse/"; category['works/'] = Array(); category['works/']['title'] = "施工例"; category['works/']['description'] = ""; category['works/']['type'] = "page"; category['works/']['pagenation'] = "14"; category['works/']['format'] = "Part_Content_111"; category['works/']['directory'] = "works/"; category['works/feature-housework/'] = Array(); category['works/feature-housework/']['title'] = "施工例/こだわり:家事ラク"; category['works/feature-housework/']['description'] = ""; category['works/feature-housework/']['type'] = "page"; category['works/feature-housework/']['pagenation'] = "15"; category['works/feature-housework/']['format'] = "Part_Content_111"; category['works/feature-housework/']['directory'] = "works/feature-housework/"; category['works/feature-storage/'] = Array(); category['works/feature-storage/']['title'] = "施工例/こだわり:収納豊富"; category['works/feature-storage/']['description'] = ""; category['works/feature-storage/']['type'] = "page"; category['works/feature-storage/']['pagenation'] = "16"; category['works/feature-storage/']['format'] = "Part_Content_111"; category['works/feature-storage/']['directory'] = "works/feature-storage/"; category['works/feature-hobby/'] = Array(); category['works/feature-hobby/']['title'] = "施工例/こだわり:趣味・遊び"; category['works/feature-hobby/']['description'] = ""; category['works/feature-hobby/']['type'] = "page"; category['works/feature-hobby/']['pagenation'] = "17"; category['works/feature-hobby/']['format'] = "Part_Content_111"; category['works/feature-hobby/']['directory'] = "works/feature-hobby/"; category['works/feature-performance/'] = Array(); category['works/feature-performance/']['title'] = "施工例/こだわり:高性能"; category['works/feature-performance/']['description'] = ""; category['works/feature-performance/']['type'] = "page"; category['works/feature-performance/']['pagenation'] = "18"; category['works/feature-performance/']['format'] = "Part_Content_111"; category['works/feature-performance/']['directory'] = "works/feature-performance/"; category['works/feature-tree/'] = Array(); category['works/feature-tree/']['title'] = "施工例/こだわり:木の温もり"; category['works/feature-tree/']['description'] = ""; category['works/feature-tree/']['type'] = "page"; category['works/feature-tree/']['pagenation'] = "19"; category['works/feature-tree/']['format'] = "Part_Content_111"; category['works/feature-tree/']['directory'] = "works/feature-tree/"; category['works/feature-stairwell/'] = Array(); category['works/feature-stairwell/']['title'] = "施工例/こだわり:吹抜け"; category['works/feature-stairwell/']['description'] = ""; category['works/feature-stairwell/']['type'] = "page"; category['works/feature-stairwell/']['pagenation'] = "20"; category['works/feature-stairwell/']['format'] = "Part_Content_111"; category['works/feature-stairwell/']['directory'] = "works/feature-stairwell/"; category['works/feature-garagehouse/'] = Array(); category['works/feature-garagehouse/']['title'] = "施工例/こだわり:ガレージハウス"; category['works/feature-garagehouse/']['description'] = ""; category['works/feature-garagehouse/']['type'] = "page"; category['works/feature-garagehouse/']['pagenation'] = "21"; category['works/feature-garagehouse/']['format'] = "Part_Content_111"; category['works/feature-garagehouse/']['directory'] = "works/feature-garagehouse/"; category['estate/'] = Array(); category['estate/']['title'] = "土地・中古物件・建売"; category['estate/']['description'] = ""; category['estate/']['type'] = "page"; category['estate/']['pagenation'] = "22"; category['estate/']['format'] = "Part_Content_113"; category['estate/']['directory'] = "estate/"; category['estate/sapporo/'] = Array(); category['estate/sapporo/']['title'] = "土地・中古物件・建売/札幌"; category['estate/sapporo/']['description'] = ""; category['estate/sapporo/']['type'] = "page"; category['estate/sapporo/']['pagenation'] = "23"; category['estate/sapporo/']['format'] = "Part_Content_113"; category['estate/sapporo/']['directory'] = "estate/sapporo/"; category['estate/ebetsu/'] = Array(); category['estate/ebetsu/']['title'] = "土地・中古物件・建売/江別エリア"; category['estate/ebetsu/']['description'] = ""; category['estate/ebetsu/']['type'] = "page"; category['estate/ebetsu/']['pagenation'] = "24"; category['estate/ebetsu/']['format'] = "Part_Content_113"; category['estate/ebetsu/']['directory'] = "estate/ebetsu/"; category['estate/ishikari/'] = Array(); category['estate/ishikari/']['title'] = "土地・中古物件・建売/石狩エリア"; category['estate/ishikari/']['description'] = ""; category['estate/ishikari/']['type'] = "page"; category['estate/ishikari/']['pagenation'] = "25"; category['estate/ishikari/']['format'] = "Part_Content_113"; category['estate/ishikari/']['directory'] = "estate/ishikari/"; category['estate/other/'] = Array(); category['estate/other/']['title'] = "土地・中古物件・建売/その他エリア"; category['estate/other/']['description'] = ""; category['estate/other/']['type'] = "page"; category['estate/other/']['pagenation'] = "26"; category['estate/other/']['format'] = "Part_Content_113"; category['estate/other/']['directory'] = "estate/other/"; category['company/'] = Array(); category['company/']['title'] = "会社概要"; category['company/']['description'] = ""; category['company/']['type'] = "page"; category['company/']['pagenation'] = "27"; category['company/']['format'] = "Part_Content_116"; category['company/']['directory'] = "company/"; category['company/message/'] = Array(); category['company/message/']['title'] = "Message"; category['company/message/']['description'] = ""; category['company/message/']['type'] = "page"; category['company/message/']['pagenation'] = "28"; category['company/message/']['format'] = "Part_Content_116"; category['company/message/']['directory'] = "company/message/"; category['company/recruit/'] = Array(); category['company/recruit/']['title'] = "Recruit"; category['company/recruit/']['description'] = ""; category['company/recruit/']['type'] = "page"; category['company/recruit/']['pagenation'] = "29"; category['company/recruit/']['format'] = "Part_Content_116"; category['company/recruit/']['directory'] = "company/recruit/"; category['company/privacy/'] = Array(); category['company/privacy/']['title'] = "Privacy Policy"; category['company/privacy/']['description'] = ""; category['company/privacy/']['type'] = "page"; category['company/privacy/']['pagenation'] = "30"; category['company/privacy/']['format'] = "Part_Content_116"; category['company/privacy/']['directory'] = "company/privacy/"; category['contact/'] = Array(); category['contact/']['title'] = "お問い合わせ"; category['contact/']['description'] = ""; category['contact/']['type'] = "page"; category['contact/']['pagenation'] = "31"; category['contact/']['format'] = "Part_Content_117"; category['contact/']['directory'] = "contact/"; category['request/'] = Array(); category['request/']['title'] = "資料請求"; category['request/']['description'] = ""; category['request/']['type'] = "page"; category['request/']['pagenation'] = "32"; category['request/']['format'] = "Part_Content_118"; category['request/']['directory'] = "request/"; category['reservation/'] = Array(); category['reservation/']['title'] = "来場予約"; category['reservation/']['description'] = ""; category['reservation/']['type'] = "page"; category['reservation/']['pagenation'] = "33"; category['reservation/']['format'] = "Part_Content_119"; category['reservation/']['directory'] = "reservation/"; category['consultation/'] = Array(); category['consultation/']['title'] = "売却相談"; category['consultation/']['description'] = ""; category['consultation/']['type'] = "page"; category['consultation/']['pagenation'] = "34"; category['consultation/']['format'] = "Part_Content_120"; category['consultation/']['directory'] = "consultation/"; function htmlEncode(value){ return $('
').text(value).html(); } function htmlDecode(value){ return $('').html(value).text(); } var href = ""; var past_href = location.href; var past_directory = $("body").attr("data-directory"); var past_index_num = $("body").attr("data-index_num"); var past_archive_year_dir = $("body").attr("data-archive_year_dir"); var past_modal_content_type = ""; var memo_scroll = 0; var id = past_href.replace( "https://i-llhome.jp/", "" ).replace( "?mode=preview", "" ); var option = ""; class_active(past_directory); function PJAX_pjax( href, option, target ) { console.log(option); var scroll_id = href.replace( "https://i-llhome.jp/", "" ).replace( "?mode=preview", "" ); if( scroll_id == "" ){ scroll_id = "root"; } PJAX_scroll_ground( scroll_id, option ); if( href && past_href != href && href.indexOf( "#" ) == -1 ){ scroll_action_flag = false; if( typeof scroll_action_limiter != "undefined" ){ clearTimeout( scroll_action_limiter ); } id = href.replace( "https://i-llhome.jp/", "" ).replace( "?mode=preview", "" ); if( typeof entry[id] != "undefined" ){ id = entry[id]; href = href.replace( id, entry[id] ); } past_href = href; // console.log("──── pjax ────"); // console.log("href: " + href); // console.log("id: " + id); // console.log("option: " + option); // console.log("target: " + target); var data_directory = ""; if( typeof $("body").attr("data-directory") !== 'undefined' && $("body").attr("data-directory") !== false ){ var data_directory = String($("body").attr("data-directory")); } var data_archive_year_dir = ""; if( typeof $("body").attr("data-archive_year_dir") !== 'undefined' && $("body").attr("data-archive_year_dir") !== false ){ var data_archive_year_dir = String($("body").attr("data-archive_year_dir")); } var data_index_num = ""; if( typeof $("body").attr("data-index_num") !== 'undefined' && $("body").attr("data-index_num") !== false ){ var data_index_num = String($("body").attr("data-index_num")); } if( option != "by_scroll" && typeof category[scroll_id] != "undefined" && category[scroll_id]['type'] != "modal" && category[scroll_id]['directory'] == data_directory && data_archive_year_dir+data_index_num == "" ){ }else if( option != "by_onpop" && option != "by_scroll" && option != "by_load_more" ){ $("body").append('