$(function() { /*================================================================ 情報 ================================================================*/ var allList = [ { id: "1669", life: "44.8", url:"index.php?act=staff&id=1669", img:"user_data/10698.jpg", nen:"平成23年式", soukou:"66241", title:"2⃣ニッサンキューブ15X6298仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1657", life: "48.8", url:"index.php?act=staff&id=1657", img:"user_data/10689.jpg", nen:"平成25年式", soukou:"74971", title:"2⃣トヨタパッソ プラスハナ6286仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1634", life: "39.8", url:"index.php?act=staff&id=1634", img:"user_data/10654.jpg", nen:"平成25年式", soukou:"70346", title:"2⃣トヨタパッソ茶6261 仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1635", life: "38.8", url:"index.php?act=staff&id=1635", img:"user_data/10675.jpg", nen:"平成25年式", soukou:"71993", title:"2⃣トヨタパッソ黒6287 仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1658", life: "49.8", url:"index.php?act=staff&id=1658", img:"user_data/10690.jpg", nen:"平成24年式", soukou:"82054", title:"2⃣ミツビシミラージュM青6276仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1651", life: "49.8", url:"index.php?act=staff&id=1651", img:"user_data/10659.jpg", nen:"平成24年式", soukou:"54132", title:"2⃣ミツビシミラージュM黒6263 仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1646", life: "48.8", url:"index.php?act=staff&id=1646", img:"user_data/10656.jpg", nen:"平成23年式", soukou:"44057", title:"2⃣トヨタヴィッツ薄緑6267 仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1643", life: "48.8", url:"index.php?act=staff&id=1643", img:"user_data/10682.jpg", nen:"平成24年式", soukou:"56452", title:"2⃣ミラージュG パープル6305仕入→愛媛", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1642", life: "48.8", url:"index.php?act=staff&id=1642", img:"user_data/10681.jpg", nen:"平成24年式", soukou:"74965", title:"2⃣ミツビシミラージュM銀6291仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1614", life: "79.8", url:"index.php?act=staff&id=1614", img:"user_data/10093.jpg", nen:"平成29年式", soukou:"20787", title:"4⃣ミツビシEKワゴンE黄緑2421仕入→福岡", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1610", life: "38.8", url:"index.php?act=staff&id=1610", img:"user_data/10098.jpg", nen:"平成25年式", soukou:"65269", title:"ダイハツミラココアL黄色2498仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1609", life: "39.8", url:"index.php?act=staff&id=1609", img:"user_data/10100.jpg", nen:"平成20年式", soukou:"51455", title:"ダイハツタントXLTDアイボリー2521 仕入→岐阜", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1604", life: "36.8", url:"index.php?act=staff&id=1604", img:"user_data/10112.jpg", nen:"平成20年式", soukou:"86449", title:"ダイハツタントLブルー仕入→兵庫", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1601", life: "49.8", url:"index.php?act=staff&id=1601", img:"user_data/10110.jpg", nen:"平成24年式", soukou:"11732", title:"ミツビシミラージュG青6141仕入→岡山", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1572", life: "200", url:"index.php?act=staff&id=1572", img:"user_data/10062.jpg", nen:"平成19年式", soukou:"66383", title:"レクサスLS460バージョンU仕入→大阪", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1562", life: "48.8", url:"index.php?act=staff&id=1562", img:"user_data/10056.jpg", nen:"平成24年式", soukou:"65610", title:"2⃣ミツビシミラージュG青6146仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1561", life: "45.8", url:"index.php?act=staff&id=1561", img:"user_data/10055.jpg", nen:"平成24年式", soukou:"65111", title:"2⃣ミツビシミラージュG青6140仕入→愛知", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1560", life: "45.8", url:"index.php?act=staff&id=1560", img:"user_data/10054.jpg", nen:"平成23年式", soukou:"55800", title:"2⃣スズキソリオG銀6059仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1558", life: "29.8", url:"index.php?act=staff&id=1558", img:"user_data/10053.jpg", nen:"平成20年式", soukou:"44553", title:"ダイハツムーブラテVS ピンク 仕入→栃木", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1557", life: "36.8", url:"index.php?act=staff&id=1557", img:"user_data/10052.jpg", nen:"平成22年式", soukou:"66098", title:"ホンダライフG ピンク 仕入→愛知", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1547", life: "48.8", url:"index.php?act=staff&id=1547", img:"user_data/10039.jpg", nen:"平成24年式", soukou:"90355", title:"ミツビシミラージュM赤6147仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1542", life: "49.8", url:"index.php?act=staff&id=1542", img:"user_data/10038.jpg", nen:"平成24年式", soukou:"31081", title:"ミツビシミラージュG赤6143仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1541", life: "49.8", url:"index.php?act=staff&id=1541", img:"user_data/10037.jpg", nen:"平成25年式", soukou:"51233", title:"ミツビシミラージュG銀6051仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1525", life: "28.8", url:"index.php?act=staff&id=1525", img:"user_data/10027.jpg", nen:"平成19年式", soukou:"72440", title:"ダイハツエッセX銀6407仕入→東京", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1524", life: "46.8", url:"index.php?act=staff&id=1524", img:"user_data/10019.jpg", nen:"平成24年式", soukou:"44099", title:"ミツビシミラージュM黒6152仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1520", life: "55.8", url:"index.php?act=staff&id=1520", img:"user_data/10016.jpg", nen:"平成27年式", soukou:"83787", title:"ミツビシミラージュGグレー仕入→沖縄", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1503", life: "52.8", url:"index.php?act=staff&id=1503", img:"user_data/10002.jpg", nen:"平成23年式", soukou:"88321", title:"スズキアルトラパンリミテッド青2381仕入→愛知", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1499", life: "29.8", url:"index.php?act=staff&id=1499", img:"user_data/9998.jpg", nen:"平成24年式", soukou:"107918", title:"ダイハツムーブXリミテッド2365仕入→千葉", 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:"ホンダザッツ黒2488 仕入→栃木", 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: "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: "1480", life: "24.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: "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: "1469", life: "49.8", url:"index.php?act=staff&id=1469", img:"user_data/9663.jpg", nen:"平成21年式", soukou:"86400", title:"ダイハツタントカスタムX黒2448仕入→大阪", 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: "1462", life: "49.8", url:"index.php?act=staff&id=1462", img:"user_data/9674.jpg", nen:"平成23年式", soukou:"66357", title:"スズキアルトラパンLTD2368 仕入→岐阜", 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白2400仕入→愛知", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1459", life: "34.8", url:"index.php?act=staff&id=1459", img:"user_data/9657.jpg", nen:"平成21年式", soukou:"83193", title:"ダイハツミラカスタム X2401仕入→岡山【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1457", life: "34.8", url:"index.php?act=staff&id=1457", img:"user_data/9656.jpg", nen:"平成23年式", soukou:"62300", title:"スズキパレット LTD 6063仕入→神奈川【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1451", life: "48.8", url:"index.php?act=staff&id=1451", img:"user_data/9648.jpg", nen:"平成18年式", soukou:"91137", title:"bB6207SWVer.HIDセレクションⅡ最終型仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1449", life: "34.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: "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: "1443", life: "49.8", url:"index.php?act=staff&id=1443", img:"user_data/9645.jpg", nen:"平成22年式", soukou:"39712", title:"ダイハツミラココア X 水色2590仕入→愛知", 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: "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: "1431", life: "49.8", url:"index.php?act=staff&id=1431", img:"user_data/9627.jpg", nen:"平成23年式", soukou:"72440", title:"トヨタ ヴィッツジュエラ白5992仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1426", life: "49.8", url:"index.php?act=staff&id=1426", img:"user_data/9618.jpg", nen:"平成23年式", soukou:"56700", title:"トヨタヴィッツ F 水色5994 仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1422", life: "39.8", url:"index.php?act=staff&id=1422", img:"user_data/9633.jpg", nen:"平成24年式", soukou:"69898", title:"トヨタ パッソX白6019 仕入→埼玉", 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: "1402", life: "58.8", url:"index.php?act=staff&id=1402", img:"user_data/9603.jpg", nen:"平成24年式", soukou:"73933", title:"2⃣ホンダフィットHV銀5967仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1401", life: "38.8", url:"index.php?act=staff&id=1401", img:"user_data/9601.jpg", nen:"平成24年式", soukou:"93578", title:"2⃣ホンダフィットHV5979仕入埼玉", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1400", life: "49.8", url:"index.php?act=staff&id=1400", img:"user_data/9602.jpg", nen:"平成23年式", soukou:"62337", title:"トヨタ ヴィッツU レッド5968仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1399", life: "48.8", url:"index.php?act=staff&id=1399", img:"user_data/9596.jpg", nen:"平成25年式", soukou:"99287", title:"スズキソリオX 銀5976 仕入先→埼玉【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1395", life: "48.8", url:"index.php?act=staff&id=1395", img:"user_data/9588.jpg", nen:"平成25年式", soukou:"55000", title:"ニッサンノート グレー5980仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1394", life: "48.8", url:"index.php?act=staff&id=1394", img:"user_data/9587.jpg", nen:"平成24年式", soukou:"75528", title:"ニッサンノートX白6212仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1393", life: "38.8", url:"index.php?act=staff&id=1393", img:"user_data/9593.jpg", nen:"平成24年式", soukou:"108461", title:"トヨタヴィッツ黒6232仕入先→愛知【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1391", life: "48.8", url:"index.php?act=staff&id=1391", img:"user_data/9591.jpg", nen:"平成23年式", soukou:"77600", title:"スズキソリオX 茶5978仕入先→愛知", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1388", life: "24.8", url:"index.php?act=staff&id=1388", img:"user_data/9586.jpg", nen:"平成24年式", soukou:"75867", title:"ニッサンマーチ12X5972仕入先→沖縄【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1378", life: "78.8", url:"index.php?act=staff&id=1378", img:"user_data/9568.jpg", nen:"平成24年式", soukou:"31275", title:"ジューク15 RVタイプV仕入先→沖縄", 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: "1365", life: "38.8", url:"index.php?act=staff&id=1365", img:"user_data/9499.jpg", nen:"平成23年式", soukou:"97863", title:"ニッサンキューブ黒5822仕入先→沖縄【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1352", life: "38.8", url:"index.php?act=staff&id=1352", img:"user_data/9354.jpg", nen:"平成25年式", soukou:"103514", title:"ニッサンノートX5858銀仕入先→神戸【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1347", life: "46.8", url:"index.php?act=staff&id=1347", img:"user_data/9350.jpg", nen:"平成24年式", soukou:"80208", title:"ミラージュM白6226ミツビシ 仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1331", life: "49.8", url:"index.php?act=staff&id=1331", img:"user_data/9334.jpg", nen:"平成25年式", soukou:"86501", title:"ノートX DIG-Sグレー5783 仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1330", life: "49.8", url:"index.php?act=staff&id=1330", img:"user_data/9333.jpg", nen:"平成24年式", soukou:"73160", title:"キューブX インディゴプラズマ黒6210仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1326", life: "49.8", url:"index.php?act=staff&id=1326", img:"user_data/9325.jpg", nen:"平成25年式", soukou:"84200", title:"キューブ15X青5791 ニッサン 仕入先→大阪", 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: "1257", life: "34.8", url:"index.php?act=staff&id=1257", img:"user_data/8722.jpg", nen:"平成23年式", soukou:"95,255", title:"スズキワゴンR FX LTD 仕入→埼玉【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1250", life: "278.8", url:"index.php?act=staff&id=1250", img:"user_data/8705.jpg", nen:"平成29年式", soukou:"49145", title:"ハイエース7606グランドキャビン10名乗り仕入先→大阪", 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:"4⃣スズキワゴンR HV FZ青2013仕入先→沖縄", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1242", life: "108.8", url:"index.php?act=staff&id=1242", img:"user_data/8507.jpg", nen:"平成26年式", soukou:"39599", title:"スペーシアカスタム赤XS-LTDスズキ2143 仕入先→沖縄", 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: "1212", life: "129.8", url:"index.php?act=staff&id=1212", img:"user_data/8232.jpg", nen:"平成30年式", soukou:"15843", title:"4⃣スズキスペーシアHV G1978仕入先→沖縄", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1133", life: "38.8", url:"index.php?act=staff&id=1133", img:"user_data/7684.jpg", nen:"平成22年式", soukou:"99188", title:"ホンダフィットHV 5637 仕入→兵庫【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1119", life: "38.8", url:"index.php?act=staff&id=1119", img:"user_data/7675.jpg", nen:"平成22年式", soukou:"110040", title:"ホンダフリード5924 仕入先→東京【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1070", life: "63.8", url:"index.php?act=staff&id=1070", img:"user_data/7500.jpg", nen:"平成22年式", soukou:"115600", title:"ステップワゴンスパーダZ青5481ホンダ仕入先→大阪", 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: "1047", life: "38.8", url:"index.php?act=staff&id=1047", img:"user_data/6992.jpg", nen:"平成25年式", soukou:"107039", title:"ニッサンノートX赤6008 仕入先→沖縄【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1044", life: "23.8", url:"index.php?act=staff&id=1044", img:"user_data/6972.jpg", nen:"平成23年式", soukou:"89029", title:"マーチG紫6213ニッサン 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1041", life: "23.8", url:"index.php?act=staff&id=1041", img:"user_data/6970.jpg", nen:"平成23年式", soukou:"77028", title:"マーチX銀6230ニッサン 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1039", life: "28.8", url:"index.php?act=staff&id=1039", img:"user_data/6969.jpg", nen:"平成21年式", soukou:"80930", title:"キューブX茶5874 ニッサン仕入先→福岡", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "1037", life: "28.8", url:"index.php?act=staff&id=1037", img:"user_data/6968.jpg", nen:"平成23年式", soukou:"100197", title:"ニッサンマーチ銀5587 仕入先→福岡【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1019", life: "38.8", url:"index.php?act=staff&id=1019", img:"user_data/6926.jpg", nen:"平成24年式", soukou:"109693", title:"ニッサンキューブ 15X茶5834仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1018", life: "28.8", url:"index.php?act=staff&id=1018", img:"user_data/6925.jpg", nen:"平成24年式", soukou:"62875", title:"マーチ紫6248 ニッサン仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1017", life: "28.8", url:"index.php?act=staff&id=1017", img:"user_data/6924.jpg", nen:"平成23年式", soukou:"94304", title:"ニッサンマーチ5583S銀仕入→福岡【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1015", life: "28.8", url:"index.php?act=staff&id=1015", img:"user_data/6959.jpg", nen:"平成24年式", soukou:"89000", title:"ニッサンマーチ 12S銀6250 仕入先:福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1014", life: "23.8", url:"index.php?act=staff&id=1014", img:"user_data/6922.jpg", nen:"平成23年式", soukou:"64060", title:"マーチS紫6023 仕入先:福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1012", life: "38.8", url:"index.php?act=staff&id=1012", img:"user_data/6962.jpg", nen:"平成26年式", soukou:"132848", title:"ニッサンキューブ15X グレー5896仕入福岡【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1000", life: "38.8", url:"index.php?act=staff&id=1000", img:"user_data/6954.jpg", nen:"平成23年式", soukou:"103805", title:"ニッサンキューブ15Xブラウン仕入先:埼玉【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "984", life: "38.8", url:"index.php?act=staff&id=984", img:"user_data/6905.jpg", nen:"平成25年式", soukou:"95377", title:"トヨタポルテアイボリー5833仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "983", life: "28.8", url:"index.php?act=staff&id=983", img:"user_data/6904.jpg", nen:"平成24年式", soukou:"42659", title:"パッソ水色6015 トヨタ 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "959", life: "48.8", url:"index.php?act=staff&id=959", img:"user_data/6813.jpg", nen:"平成24年式", soukou:"53346", title:"ノート赤6206仕入先→神奈川【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "947", life: "38.8", url:"index.php?act=staff&id=947", img:"user_data/6769.jpg", nen:"平成23年式", soukou:"109142", title:"ニッサンキューブ黒5306仕入先→愛知【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "940", life: "38.8", url:"index.php?act=staff&id=940", img:"user_data/6914.jpg", nen:"平成26年式", soukou:"102103", title:"ノート銀5828ニッサン 仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "894", life: "38.8", url:"index.php?act=staff&id=894", img:"user_data/6372.jpg", nen:"平成25年式", soukou:"105633", title:"ニッサンノートグレー6003仕入先→大阪【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "887", life: "38.8", url:"index.php?act=staff&id=887", img:"user_data/6366.jpg", nen:"平成25年式", soukou:"98388", title:"ニッサンノートグレー5257仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "879", life: "38.8", url:"index.php?act=staff&id=879", img:"user_data/6306.jpg", nen:"平成23年式", soukou:"90591", title:"トヨタヴィッツグレー6225仕入先→沖縄【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "869", life: "58.8", url:"index.php?act=staff&id=869", img:"user_data/6250.jpg", nen:"平成26年式", soukou:"114386", title:"トヨタアクア白5207仕入先→福岡【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "856", life: "38.8", url:"index.php?act=staff&id=856", img:"user_data/5856.jpg", nen:"平成25年式", soukou:"89420", title:"ニッサンノート黒5866仕入先→沖縄【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "852", life: "38.8", url:"index.php?act=staff&id=852", img:"user_data/5852.jpg", nen:"平成25年式", soukou:"103338", title:"ニッサンノート紫5873仕入先→大阪【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "846", life: "48.8", url:"index.php?act=staff&id=846", img:"user_data/6025.jpg", nen:"平成24年式", soukou:"40627", title:"ノート紫5153 ニッサン 仕入先→関西", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "845", life: "38.8", url:"index.php?act=staff&id=845", img:"user_data/5845.jpg", nen:"平成23年式", soukou:"112060", title:"トヨタヴィッツ白5616 仕入先→関西【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "843", life: "38.8", url:"index.php?act=staff&id=843", img:"user_data/5849.jpg", nen:"平成22年式", soukou:"77359", title:"キューブ茶5570 ニッサン 仕入先→関西", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "842", life: "38.8", url:"index.php?act=staff&id=842", img:"user_data/5843.jpg", nen:"平成22年式", soukou:"63607", title:"キューブグレー6200 ニッサン仕入先→関西", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "839", life: "38.8", url:"index.php?act=staff&id=839", img:"user_data/5840.jpg", nen:"平成26年式", soukou:"120766", title:"ニッサンノート銀6243仕入→大阪【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "838", life: "38.8", url:"index.php?act=staff&id=838", img:"user_data/5839.jpg", nen:"平成23年式", soukou:"122219", title:"ニッサンキューブ茶5878仕入→埼玉【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "837", life: "38.8", url:"index.php?act=staff&id=837", img:"user_data/5838.jpg", nen:"平成24年式", soukou:"121201", title:"ホンダフィットHV黒5508仕入→岡山【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "819", life: "38.8", url:"index.php?act=staff&id=819", img:"user_data/5706.jpg", nen:"平成24年式", soukou:"130238", title:"キューブグレー5882 ニッサン仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "815", life: "38.8", url:"index.php?act=staff&id=815", img:"user_data/5704.jpg", nen:"平成23年式", soukou:"92780", title:"キューブスミオブルー6227ニッサン仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "813", life: "38.8", url:"index.php?act=staff&id=813", img:"user_data/5722.jpg", nen:"平成20年式", soukou:"111269", title:"キューブ白6228 ニッサン仕入→岡山", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "808", life: "28.8", url:"index.php?act=staff&id=808", img:"user_data/5658.jpg", nen:"平成22年式", soukou:"89731", title:"キューブ茶5562 ニッサン", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "807", life: "38.8", url:"index.php?act=staff&id=807", img:"user_data/5656.jpg", nen:"平成24年式", soukou:"60459", title:"ニッサンノート黒6002仕入→埼玉【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "806", life: "38.8", url:"index.php?act=staff&id=806", img:"user_data/5652.jpg", nen:"平成25年式", soukou:"78800", title:"ニッサンノート青6004仕入→埼玉【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "800", life: "38.8", url:"index.php?act=staff&id=800", img:"user_data/5539.jpg", nen:"平成25年式", soukou:"90392", title:"ニッサンノートグレー6221仕入先→埼玉【価格調整】", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "795", life: "23.8", url:"index.php?act=staff&id=795", img:"user_data/5536.jpg", nen:"平成22年式", soukou:"126157", title:"キューブ茶5899 ニッサン仕入先→大阪", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "794", life: "38.8", url:"index.php?act=staff&id=794", img:"user_data/5535.jpg", nen:"平成21年式", soukou:"90477", title:"キューブ茶6247 ニッサン仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "774", life: "38.8", url:"index.php?act=staff&id=774", img:"user_data/4930.jpg", nen:"平成23年式", soukou:"93959", title:"キューブグレー5906ニッサン仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "773", life: "38.8", url:"index.php?act=staff&id=773", img:"user_data/4929.jpg", nen:"平成22年式", soukou:"88400", title:"キューブ茶6306ニッサン 仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "761", life: "38.8", url:"index.php?act=staff&id=761", img:"user_data/4921.jpg", nen:"平成22年式", soukou:"79083", title:"ニッサンキューブ5546スミオブルー", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "760", life: "28.8", url:"index.php?act=staff&id=760", img:"user_data/4913.jpg", nen:"平成23年式", soukou:"51991", title:"ヴィッツ銀6245 トヨタ仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "758", life: "23.8", url:"index.php?act=staff&id=758", img:"user_data/4912.jpg", nen:"平成23年式", soukou:"120240", title:"キューブ黒5895 ニッサン仕入先→埼玉", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "756", life: "28.8", url:"index.php?act=staff&id=756", img:"user_data/4918.jpg", nen:"平成24年式", soukou:"107613", title:"キューブグレー6222 ニッサン仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "751", life: "28.8", url:"index.php?act=staff&id=751", img:"user_data/4905.jpg", nen:"平成24年式", soukou:"66394", title:"ヴィッツ黄色6197 トヨタ仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "740", life: "28.8", url:"index.php?act=staff&id=740", img:"user_data/4891.jpg", nen:"平成24年式", soukou:"105508", title:"キューブグレー6335 ニッサン仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "715", life: "38.8", url:"index.php?act=staff&id=715", img:"user_data/4856.jpg", nen:"平成25年式", soukou:"96376", title:"ニッサンノート銀6201 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "710", life: "38.8", url:"index.php?act=staff&id=710", img:"user_data/4836.jpg", nen:"平成24年式", soukou:"60098", title:"ヴィッツグレー4824 トヨタ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "709", life: "18.8", url:"index.php?act=staff&id=709", img:"user_data/4835.jpg", nen:"平成22年式", soukou:"126191", title:"パッソ白6021 トヨタ 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "699", life: "28.8", url:"index.php?act=staff&id=699", img:"user_data/4809.jpg", nen:"平成22年式", soukou:"97064", title:"キューブ6006 ニッサン 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "697", life: "23.8", url:"index.php?act=staff&id=697", img:"user_data/4805.jpg", nen:"平成23年式", soukou:"101670", title:"ヴィッツ銀6209 トヨタ仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "693", life: "33.8", url:"index.php?act=staff&id=693", img:"user_data/4797.jpg", nen:"平成23年式", soukou:"72700", title:"ヴィッツ水色6229 トヨタ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "692", life: "39.8", url:"index.php?act=staff&id=692", img:"user_data/4796.jpg", nen:"平成25年式", soukou:"101058", title:"ノート銀5923 ニッサン仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "682", life: "38.8", url:"index.php?act=staff&id=682", img:"user_data/4748.jpg", nen:"平成24年式", soukou:"66300", title:"ヴィッツピンク4723 トヨタ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "680", life: "33.8", url:"index.php?act=staff&id=680", img:"user_data/4703.jpg", nen:"平成23年式", soukou:"95800", title:"ヴィッツ白5915 トヨタ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "676", life: "28.8", url:"index.php?act=staff&id=676", img:"user_data/4691.jpg", nen:"平成24年式", soukou:"84985", title:"マーチ茶5597 ニッサン", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "649", life: "28.8", url:"index.php?act=staff&id=649", img:"user_data/4434.jpg", nen:"平成23年式", soukou:"58000", title:"マーチボレロ茶6198 ニッサン仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "615", life: "23.8", url:"index.php?act=staff&id=615", img:"user_data/4208.jpg", nen:"平成23年式", soukou:"75931", title:"ヴィッツ薄緑6321 トヨタ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "607", life: "23.8", url:"index.php?act=staff&id=607", img:"user_data/4326.jpg", nen:"平成25年式", soukou:"94395", title:"マーチ銀5835 ニッサン仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "597", life: "28.8", url:"index.php?act=staff&id=597", img:"user_data/4024.jpg", nen:"平成24年式", soukou:"73317", title:"ミラージュ緑6216 ミツビシ仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "594", life: "23.8", url:"index.php?act=staff&id=594", img:"user_data/4020.jpg", nen:"平成25年式", soukou:"115458", title:"マーチ銀5582 ニッサン", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "582", life: "18.8", url:"index.php?act=staff&id=582", img:"user_data/3741.jpg", nen:"平成21年式", soukou:"73618", title:"パッソ赤5900 トヨタ仕入先→岐阜", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "581", life: "23.8", url:"index.php?act=staff&id=581", img:"user_data/3686.jpg", nen:"平成22年式", soukou:"97300", title:"パッソ鶯メタル4654 トヨタ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "574", life: "23.8", url:"index.php?act=staff&id=574", img:"user_data/3885.jpg", nen:"平成22年式", soukou:"93262", title:"パッソ薄紫6020 トヨタ 仕入→鹿児島", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "569", life: "23.8", url:"index.php?act=staff&id=569", img:"user_data/3742.jpg", nen:"平成24年式", soukou:"120286", title:"パッソ銀5901 トヨタ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "566", life: "28.8", url:"index.php?act=staff&id=566", img:"user_data/3910.jpg", nen:"平成25年式", soukou:"98129", title:"マーチ銀4623 ニッサン", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "565", life: "23.8", url:"index.php?act=staff&id=565", img:"user_data/3807.jpg", nen:"平成25年式", soukou:"119333", title:"マーチ銀6012 ニッサン 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "558", life: "18.8", url:"index.php?act=staff&id=558", img:"user_data/3894.jpg", nen:"平成24年式", soukou:"102052", title:"ノート白4866 ニッサン", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "521", life: "28.8", url:"index.php?act=staff&id=521", img:"user_data/3764.jpg", nen:"平成23年式", soukou:"76855", title:"ヴィッツ銀5577 トヨタ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "508", life: "9.8", url:"index.php?act=staff&id=508", img:"user_data/3295.jpg", nen:"平成23年式", soukou:"112854", title:"ホンダフィット青5872仕入先→沖縄【最終調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "507", life: "28.8", url:"index.php?act=staff&id=507", img:"user_data/3395.jpg", nen:"平成26年式", soukou:"98718", title:"デミオ紺6307 マツダ仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "495", life: "9.8", url:"index.php?act=staff&id=495", img:"user_data/3024.jpg", nen:"平成21年式", soukou:"117491", title:"スズキスイフト茶4282【最終調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "479", life: "28.8", url:"index.php?act=staff&id=479", img:"user_data/3344.jpg", nen:"平成26年式", soukou:"119966", title:"マーチ薄紫5558 ニッサン", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "478", life: "9.8", url:"index.php?act=staff&id=478", img:"user_data/2719.jpg", nen:"平成21年式", soukou:"99161", title:"ホンダフィット黄色4899【最終調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "459", life: "18.8", url:"index.php?act=staff&id=459", img:"user_data/2429.jpg", nen:"平成23年式", soukou:"99154", title:"マーチ茶6252 ニッサン 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "451", life: "38.8", url:"index.php?act=staff&id=451", img:"user_data/2561.jpg", nen:"平成23年式", soukou:"114779", title:"トヨタヴィッツ黒4893", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "448", life: "23.8", url:"index.php?act=staff&id=448", img:"user_data/2445.jpg", nen:"平成25年式", soukou:"99869", title:"ミラージュ白5827 ミツビシ仕入先→大阪", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "444", life: "28.8", url:"index.php?act=staff&id=444", img:"user_data/2377.jpg", nen:"平成23年式", soukou:"116147", title:"ホンダインサイト銀6033【価格調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "425", life: "23.8", url:"index.php?act=staff&id=425", img:"user_data/2426.jpg", nen:"平成22年式", soukou:"125156", title:"キューブ茶5880 ニッサン仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "417", life: "28.8", url:"index.php?act=staff&id=417", img:"user_data/2358.jpg", nen:"平成23年式", soukou:"59264", title:"パッソ緑6016 トヨタ 仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "382", life: "58.8", url:"index.php?act=staff&id=382", img:"user_data/2816.jpg", nen:"平成25年式", soukou:"95500", title:"ノートガンメタ6253 ニッサン仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "370", life: "28.8", url:"index.php?act=staff&id=370", img:"user_data/3041.jpg", nen:"平成25年式", soukou:"61632", title:"マーチ白5845 ニッサン仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "358", life: "28.8", url:"index.php?act=staff&id=358", img:"user_data/2112.jpg", nen:"平成24年式", soukou:"101218", title:"ミラージュ白6199 ミツビシ仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "294", life: "28.8", url:"index.php?act=staff&id=294", img:"user_data/1845.jpg", nen:"平成25年式", soukou:"83421", title:"ミラージュ黒6244 ミツビシ仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "288", life: "9.8", url:"index.php?act=staff&id=288", img:"user_data/1112.jpg", nen:"平成23年式", soukou:"120356", title:"ニッサンマーチ銀5853仕入先→大阪【最終調整】", sold:"", new:"", tag: ["","","","AT","売り切れ"], description: "tesut" }, { id: "285", life: "28.8", url:"index.php?act=staff&id=285", img:"user_data/1496.jpg", nen:"平成22年式", soukou:"102804", title:"ニッサンマーチ銀6014仕入→沖縄【価格調整】", 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(); });