$(function() { /*================================================================ 情報 ================================================================*/ var allList = [ { id: "1251", life: "158.8", url:"index.php?act=staff&id=1251", img:"user_data/8710.jpg", nen:"令和2年式", soukou:"2224", title:"タントX CFP紺2319ダイハツ 仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1188", life: "68.8", url:"index.php?act=staff&id=1188", img:"user_data/7740.jpg", nen:"平成28年式", soukou:"46054", title:"ワゴンR FX茶1946スズキ 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1199", life: "68.8", url:"index.php?act=staff&id=1199", img:"user_data/7940.jpg", nen:"平成27年式", soukou:"55859", title:"ムーブL 青1948ダイハツ 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1212", life: "129.8", url:"index.php?act=staff&id=1212", img:"user_data/8232.jpg", nen:"平成30年式", soukou:"14102", title:"スペーシアハイブリッドG スズキ1978 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1226", life: "74.8", url:"index.php?act=staff&id=1226", img:"user_data/8266.jpg", nen:"平成25年式", soukou:"83283", title:"スペーシア T 緑スズキ1977 仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1245", life: "108.8", url:"index.php?act=staff&id=1245", img:"user_data/8682.jpg", nen:"平成30年式", soukou:"34298", title:"ワゴンRハイブリッドFZ青2013スズキ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1257", life: "42.8", url:"index.php?act=staff&id=1257", img:"user_data/8722.jpg", nen:"平成23年式", soukou:"98255", title:"ワゴンR FXリミテッド スズキ仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1259", life: "28.8", url:"index.php?act=staff&id=1259", img:"user_data/8715.jpg", nen:"平成24年式", soukou:"116638", title:"ワゴンR4WD FX スズキ仕入先→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1263", life: "68.8", url:"index.php?act=staff&id=1263", img:"user_data/8721.jpg", nen:"平成26年式", soukou:"76168", title:"ムーブカスタムXSA9655 ダイハツ 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1264", life: "23.8", url:"index.php?act=staff&id=1264", img:"user_data/8718.jpg", nen:"平成22年式", soukou:"44256", title:"ライフGコンフォートセレクト7753 ホンダ 仕入先→沖縄", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1267", life: "49.8", url:"index.php?act=staff&id=1267", img:"user_data/8758.jpg", nen:"平成25年式", soukou:"92798", title:"ワゴンR FX LTD スズキ黒仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1268", life: "43.8", url:"index.php?act=staff&id=1268", img:"user_data/8769.jpg", nen:"平成23年式", soukou:"85366", title:"ライフ ディーバ2078青ホンダ 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1270", life: "38.8", url:"index.php?act=staff&id=1270", img:"user_data/8774.jpg", nen:"平成22年式", soukou:"77789", title:"ワゴンR FXスズキピンク4500仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1277", life: "48.8", url:"index.php?act=staff&id=1277", img:"user_data/8773.jpg", nen:"平成23年式", soukou:"47260", title:"ミラココアココアプラスX2077仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1280", life: "69.8", url:"index.php?act=staff&id=1280", img:"user_data/8760.jpg", nen:"平成26年式", soukou:"81717", title:"ワゴンRハイブリッドFZ黒スズキ2113仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1283", life: "38.8", url:"index.php?act=staff&id=1283", img:"user_data/8761.jpg", nen:"平成25年式", soukou:"80996", title:"アルトECO-Sスズキ2075仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1287", life: "68.8", url:"index.php?act=staff&id=1287", img:"user_data/9005.jpg", nen:"平成26年式", soukou:"52445", title:"ムーブカスタム2112L SA ダイハツ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1292", life: "98.8", url:"index.php?act=staff&id=1292", img:"user_data/9045.jpg", nen:"平成27年式", soukou:"69888", title:"N-WGNカスタムGLパッケージ青4491仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1294", life: "108.8", url:"index.php?act=staff&id=1294", img:"user_data/9062.jpg", nen:"平成27年式", soukou:"59081", title:"N-BOXスラッシュGLパッケージ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1297", life: "68.8", url:"index.php?act=staff&id=1297", img:"user_data/9099.jpg", nen:"平成27年式", soukou:"49985", title:"デイズX/エマージェンシーブレーキレス 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1306", life: "108.8", url:"index.php?act=staff&id=1306", img:"user_data/9148.jpg", nen:"平成29年式", soukou:"23291", title:"タント銀2141Xダイハツ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1359", life: "138.8", url:"index.php?act=staff&id=1359", img:"user_data/9428.jpg", nen:"令和3年式", soukou:"5", title:"【新車】ミツビシEKワゴンM白2140 ディーラー仕入", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1366", life: "63.8", url:"index.php?act=staff&id=1366", img:"user_data/9537.jpg", nen:"令和1年式", soukou:"19849", title:"スズキアルトL クロ 仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1371", life: "48.8", url:"index.php?act=staff&id=1371", img:"user_data/9573.jpg", nen:"平成26年式", soukou:"55080", title:"EKワゴンM ミツビシ 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1372", life: "52.8", url:"index.php?act=staff&id=1372", img:"user_data/9574.jpg", nen:"平成28年式", soukou:"81547", title:"アルトFレーダーブレーキサポート 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1373", life: "43.8", url:"index.php?act=staff&id=1373", img:"user_data/9572.jpg", nen:"平成26年式", soukou:"56593", title:"EKワゴンM ミツビシ 仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1386", life: "148.8", url:"index.php?act=staff&id=1386", img:"user_data/9584.jpg", nen:"令和3年", soukou:"5", title:"【新車】ミツビシeKワゴン2174 ディーラー仕入", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1387", life: "98.8", url:"index.php?act=staff&id=1387", img:"user_data/9585.jpg", nen:"平成26年式", soukou:"58523", title:"スペーシアカスタム黒XSレーダーブレーキ5170仕入先→沖縄", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1389", life: "42.8", url:"index.php?act=staff&id=1389", img:"user_data/9589.jpg", nen:"平成23年式", soukou:"93123", title:"スズキワゴンRスティングレー 仕入先→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1409", life: "42.8", url:"index.php?act=staff&id=1409", img:"user_data/9605.jpg", nen:"平成23年式", soukou:"84374", title:"ニッサンモコ X ホワイト 仕入先→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1414", life: "45.8", url:"index.php?act=staff&id=1414", img:"user_data/9610.jpg", nen:"平成22年式", soukou:"89307", title:"ダイハツ タントエグゼ カスタムX 仕入→岡山", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1415", life: "49.8", url:"index.php?act=staff&id=1415", img:"user_data/9611.jpg", nen:"平成23年式", soukou:"89293", title:"ダイハツ ムーブコンテ Xベージュ5894仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1417", life: "49.8", url:"index.php?act=staff&id=1417", img:"user_data/9613.jpg", nen:"平成22年式", soukou:"31554", title:"ルクラ L 白スバル仕入先→愛媛", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1419", life: "64.8", url:"index.php?act=staff&id=1419", img:"user_data/9650.jpg", nen:"平成26年式", soukou:"49130", title:"スズキアルトラパン G緑仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1420", life: "48.8", url:"index.php?act=staff&id=1420", img:"user_data/9643.jpg", nen:"平成24年式", soukou:"64949", title:"トヨタ ピクシススペース ブルー 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1421", life: "55.8", url:"index.php?act=staff&id=1421", img:"user_data/9634.jpg", nen:"平成25年式", soukou:"60960", title:"ニッサンデイズ X銀5983仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1425", life: "49.8", url:"index.php?act=staff&id=1425", img:"user_data/9637.jpg", nen:"平成23年式", soukou:"84625", title:"スズキMRワゴン G グリーン5978仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1430", life: "42.8", url:"index.php?act=staff&id=1430", img:"user_data/9621.jpg", nen:"平成23年式", soukou:"70463", title:"スズキ パレット Lターコイズ仕入→愛知", sold:"", new:"", tag: ["新着","","","AT","売り切れ"], description: "tesut" }, { id: "1432", life: "48.8", url:"index.php?act=staff&id=1432", img:"user_data/9623.jpg", nen:"平成24年式", soukou:"86955", title:"ニッサン モコ S アイドリングストップ茶仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1433", life: "38.8", url:"index.php?act=staff&id=1433", img:"user_data/9639.jpg", nen:"平成22年式", soukou:"74851", title:"スズキ アルトラパン G ホワイト 仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1434", life: "42.8", url:"index.php?act=staff&id=1434", img:"user_data/9624.jpg", nen:"平成23年式", soukou:"72846", title:"スズキMRワゴン G白5930仕入→千葉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1435", life: "42.8", url:"index.php?act=staff&id=1435", img:"user_data/9622.jpg", nen:"平成22年式", soukou:"51685", title:"スバル ルクラ Lスペシャル銀仕入→三重", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1436", life: "55.8", url:"index.php?act=staff&id=1436", img:"user_data/9614.jpg", nen:"平成24年式", soukou:"99491", title:"スズキMRワゴン ブルー 仕入→沖縄", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1437", life: "38.8", url:"index.php?act=staff&id=1437", img:"user_data/9615.jpg", nen:"平成21年式", soukou:"97688", title:"ダイハツ タント青826仕入→沖縄", sold:"", new:"", tag: ["新着","","","AT","売り切れ"], description: "tesut" }, { id: "1438", life: "55.8", url:"index.php?act=staff&id=1438", img:"user_data/9649.jpg", nen:"平成25年式", soukou:"76841", title:"スズキ ラパンG 5931 仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1439", life: "38.8", url:"index.php?act=staff&id=1439", img:"user_data/9625.jpg", nen:"平成22年式", soukou:"88310", title:"ダイハツタントエグゼ シルバー 仕入先→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1440", life: "53.8", url:"index.php?act=staff&id=1440", img:"user_data/9644.jpg", nen:"平成21年式", soukou:"101410", title:"ダイハツミラココアプラスX5980 仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1441", life: "49.8", url:"index.php?act=staff&id=1441", img:"user_data/9632.jpg", nen:"平成24年式", soukou:"82456", title:"ダイハツムーブコンテ L ホワイト 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1442", life: "49.8", url:"index.php?act=staff&id=1442", img:"user_data/9641.jpg", nen:"平成24年式", soukou:"73212", title:"スズキMRワゴンECO-X5985仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1443", life: "49.8", url:"index.php?act=staff&id=1443", img:"user_data/9645.jpg", nen:"平成22年式", soukou:"39712", title:"ダイハツミラココア X ブルー 仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1444", life: "42.8", url:"index.php?act=staff&id=1444", img:"user_data/9647.jpg", nen:"平成24年式", soukou:"96330", title:"スズキMRワゴン カシスピンクパール 仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1445", life: "54.8", url:"index.php?act=staff&id=1445", img:"user_data/9646.jpg", nen:"平成23年式", soukou:"77613", title:"スズキアルトラパン リミテッド5981仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1446", life: "52.8", url:"index.php?act=staff&id=1446", img:"user_data/9635.jpg", nen:"平成23年式", soukou:"79662", title:"スズキアルトラパン リミテッド5977仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1447", life: "66.8", url:"index.php?act=staff&id=1447", img:"user_data/9640.jpg", nen:"平成25年式", soukou:"100161", title:"スズキアルトラパン ショコラX 5984仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1448", life: "48.8", url:"index.php?act=staff&id=1448", img:"user_data/9642.jpg", nen:"平成24年式", soukou:"98881", title:"ダイハツ タントエグゼ L ブラック 仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1449", life: "38.8", url:"index.php?act=staff&id=1449", img:"user_data/9629.jpg", nen:"平成22年式", soukou:"109165", title:"ダイハツ タントエグゼ カスタムG ネイビ 仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1452", life: "78.8", url:"index.php?act=staff&id=1452", img:"user_data/9651.jpg", nen:"平成6年式", soukou:"118204", title:"スズキジムニー:型式JA11V 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","MT","",""], description: "tesut" }, { id: "1455", life: "52.8", url:"index.php?act=staff&id=1455", img:"user_data/9654.jpg", nen:"平成25年式", soukou:"78913", title:"ニッサンモコS アロマティックアクア6064仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1456", life: "48.8", url:"index.php?act=staff&id=1456", img:"user_data/9655.jpg", nen:"平成24年式", soukou:"85430", title:"ニッサンモコSアイドリングストップ アロマティックアクア 仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1457", life: "42.8", url:"index.php?act=staff&id=1457", img:"user_data/9656.jpg", nen:"平成23年式", soukou:"62300", title:"スズキパレット リミテッド6063仕入→神奈川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1458", life: "46.8", url:"index.php?act=staff&id=1458", img:"user_data/9653.jpg", nen:"平成24年式", soukou:"61324", title:"スズキMRワゴン G白6256仕入→神奈川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1459", life: "38.8", url:"index.php?act=staff&id=1459", img:"user_data/9657.jpg", nen:"平成21年式", soukou:"83193", title:"ダイハツミラカスタム X銀6066仕入→岡山", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1460", life: "49.8", url:"index.php?act=staff&id=1460", img:"user_data/9652.jpg", nen:"平成25年式", soukou:"84141", title:"スズキMRワゴンWitt TS白6067仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1462", life: "49.8", url:"index.php?act=staff&id=1462", img:"user_data/9674.jpg", nen:"平成23年式", soukou:"66357", title:"スズキアルトラパン6128LTD 仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1463", life: "54.8", url:"index.php?act=staff&id=1463", img:"user_data/9659.jpg", nen:"平成25年式", soukou:"75427", title:"トヨタピクシススペースX ピンク 仕入→兵庫", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1466", life: "48.8", url:"index.php?act=staff&id=1466", img:"user_data/9660.jpg", nen:"平成24年式", soukou:"43596", title:"トヨタピクシススペースXブラック仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1467", life: "38.8", url:"index.php?act=staff&id=1467", img:"user_data/9661.jpg", nen:"平成22年式", soukou:"53583", title:"スズキパレットXピンク仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1468", life: "42.8", url:"index.php?act=staff&id=1468", img:"user_data/9662.jpg", nen:"平成24年式", soukou:"69302", title:"スズキMRワゴンX茶6061仕入→埼玉", sold:"", new:"", tag: ["新着","","","AT","売り切れ"], description: "tesut" }, { id: "1469", life: "49.8", url:"index.php?act=staff&id=1469", img:"user_data/9663.jpg", nen:"平成21年式", soukou:"86400", title:"ダイハツタントカスタムX黒6065仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1470", life: "55.8", url:"index.php?act=staff&id=1470", img:"user_data/9664.jpg", nen:"平成24年式", soukou:"87480", title:"ダイハツミラココアXピンク仕入→京都", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1471", life: "36.8", url:"index.php?act=staff&id=1471", img:"user_data/9665.jpg", nen:"平成21年式", soukou:"42063", title:"ダイハツムーブコンテXリミテッドブルー仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1472", life: "39.8", url:"index.php?act=staff&id=1472", img:"user_data/9676.jpg", nen:"平成21年式", soukou:"76900", title:"スズキワゴンRスティングレーXワイン仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1475", life: "49.8", url:"index.php?act=staff&id=1475", img:"user_data/9675.jpg", nen:"平成23年式", soukou:"89943", title:"スズキアルトラパンリミテッドピンク6087仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1476", life: "46.8", url:"index.php?act=staff&id=1476", img:"user_data/9671.jpg", nen:"平成24年式", soukou:"73709", title:"ニッサンモコXブラウン仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1477", life: "46.8", url:"index.php?act=staff&id=1477", img:"user_data/9668.jpg", nen:"平成24年式", soukou:"81898", title:"ニッサンモコSモコベリー仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1478", life: "52.8", url:"index.php?act=staff&id=1478", img:"user_data/9677.jpg", nen:"平成24年式", soukou:"90465", title:"ダイハツミラココアプラスX黒6115仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1479", life: "48.8", url:"index.php?act=staff&id=1479", img:"user_data/9670.jpg", nen:"平成24年式", soukou:"70067", title:"スズキMRワゴン10thアニバーサリーリミテッド仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1480", life: "29.8", url:"index.php?act=staff&id=1480", img:"user_data/9669.jpg", nen:"平成17年式", soukou:"87158", title:"ホンダザッツスペシャルエディション6062仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1481", life: "29.8", url:"index.php?act=staff&id=1481", img:"user_data/9680.jpg", nen:"平成23年式", soukou:"80207", title:"ダイハツエッセDワイン仕入→岡山", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1482", life: "49.8", url:"index.php?act=staff&id=1482", img:"user_data/9685.jpg", nen:"平成24年式", soukou:"79774", title:"ダイハツムーブコンテLパール仕入→岡山", 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:"22350", title:"スズキMRワゴンGブラック仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1484", life: "46.8", url:"index.php?act=staff&id=1484", img:"user_data/9681.jpg", nen:"平成14年式", soukou:"76051", title:"ダイハツネイキッドターボパール仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1485", life: "48.8", url:"index.php?act=staff&id=1485", img:"user_data/9678.jpg", nen:"平成24年式", soukou:"70067", title:"ニッサンモコXピンク6117仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1486", life: "49.8", url:"index.php?act=staff&id=1486", img:"user_data/9672.jpg", nen:"平成24年式", soukou:"63006", title:"ムーブコンテL 黒 ダイハツ仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1487", life: "48.8", url:"index.php?act=staff&id=1487", img:"user_data/9673.jpg", nen:"平成24年式", soukou:"52144", title:"モコX 茶 ニッサン 仕入→広島", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1488", life: "38.8", url:"index.php?act=staff&id=1488", img:"user_data/9687.jpg", nen:"平成22年式", soukou:"91720", title:"スズキパレットXパール仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1489", life: "38.8", url:"index.php?act=staff&id=1489", img:"user_data/9688.jpg", nen:"平成22年式", soukou:"87952", title:"スズキパレットXパール仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1490", life: "24.8", url:"index.php?act=staff&id=1490", img:"user_data/9683.jpg", nen:"平成16年式", soukou:"89976", title:"ホンダザッツ ホワイト仕入→香川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1492", life: "28.8", url:"index.php?act=staff&id=1492", img:"user_data/9679.jpg", nen:"平成21年式", soukou:"86640", title:"ホンダライフパステル6116仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1493", life: "46.8", url:"index.php?act=staff&id=1493", img:"user_data/9689.jpg", nen:"平成23年式", soukou:"72160", title:"ダイハツ タントL ホワイト6155仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1494", life: "29.8", url:"index.php?act=staff&id=1494", img:"user_data/9690.jpg", nen:"平成19年式", soukou:"79416", title:"ホンダザッツ ブラック6156仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1495", life: "45.8", url:"index.php?act=staff&id=1495", img:"user_data/9694.jpg", nen:"平成24年式", soukou:"976111", title:"ダイハツ タント ピンク6154仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1496", life: "38.8", url:"index.php?act=staff&id=1496", img:"user_data/9692.jpg", nen:"平成22年式", soukou:"88727", title:"ダイハツ タント ブラック 仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1497", life: "45.8", url:"index.php?act=staff&id=1497", img:"user_data/9684.jpg", nen:"平成22年式", soukou:"42796", title:"スバルルクラLピンク仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1498", life: "38.8", url:"index.php?act=staff&id=1498", img:"user_data/9693.jpg", nen:"平成13年式", soukou:"70826", title:"ダイハツネイキッドGワイン仕入→栃木", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1049", life: "43.8", url:"index.php?act=staff&id=1049", img:"user_data/6994.jpg", nen:"平成25年式", soukou:"99300", title:"EKカスタムG黒1879 ミツビシ 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1032", life: "48.8", url:"index.php?act=staff&id=1032", img:"user_data/6957.jpg", nen:"平成25年式", soukou:"85528", title:"ダイハツムーブ ホワイト仕入先:沖縄", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1499", life: "36.8", url:"index.php?act=staff&id=1499", img:"./img/nophoto.png", nen:"平成24年式", soukou:"107918", title:"ダイハツムーブXリミテッド ライトローズ仕入→千葉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1500", life: "38.8", url:"index.php?act=staff&id=1500", img:"./img/nophoto.png", nen:"平成24年式", soukou:"75274", title:"ダイハツミライースXシルバー仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1501", life: "45.8", url:"index.php?act=staff&id=1501", img:"./img/nophoto.png", nen:"平成27年式", soukou:"103040", title:"スズキアルトLブラウン仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1502", life: "46.8", url:"index.php?act=staff&id=1502", img:"./img/nophoto.png", nen:"平成27年式", soukou:"81531", title:"ダイハツミライースLスマートセレクションSA白仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1503", life: "52.8", url:"index.php?act=staff&id=1503", img:"./img/nophoto.png", nen:"平成23年式", soukou:"88321", title:"スズキアルトラパンリミテッド青仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1504", life: "157.8", url:"index.php?act=staff&id=1504", img:"./img/nophoto.png", nen:"令和3年式", soukou:"1", title:"【新車】三菱EKスペースGブラウン ディーラー仕入", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1506", life: "", url:"index.php?act=staff&id=1506", img:"./img/nophoto.png", nen:"平成25年式", soukou:"101,000", title:"ダイハツミラココア ホワイト仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1507", life: "", url:"index.php?act=staff&id=1507", img:"./img/nophoto.png", nen:"平成25年式", soukou:"86,000", title:"スズキアルトラパンG 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1508", life: "", url:"index.php?act=staff&id=1508", img:"./img/nophoto.png", nen:"平成28年式", soukou:"90,000", title:"ニッサンデイズ X シルバー 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1509", life: "", url:"index.php?act=staff&id=1509", img:"./img/nophoto.png", nen:"平成17年式", soukou:"62,000", title:"ホンダザッツスペシャルエディション仕入→千葉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1510", life: "", url:"index.php?act=staff&id=1510", img:"./img/nophoto.png", nen:"平成29年式", soukou:"21,500", title:"スズキワゴンR FX ハイブリッド 仕入→沖縄", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1511", life: "", url:"index.php?act=staff&id=1511", img:"./img/nophoto.png", nen:"平成7年式", soukou:"147,000", title:"スズキジムニー:型式JA11V 仕入→沖縄", sold:"", new:"", tag: ["新着","販売中","MT","",""], description: "tesut" }, { id: "1512", life: "", url:"index.php?act=staff&id=1512", img:"./img/nophoto.png", nen:"平成28年式", soukou:"95,000", title:"ホンダN-ONE G ホワイト 仕入→神奈川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1513", life: "", url:"index.php?act=staff&id=1513", img:"./img/nophoto.png", nen:"平成25年式", soukou:"37,000", title:"ホンダN-ONE G ホワイト 仕入→神奈川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1514", life: "157.8", url:"index.php?act=staff&id=1514", img:"./img/nophoto.png", nen:"令和3年式", soukou:"1", title:"【新車】ニッサンデイズX シルバー ディーラー仕入", 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(); });