$(function() { /*================================================================ 情報 ================================================================*/ var allList = [ { id: "1689", life: "49.8", url:"index.php?act=staff&id=1689", img:"user_data/10799.jpg", nen:"平成26年式", soukou:"80232", title:"【レ単楽】ミツビシekワゴンM2698", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1695", life: "39.8", url:"index.php?act=staff&id=1695", img:"user_data/10858.jpg", nen:"平成25年式", soukou:"64574", title:"【あ単レ】ホンダライフG黒2693", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1697", life: "49.8", url:"index.php?act=staff&id=1697", img:"user_data/11068.jpg", nen:"平成28年式", soukou:"94777", title:"【レ単楽】ミツビシekワゴンE2694", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1698", life: "39.8", url:"index.php?act=staff&id=1698", img:"user_data/10822.jpg", nen:"平成24年式", soukou:"58947", title:"【あ単じ】ニッサン モコ S黒2710", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1700", life: "49.8", url:"index.php?act=staff&id=1700", img:"user_data/11142.jpg", nen:"平成25年式", soukou:"98131", title:"【あ単じ】マツダフレアワゴンXS黒2707", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1703", life: "39.8", url:"index.php?act=staff&id=1703", img:"user_data/11067.jpg", nen:"平成26年式", soukou:"99861", title:"【レ単楽】ミツビシekワゴンM銀2697", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1708", life: "29.8", url:"index.php?act=staff&id=1708", img:"user_data/10803.jpg", nen:"平成23年式", soukou:"53245", title:"【あ単レ】ホンダライフG黒2696", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1711", life: "29.8", url:"index.php?act=staff&id=1711", img:"user_data/10905.jpg", nen:"平成23年式", soukou:"73549", title:"【あ単楽】スズキパレットL銀2704", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1718", life: "29.8", url:"index.php?act=staff&id=1718", img:"user_data/10911.jpg", nen:"平成28年式", soukou:"101859", title:"【あ喫じ】スズキワゴンR FX銀2759", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1721", life: "39.8", url:"index.php?act=staff&id=1721", img:"user_data/10823.jpg", nen:"平成24年式", soukou:"81153", title:"【あ喫じ】マツダAZワゴンXS LTD紫2736", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1722", life: "39.8", url:"index.php?act=staff&id=1722", img:"user_data/10821.jpg", nen:"平成24年式", soukou:"74103", title:"【あ単じ】ニッサン モコ X黒2754", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1723", life: "29.8", url:"index.php?act=staff&id=1723", img:"user_data/11022.jpg", nen:"平成25年式", soukou:"90924", title:"【あ喫じ】スズキワゴンR FX銀2733", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1728", life: "29.8", url:"index.php?act=staff&id=1728", img:"user_data/10811.jpg", nen:"平成25年式", soukou:"104362", title:"【レ単楽】ミツビシekワゴンG白2751", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1729", life: "39.8", url:"index.php?act=staff&id=1729", img:"user_data/11105.jpg", nen:"平成27年式", soukou:"97272", title:"【レ単楽】ミツビシekワゴンM eアシスト紺2726", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1736", life: "49.8", url:"index.php?act=staff&id=1736", img:"user_data/10796.jpg", nen:"平成25年式", soukou:"39517", title:"【レ単じ】ホンダN-ONE G・Lパッケージ白2725", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1737", life: "49.8", url:"index.php?act=staff&id=1737", img:"user_data/10900.jpg", nen:"平成25年式", soukou:"88318", title:"【レ単じ】ホンダN-ONE G赤2735", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1740", life: "39.8", url:"index.php?act=staff&id=1740", img:"user_data/10853.jpg", nen:"平成25年式", soukou:"106275", title:"【レ単じ】ホンダN-ONE プレミアム紺2738", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1741", life: "49.8", url:"index.php?act=staff&id=1741", img:"user_data/11023.jpg", nen:"平成30年式", soukou:"109009", title:"【レ単じ】ニッサンデイズ銀2739【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1747", life: "39.8", url:"index.php?act=staff&id=1747", img:"user_data/10863.jpg", nen:"平成23年式", soukou:"36763", title:"【あ単じ】スズキMRワゴンGピンク2794", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1757", life: "29.8", url:"index.php?act=staff&id=1757", img:"user_data/10955.jpg", nen:"平成25年式", soukou:"103152", title:"【レ単じ】ホンダN-ONE Gピンク2825", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1760", life: "39.8", url:"index.php?act=staff&id=1760", img:"user_data/11715.jpg", nen:"平成25年式", soukou:"66351", title:"【あ単じ】ニッサンモコS茶2797", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1761", life: "49.8", url:"index.php?act=staff&id=1761", img:"user_data/11028.jpg", nen:"平成26年式", soukou:"87200", title:"【あ単楽】スズキラパンG茶2878", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1762", life: "29.8", url:"index.php?act=staff&id=1762", img:"user_data/10842.jpg", nen:"平成23年式", soukou:"91266", title:"【あ単レ】ダイハツミライースX黒2813", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1763", life: "39.8", url:"index.php?act=staff&id=1763", img:"user_data/11110.jpg", nen:"平成24年式", soukou:"74949", title:"【あ単じ】ニッサンモコXピンク2807", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1764", life: "39.8", url:"index.php?act=staff&id=1764", img:"user_data/10906.jpg", nen:"平成29年式", soukou:"111775", title:"【あ喫レ】アルトL レーダーブレーキサポート茶2796", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1765", life: "39.8", url:"index.php?act=staff&id=1765", img:"user_data/11026.jpg", nen:"平成25年式", soukou:"94369", title:"【レ単楽】ミツビシEKワゴンM銀2829", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1767", life: "49.8", url:"index.php?act=staff&id=1767", img:"user_data/10832.jpg", nen:"平成24年式", soukou:"81063", title:"【あ単楽】スズキパレットSW XS紫2804", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1773", life: "29.8", url:"index.php?act=staff&id=1773", img:"user_data/11107.jpg", nen:"平成25年式", soukou:"110480", title:"【あ単じ】スズキMRワゴンG青2798", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1774", life: "39.8", url:"index.php?act=staff&id=1774", img:"user_data/10886.jpg", nen:"平成24年式", soukou:"84071", title:"【あ単レ】ダイハツミライースGローズ2812", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1778", life: "29.8", url:"index.php?act=staff&id=1778", img:"user_data/11027.jpg", nen:"平成24年式", soukou:"95416", title:"【あ単レ】ダイハツミライースL白2854", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1779", life: "29.8", url:"index.php?act=staff&id=1779", img:"user_data/10883.jpg", nen:"平成21年式", soukou:"105396", title:"【あ単楽】ラパンX ブルーツートン2862", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1781", life: "39.8", url:"index.php?act=staff&id=1781", img:"user_data/11113.jpg", nen:"平成20年式", soukou:"90471", title:"【あ単レ】タントカスタムX LTD銀2856【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1782", life: "29.8", url:"index.php?act=staff&id=1782", img:"user_data/10860.jpg", nen:"平成23年式", soukou:"102990", title:"【あ単レ】ダイハツタントX スペシャル銀2848", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1783", life: "29.8", url:"index.php?act=staff&id=1783", img:"user_data/11109.jpg", nen:"平成23年式", soukou:"108311", title:"【あ単じ】ニッサンモコX赤2880", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1784", life: "29.8", url:"index.php?act=staff&id=1784", img:"user_data/11102.jpg", nen:"平成22年式", soukou:"96192", title:"【あ単楽】ムーブコンテL ブルー2830【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1785", life: "29.8", url:"index.php?act=staff&id=1785", img:"user_data/10938.jpg", nen:"平成24年式", soukou:"97091", title:"【あ喫じ】スズキワゴンR FX銀2828", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1786", life: "39.8", url:"index.php?act=staff&id=1786", img:"user_data/10816.jpg", nen:"平成26年式", soukou:"72331", title:"【あ単レ】ダイハツミラD白2846", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1787", life: "29.8", url:"index.php?act=staff&id=1787", img:"user_data/11112.jpg", nen:"平成21年式", soukou:"80156", title:"【あ喫じ】ワゴンRスティングレ-Tグレー2851", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1788", life: "39.8", url:"index.php?act=staff&id=1788", img:"user_data/10844.jpg", nen:"平成25年式", soukou:"69626", title:"【あ単レ】ダイハツミライースL銀2826", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1789", life: "39.8", url:"index.php?act=staff&id=1789", img:"user_data/11192.jpg", nen:"平成25年式", soukou:"59196", title:"【あ喫じ】ワゴンR FX LTDピンク2827", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1797", life: "29.8", url:"index.php?act=staff&id=1797", img:"user_data/11053.jpg", nen:"平成24年式", soukou:"79148", title:"【あ単楽】スズキパレットX白2894", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1798", life: "39.8", url:"index.php?act=staff&id=1798", img:"user_data/10862.jpg", nen:"平成24年式", soukou:"100959", title:"【あ単楽】パレットSW リミテッド黒2824", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1799", life: "39.8", url:"index.php?act=staff&id=1799", img:"user_data/10962.jpg", nen:"平成26年式", soukou:"76224", title:"【あ喫じ】スズキワゴンR FXピンク2872", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1804", life: "29.8", url:"index.php?act=staff&id=1804", img:"user_data/10827.jpg", nen:"平成22年式", soukou:"81565", title:"【あ単レ】ダイハツタントエグゼX紺2860", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1806", life: "39.8", url:"index.php?act=staff&id=1806", img:"user_data/10892.jpg", nen:"平成23年式", soukou:"99664", title:"【あ単楽】スズキパレットSW TS黒2879", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1811", life: "49.8", url:"index.php?act=staff&id=1811", img:"user_data/11111.jpg", nen:"平成28年式", soukou:"112394", title:"【レ単レ】ダイハツムーブX赤2844【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1812", life: "39.8", url:"index.php?act=staff&id=1812", img:"user_data/11097.jpg", nen:"平成22年式", soukou:"83213", title:"【あ単レ】ダイハツタントX銀2887", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1813", life: "49.8", url:"index.php?act=staff&id=1813", img:"user_data/11098.jpg", nen:"平成24年式", soukou:"71666", title:"【あ単楽】スズキラパンG茶2891", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1816", life: "29.8", url:"index.php?act=staff&id=1816", img:"user_data/10912.jpg", nen:"平成24年式", soukou:"90397", title:"【あ単楽】トヨタピクシススペースX銀2910", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1819", life: "29.8", url:"index.php?act=staff&id=1819", img:"user_data/11020.jpg", nen:"平成21年式", soukou:"78449", title:"【あ単楽】スズキパレットL白2911", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1820", life: "39.8", url:"index.php?act=staff&id=1820", img:"user_data/11099.jpg", nen:"平成24年式", soukou:"58189", title:"【あ単レ】ミライースXピンク2888", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1821", life: "29.8", url:"index.php?act=staff&id=1821", img:"user_data/11101.jpg", nen:"平成23年式", soukou:"97334", title:"【あ単じ】ニッサンモコS茶2903", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1822", life: "39.8", url:"index.php?act=staff&id=1822", img:"user_data/10897.jpg", nen:"平成24年式", soukou:"82048", title:"【あ喫レ】スバルステラL黒2921", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1823", life: "29.8", url:"index.php?act=staff&id=1823", img:"user_data/10914.jpg", nen:"平成26年式", soukou:"95595", title:"【あ単じ】ニッサンモコS青2901", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1824", life: "29.8", url:"index.php?act=staff&id=1824", img:"user_data/10924.jpg", nen:"平成26年式", soukou:"93418", title:"【あ単じ】ニッサンモコX茶2885", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1826", life: "29.8", url:"index.php?act=staff&id=1826", img:"user_data/10936.jpg", nen:"平成23年式", soukou:"92505", title:"【あ単楽】ダイハツムーブコンテL水色2908", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1828", life: "29.8", url:"index.php?act=staff&id=1828", img:"user_data/10963.jpg", nen:"平成26年式", soukou:"91294", title:"【あ喫じ】スズキアルトecoS白2907", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1829", life: "39.8", url:"index.php?act=staff&id=1829", img:"user_data/11061.jpg", nen:"平成22年式", soukou:"86695", title:"【あ単楽】スズキラパンX茶2897", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1830", life: "39.8", url:"index.php?act=staff&id=1830", img:"user_data/10928.jpg", nen:"平成24年式", soukou:"90411", title:"【あ単レ】ダイハツミラココアX茶2923", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1832", life: "29.8", url:"index.php?act=staff&id=1832", img:"user_data/11106.jpg", nen:"平成23年式", soukou:"89977", title:"【あ単じ】スズキMRワゴンGグリーン2922", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1834", life: "29.8", url:"index.php?act=staff&id=1834", img:"user_data/10994.jpg", nen:"平成24年式", soukou:"98150", title:"【あ単じ】ニッサンモコX茶2934", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1835", life: "29.8", url:"index.php?act=staff&id=1835", img:"user_data/13194.jpg", nen:"平成24年", soukou:"103823", title:"【あ単楽】ダイハツムーブコンテX水色2898", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1836", life: "39.8", url:"index.php?act=staff&id=1836", img:"user_data/10812.jpg", nen:"平成23年式", soukou:"62027", title:"【あ単じ】ニッサンモコX黒2928", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1838", life: "29.8", url:"index.php?act=staff&id=1838", img:"user_data/11056.jpg", nen:"平成24年", soukou:"76171", title:"【あ単レ】ダイハツミライースGピンク2915", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1841", life: "29.8", url:"index.php?act=staff&id=1841", img:"user_data/11024.jpg", nen:"平成22年", soukou:"96945", title:"【あ単レ】ルークスハイウェイスター黒2895", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1842", life: "29.8", url:"index.php?act=staff&id=1842", img:"user_data/10927.jpg", nen:"平成26年", soukou:"100367", title:"【あ単じ】ニッサンモコX黒2927", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1843", life: "29.8", url:"index.php?act=staff&id=1843", img:"user_data/10947.jpg", nen:"平成23年", soukou:"97973", title:"【あ単レ】ダイハツミライースG水色2902", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1844", life: "39.8", url:"index.php?act=staff&id=1844", img:"user_data/11116.jpg", nen:"平成25年", soukou:"102119", title:"【あ単レ】ダイハツタントXピンク2896", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1845", life: "49.8", url:"index.php?act=staff&id=1845", img:"user_data/10915.jpg", nen:"平成24年", soukou:"112071", title:"【レ単じ】ホンダN-BOX G・Lパッケージ白2929", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1846", life: "29.8", url:"index.php?act=staff&id=1846", img:"user_data/10819.jpg", nen:"平成22年", soukou:"87436", title:"【あ単レ】ニッサンルークスハイウェイスター紫2932", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1847", life: "39.8", url:"index.php?act=staff&id=1847", img:"user_data/11143.jpg", nen:"平成25年", soukou:"74890", title:"【レ単楽】ミツビシekワゴンGピンク2937", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1848", life: "29.8", url:"index.php?act=staff&id=1848", img:"user_data/10732.jpg", nen:"平成23年", soukou:"82846", title:"【あ単楽】スズキパレットXピンク2933", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1850", life: "29.8", url:"index.php?act=staff&id=1850", img:"user_data/10901.jpg", nen:"平成25年式", soukou:"101910", title:"【あ単楽】スズキラパンG ベージュ3138", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1852", life: "39.8", url:"index.php?act=staff&id=1852", img:"user_data/11118.jpg", nen:"平成26年式", soukou:"81266", title:"【あ喫じ】スズキワゴンR FXピンク2961", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1855", life: "58.8", url:"index.php?act=staff&id=1855", img:"user_data/10940.jpg", nen:"平成26年式", soukou:"104318", title:"【レ単楽】ミツビシekスペースカスタムG黒2916", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1857", life: "39.8", url:"index.php?act=staff&id=1857", img:"user_data/10851.jpg", nen:"平成26年式", soukou:"59646", title:"【あ単楽】ピクシススペースXワイン2919", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1861", life: "29.8", url:"index.php?act=staff&id=1861", img:"user_data/10907.jpg", nen:"平成25年式", soukou:"112158", title:"【あ単じ】ニッサンモコX ドルチェ黒2930", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1865", life: "54.8", url:"index.php?act=staff&id=1865", img:"user_data/10932.jpg", nen:"平成27年式", soukou:"110038", title:"【レ単楽】ホンダN-WGN G・Aパッケージ白2939", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1867", life: "49.8", url:"index.php?act=staff&id=1867", img:"user_data/10953.jpg", nen:"平成24年式", soukou:"65685", title:"【あ単じ】ニッサンモコX茶2917", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1868", life: "68.8", url:"index.php?act=staff&id=1868", img:"user_data/10840.jpg", nen:"平成27年式", soukou:"101272", title:"【カ単喫】ホンダN-BOX Gピンク2920", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1872", life: "29.8", url:"index.php?act=staff&id=1872", img:"user_data/11156.jpg", nen:"平成25年式", soukou:"100829", title:"【あ単楽】ラパンXセレクション茶2925", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1873", life: "39.8", url:"index.php?act=staff&id=1873", img:"user_data/10921.jpg", nen:"平成22年式", soukou:"54751", title:"【あ単楽】ラパンXベージュ2955", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1875", life: "29.8", url:"index.php?act=staff&id=1875", img:"user_data/10959.jpg", nen:"平成23年式", soukou:"97091", title:"【あ単じ】スズキMRワゴン10thアニバLTD黒2943", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1876", life: "39.8", url:"index.php?act=staff&id=1876", img:"user_data/10943.jpg", nen:"平成24年式", soukou:"73537", title:"【あ単じ】MRワゴン10thアニバLTD白2941", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1890", life: "29.8", url:"index.php?act=staff&id=1890", img:"user_data/10926.jpg", nen:"平成21年式", soukou:"68767", title:"【あ単楽】ムーブコンテL グレー2881", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1891", life: "49.8", url:"index.php?act=staff&id=1891", img:"user_data/10850.jpg", nen:"平成26年式", soukou:"60180", title:"【あ単じ】MRワゴンWit Lsグリーン2892【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1999", life: "69.8", url:"index.php?act=staff&id=1999", img:"user_data/11154.jpg", nen:"平成30年式", soukou:"107335", title:"【一日車検】ダイハツハイゼットカーゴ銀599", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "2001", life: "69.8", url:"index.php?act=staff&id=2001", img:"user_data/11163.jpg", nen:"平成29年式", soukou:"143280", title:"【あ単レ】トヨタサクシードUL337", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1636", life: "29.8", url:"index.php?act=staff&id=1636", img:"user_data/10655.jpg", nen:"平成24年式", soukou:"90383", title:"【あ単楽】スズキパレット銀2512", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1535", life: "29.8", url:"index.php?act=staff&id=1535", img:"user_data/10028.jpg", nen:"平成24年式", soukou:"10199", title:"【あ単じ】ニッサンモコSグリーン2543", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1512", life: "39.8", url:"index.php?act=staff&id=1512", img:"user_data/10011.jpg", nen:"平成28年式", soukou:"105912", title:"2⃣ホンダN-ONE G 白2554【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1508", life: "34.8", url:"index.php?act=staff&id=1508", img:"user_data/10010.jpg", nen:"平成28年式", soukou:"100262", title:"【レ単じ】ニッサンデイズX銀2547【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1507", life: "29.8", url:"index.php?act=staff&id=1507", img:"user_data/10006.jpg", nen:"平成25年式", soukou:"103379", title:"【あ単楽】スズキラパンG水色2359", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1506", life: "29.8", url:"index.php?act=staff&id=1506", img:"user_data/10005.jpg", nen:"平成25年式", soukou:"111241", title:"【あ単レ】ミラココアXスペシャルコーデ白2447", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1502", life: "29.8", url:"index.php?act=staff&id=1502", img:"user_data/10001.jpg", nen:"平成27年式", soukou:"94912", title:"【あ単レ】ミライース白2357LスマートセレクションSA", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1501", life: "29.8", url:"index.php?act=staff&id=1501", img:"user_data/10000.jpg", nen:"平成27年式", soukou:"112899", title:"【あ喫レ】スズキアルトL茶2358", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1500", life: "29.8", url:"index.php?act=staff&id=1500", img:"user_data/9999.jpg", nen:"平成24年式", soukou:"84905", title:"【あ単レ】ダイハツミライースX銀2492【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1497", life: "39.8", url:"index.php?act=staff&id=1497", img:"user_data/9684.jpg", nen:"平成22年式", soukou:"56614", title:"【あ単レ】スバルルクラLピンク2528", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1496", life: "29.8", url:"index.php?act=staff&id=1496", img:"user_data/9692.jpg", nen:"平成22年式", soukou:"88727", title:"【あ単レ】ダイハツ タントX 黒2556", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1488", life: "29.8", url:"index.php?act=staff&id=1488", img:"user_data/9687.jpg", nen:"平成22年式", soukou:"96230", title:"【あ単楽】スズキパレットX白2580", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1486", life: "29.8", url:"index.php?act=staff&id=1486", img:"user_data/9672.jpg", nen:"平成24年式", soukou:"74979", title:"【あ単楽】ムーブコンテL 黒2586ダイハツ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1485", life: "39.8", url:"index.php?act=staff&id=1485", img:"user_data/9678.jpg", nen:"平成24年式", soukou:"76996", title:"【あ単じ】ニッサンモコXピンク2375", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1483", life: "49.8", url:"index.php?act=staff&id=1483", img:"user_data/9682.jpg", nen:"平成24年式", soukou:"33533", title:"【あ単じ】スズキMRワゴンG黒2527", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1482", life: "29.8", url:"index.php?act=staff&id=1482", img:"user_data/9685.jpg", nen:"平成24年式", soukou:"93926", title:"【あ単楽】ダイハツムーブコンテL白2497", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1479", life: "39.8", url:"index.php?act=staff&id=1479", img:"user_data/9670.jpg", nen:"平成24年式", soukou:"78230", title:"【あ単じ】スズキMRワゴン10th LTD2533", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1478", life: "29.8", url:"index.php?act=staff&id=1478", img:"user_data/9677.jpg", nen:"平成24年式", soukou:"100826", title:"【あ単レ】ダイハツミラココアプラスX黒2450", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1477", life: "39.8", url:"index.php?act=staff&id=1477", img:"user_data/9668.jpg", nen:"平成24年式", soukou:"86472", title:"【あ単じ】ニッサンモコS赤2562", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1476", life: "39.8", url:"index.php?act=staff&id=1476", img:"user_data/9671.jpg", nen:"平成24年式", soukou:"83624", title:"【あ単じ】ニッサンモコX茶2503", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1475", life: "29.8", url:"index.php?act=staff&id=1475", img:"user_data/9675.jpg", nen:"平成23年式", soukou:"109809", title:"【あ単楽】スズキラパンリミテッドピンク2367", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1470", life: "49.8", url:"index.php?act=staff&id=1470", img:"user_data/9664.jpg", nen:"平成24年式", soukou:"96976", title:"【あ単レ】ダイハツミラココアXピンク2508", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1466", life: "49.8", url:"index.php?act=staff&id=1466", img:"user_data/9660.jpg", nen:"平成24年式", soukou:"45406", title:"【あ単楽】トヨタピクシススペースX黒2782", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1458", life: "39.8", url:"index.php?act=staff&id=1458", img:"user_data/9653.jpg", nen:"平成24年式", soukou:"75430", title:"【あ単じ】スズキMRワゴンG白2399", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1456", life: "29.8", url:"index.php?act=staff&id=1456", img:"user_data/9655.jpg", nen:"平成24年式", soukou:"100763", title:"【あ単じ】ニッサンモコSアイドリングストップ2391", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1455", life: "29.8", url:"index.php?act=staff&id=1455", img:"user_data/9654.jpg", nen:"平成25年式", soukou:"94891", title:"【あ単じ】ニッサンモコS アロマティックアクア2374", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1448", life: "29.8", url:"index.php?act=staff&id=1448", img:"user_data/9642.jpg", nen:"平成24年式", soukou:"107823", title:"【あ単レ】ダイハツタントエグゼL黒2525", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1446", life: "29.8", url:"index.php?act=staff&id=1446", img:"user_data/9635.jpg", nen:"平成23年式", soukou:"89047", title:"【あ単楽】スズキラパン リミテッド2369", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1445", life: "29.8", url:"index.php?act=staff&id=1445", img:"user_data/9646.jpg", nen:"平成23年式", soukou:"94488", title:"【あ単楽】スズキラパン リミテッド2372", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1441", life: "39.8", url:"index.php?act=staff&id=1441", img:"user_data/9632.jpg", nen:"平成24年式", soukou:"90020", title:"【あ単楽】ダイハツムーブコンテ L白2587", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1440", life: "29.8", url:"index.php?act=staff&id=1440", img:"user_data/9644.jpg", nen:"平成21年式", soukou:"101410", title:"【あ単レ】ダイハツミラココアプラスX2445", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1438", life: "29.8", url:"index.php?act=staff&id=1438", img:"user_data/9649.jpg", nen:"平成25年式", soukou:"96095", title:"【あ単楽】スズキ ラパンG 2370", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1435", life: "29.8", url:"index.php?act=staff&id=1435", img:"user_data/9622.jpg", nen:"平成22年式", soukou:"60189", title:"【あ単レ】スバル ルクラ Lスペシャル銀2526", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1434", life: "39.8", url:"index.php?act=staff&id=1434", img:"user_data/9624.jpg", nen:"平成23年式", soukou:"89619", title:"【あ単じ】スズキMRワゴンG白2376", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1432", life: "29.8", url:"index.php?act=staff&id=1432", img:"user_data/9623.jpg", nen:"平成24年式", soukou:"99416", title:"【あ単じ】ニッサン モコ S茶2393", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1420", life: "39.8", url:"index.php?act=staff&id=1420", img:"user_data/9643.jpg", nen:"平成24年式", soukou:"64949", title:"【あ単楽】トヨタ ピクシススペース 水色2555", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1419", life: "49.8", url:"index.php?act=staff&id=1419", img:"user_data/9650.jpg", nen:"平成26年式", soukou:"58887", title:"【あ単楽】スズキラパンG薄緑2494", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1372", life: "49.8", url:"index.php?act=staff&id=1372", img:"user_data/9574.jpg", nen:"平成28年式", soukou:"95554", title:"【あ喫レ】アルトFレーダーブレーキサポート2384", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1371", life: "49.8", url:"index.php?act=staff&id=1371", img:"user_data/9573.jpg", nen:"平成26年式", soukou:"69960", title:"【レ単楽】ミツビシekワゴンM白2386", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1280", life: "39.8", url:"index.php?act=staff&id=1280", img:"user_data/8760.jpg", nen:"平成26年式", soukou:"91508", title:"【あ喫じ】ワゴンRハイブリッドFZ黒スズキ2113", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1277", life: "39.8", url:"index.php?act=staff&id=1277", img:"user_data/8773.jpg", nen:"平成23年式", soukou:"63126", title:"【あ単レ】ダイハツミラココアコプラスX2077", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1270", life: "29.8", url:"index.php?act=staff&id=1270", img:"user_data/8774.jpg", nen:"平成22年式", soukou:"82310", title:"2⃣スズキワゴンR FX 2392【価格改定】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, ]; /*================================================================ スクリプトはじまり ================================================================*/ function init() { //イベント登録 $(".filter_life select").on("change", onFilterChange); $(".filter_tag input").on("change", onFilterChange); $(".filter_keyword button").on("click", onFilterChange); //最初は全て出力 refleshHtml(allList); } /*================================================================ HTML出力 ================================================================*/ function refleshHtml(list) { var outputHtml = ''; //出力する内容をoutputHtmlに格納 if (list.length > 0) { _.each(list, function(line, i) { outputHtml += '

' + line.title + '

'; outputHtml += '' + line.title + ''; outputHtml += '' + line.new + '' + line.sold + ''; outputHtml += '

価格 ' + line.life + '万円

'; outputHtml += '

年式: ' + line.nen + '

'; outputHtml += '

走行: 約 ' + line.soukou + 'km

'; outputHtml += '
'; }); } else { outputHtml += '

条件に当てはまる車を検索できませんでした。

'; } //HTML出力(フェードインアニメーションつき) $('.productArea').html(outputHtml); $('.productArea .product').css({opacity: 0}).each(function(i){$(this).delay(100 * i).animate({opacity:1}, 300); }); //検索件数表示 $('.productCntArea').html('

' + allList.length + '件中' + list.length + '件を表示しています。

'); } /*================================================================ 絞り込み条件を変更した時 ================================================================*/ function onFilterChange(e) { var filterFncs = []; var result = []; //セレクトボックスの値を引数に指定した関数filterByLifeをfilterFuncs配列に格納 filterFncs.push( function(list) { return filterByLife(list, $('.filter_life select').val()); } ); //チェックボックスの値を引数に指定した関数filterByTagをfilterFuncs配列に格納 filterFncs.push( function(list) { return filterByTag(list, $('.filter_tag input:checked')); } ); //キーワードの値を引数に指定した関数filterByKeywordをfilterFuncs配列に格納 filterFncs.push( function(list) { return filterByKeyword(list, _.escape($('.filter_keyword input').val())); } ); //FilterFuncs配列内の関数をバケツリレーみたいに1つずつ実行して結果をresult配列に格納 result = _.reduce(filterFncs, function(list, fnc) { return fnc(list); }, allList); //絞り込んだ結果を出力 refleshHtml(result); } /*================================================================ 絞り込み[1] セレクトボックス絞り込み関数 ================================================================*/ function filterByLife(list, value) { //絞り込み指定がない場合はリターン if (value == "") { return list; } //選択したセレクトボックスとlifeがマッチするかでフィルタリング return _.filter(list, function(item) { switch (value) { case '1': return item.life <= 10; case '2': return 10 < item.life && item.life <= 20; case '3': return 20 < item.life && item.life <= 30; case '4': return 30 < item.life && item.life <= 40; case '5': return 40 < item.life && item.life <= 50; case '6': return 50 < item.life; } }); } /*================================================================ 絞り込み[2] チェックボックス絞り込み関数 ================================================================*/ function filterByTag(list, value) { //絞り込み指定がない場合はリターン if (value.length == 0) { return list; } //選択した属性(チェックボックス)とtagがマッチするかでフィルタリング return _.filter(list, function(item) { var isMatch = false; //配列同士の比較 _.each(value, function(chkItem, i) { _.each(item.tag, function(tagItem, i) { if (tagItem === $(chkItem).val()) { isMatch = true; } }); }); return isMatch; }); } /*================================================================ 絞り込み[3] テキストボックス絞り込み関数 ================================================================*/ function filterByKeyword(list, value) { //絞り込み指定がない場合はリターン if (value == "") { return list; } //検索キーワードを配列に格納(スペースがある場合は複数格納) var freeAry = [];  var val = value.replace(/ /g, " "); searchAry = val.split(" "); //入力したキーワードがtitleもしくdescriptionにマッチするかでフィルタリング return _.filter(list, function(item) { var isMatch = false; _.each(searchAry, function(data, i) { if (item.title.indexOf(data) != -1 || item.description.indexOf(data) != -1) { isMatch = true; } }); return isMatch; }); } /*================================================================ スクリプトはじめ ================================================================*/ init(); });