$(function() { /*================================================================ 情報 ================================================================*/ var allList = [ { id: "874", life: "58.8", url:"index.php?act=staff&id=874", img:"user_data/6269.jpg", nen:"平成26年式", soukou:"55459", title:"ノート水色5894 ニッサン 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1179", life: "138.8", url:"index.php?act=staff&id=1179", img:"user_data/7737.jpg", nen:"平成31年式", soukou:"23528", title:"4⃣ニッサンノートX白5660仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1183", life: "84.8", url:"index.php?act=staff&id=1183", img:"user_data/7738.jpg", nen:"平成25年式", soukou:"62600", title:"3⃣トヨタアクアSオレンジ5687仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1184", life: "138.8", url:"index.php?act=staff&id=1184", img:"user_data/7927.jpg", nen:"平成30年式", soukou:"22615", title:"4⃣カローラフィールダー黒1.5X5670仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1189", life: "84.8", url:"index.php?act=staff&id=1189", img:"user_data/7932.jpg", nen:"平成25年式", soukou:"39100", title:"3⃣トヨタアクアL黄色5688 仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1195", life: "88.8", url:"index.php?act=staff&id=1195", img:"user_data/7937.jpg", nen:"平成27年式", soukou:"78429", title:"3⃣トヨタアクアL5665 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1197", life: "128.8", url:"index.php?act=staff&id=1197", img:"user_data/7931.jpg", nen:"平成30年式", soukou:"44300", title:"4⃣ニッサンノートX水色5693仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1203", life: "88.8", url:"index.php?act=staff&id=1203", img:"user_data/8224.jpg", nen:"平成28年式", soukou:"69708", title:"3⃣ニッサンノート白X5707仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1204", life: "88.8", url:"index.php?act=staff&id=1204", img:"user_data/8230.jpg", nen:"平成28年式", soukou:"53615", title:"3⃣ニッサンノートXグレー5706仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1205", life: "128.8", url:"index.php?act=staff&id=1205", img:"user_data/8231.jpg", nen:"平成30年式", soukou:"50500", title:"4⃣ニッサンノートHV5708仕入:神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1206", life: "78.8", url:"index.php?act=staff&id=1206", img:"user_data/8238.jpg", nen:"平成25年式", soukou:"67412", title:"3⃣トヨタアクアL白5684仕入先→鹿児島", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1210", life: "78.8", url:"index.php?act=staff&id=1210", img:"user_data/8234.jpg", nen:"平成28年式", soukou:"64182", title:"インプレッサスポーツ1.6Iグレー789仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1230", life: "88.8", url:"index.php?act=staff&id=1230", img:"user_data/8268.jpg", nen:"平成27年式", soukou:"85400", title:"3⃣トヨタアクアS白5711仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1256", life: "138.8", url:"index.php?act=staff&id=1256", img:"user_data/8724.jpg", nen:"令和1年式", soukou:"16139", title:"4⃣ニッサンノートXグレー3904仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1262", life: "68.8", url:"index.php?act=staff&id=1262", img:"user_data/8717.jpg", nen:"平成25年式", soukou:"50361", title:"ノートX 赤ニッサン6729仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1288", life: "68.8", url:"index.php?act=staff&id=1288", img:"user_data/9006.jpg", nen:"平成22年式", soukou:"89725", title:"CR-Z Bホンダ赤 仕入先→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1325", life: "58.8", url:"index.php?act=staff&id=1325", img:"user_data/9324.jpg", nen:"平成25年式", soukou:"19150", title:"ヴィッツF銀5788トヨタ 仕入先→大阪", 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:"79008", title:"キューブ15X青5791 ニッサン 仕入先→大阪", 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:"キューブ15X インディゴプラズマ黒5785仕入先→愛知", 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: "1333", life: "59.8", url:"index.php?act=staff&id=1333", img:"user_data/9336.jpg", nen:"平成24年式", soukou:"85988", title:"スペイドX紫5782 トヨタ 仕入先→岐阜", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1338", life: "55.8", url:"index.php?act=staff&id=1338", img:"user_data/9327.jpg", nen:"平成25年式", soukou:"67006", title:"ミラージュG青5792 ミツビシ 仕入先→神奈川", 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白5801 ミツビシ 仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1348", life: "55.8", url:"index.php?act=staff&id=1348", img:"user_data/9351.jpg", nen:"平成25年式", soukou:"85403", title:"ミラージュG赤5802 ミツビシ 仕入先→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1360", life: "158.8", url:"index.php?act=staff&id=1360", img:"user_data/9488.jpg", nen:"平成30年式", soukou:"14806", title:"4⃣ホンダフィットHV 5941仕入先→広島", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1361", life: "108.8", url:"index.php?act=staff&id=1361", img:"user_data/9489.jpg", nen:"平成28年式", soukou:"43917", title:"4⃣ホンダフィットHV 5944仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1375", life: "136.8", url:"index.php?act=staff&id=1375", img:"user_data/9567.jpg", nen:"平成30年式", soukou:"50226", title:"4⃣トヨタタンクXS青5952仕入先→神奈川", 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: "1390", life: "49.8", url:"index.php?act=staff&id=1390", img:"user_data/9590.jpg", nen:"平成24年式", soukou:"45573", title:"ミツビシミラージュG白5974仕入先→愛知", 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:"73611", title:"スズキソリオX 茶5978仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1392", life: "59.8", url:"index.php?act=staff&id=1392", img:"user_data/9592.jpg", nen:"平成24年式", soukou:"77595", title:"ミツビシデリカD2 S銀5975仕入先→愛知", 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 パール5973仕入先→大阪", 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:"53715", title:"ニッサンノート グレー5980仕入先→大阪", 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: "1405", life: "98.8", url:"index.php?act=staff&id=1405", img:"user_data/9598.jpg", nen:"平成29年式", soukou:"34885", title:"4⃣トヨタパッソ XS赤5981仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1406", life: "76.8", url:"index.php?act=staff&id=1406", img:"user_data/9599.jpg", nen:"平成21年", soukou:"57257", title:"トヨタプリウスS銀866仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1410", life: "108.8", url:"index.php?act=staff&id=1410", img:"user_data/9606.jpg", nen:"平成28年式", soukou:"53363", title:"3⃣ホンダフィットHV銀6053仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1411", life: "78.8", url:"index.php?act=staff&id=1411", img:"user_data/9607.jpg", nen:"平成26年", soukou:"58501", title:"スバル インプレッサスポーツ 2.0i 仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1413", life: "98.8", url:"index.php?act=staff&id=1413", img:"user_data/9609.jpg", nen:"平成29年式", soukou:"80885", title:"4⃣ニッサンノートX グレー 仕入→神奈川", 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:"62945", title:"トヨタ パッソX白6019 仕入→埼玉", 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:"53264", title:"トヨタヴィッツ F 水色5994 仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1427", life: "53.8", url:"index.php?act=staff&id=1427", img:"user_data/9626.jpg", nen:"平成25年式", soukou:"90295", title:"トヨタ ヴィッツ F Mパッケージ白5995仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1428", life: "53.8", url:"index.php?act=staff&id=1428", img:"user_data/9619.jpg", nen:"平成25年式", soukou:"85101", title:"トヨタ ヴィッツ Fシエル紫5993仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1429", life: "49.8", url:"index.php?act=staff&id=1429", img:"user_data/9620.jpg", nen:"平成24年式", soukou:"30397", title:"ニッサンノート X DIG-S赤5996仕入→愛知", 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: "1519", life: "78.8", url:"index.php?act=staff&id=1519", img:"user_data/10015.jpg", nen:"平成28年式", soukou:"22810", title:"トヨタパッソXシルバー仕入→千葉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1523", life: "68.8", url:"index.php?act=staff&id=1523", img:"user_data/10018.jpg", nen:"平成28年式", soukou:"88737", title:"トヨタパッソXベージュ仕入→千葉", 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ブラック仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1526", life: "68.8", url:"index.php?act=staff&id=1526", img:"user_data/10021.jpg", nen:"平成28年式", soukou:"83315", title:"トヨタパッソXホワイト仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1528", life: "68.8", url:"index.php?act=staff&id=1528", img:"user_data/10032.jpg", nen:"平成27年式", soukou:"72477", title:"ミツビシミラージュGグレー仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1529", life: "78.8", url:"index.php?act=staff&id=1529", img:"user_data/10030.jpg", nen:"平成28年式", soukou:"74998", title:"ミツビシミラージュMパール仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1533", life: "88.8", url:"index.php?act=staff&id=1533", img:"user_data/10026.jpg", nen:"平成28年式", soukou:"8059", title:"トヨタパッソXSパール仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1536", life: "49.8", url:"index.php?act=staff&id=1536", img:"user_data/10024.jpg", nen:"平成25年式", soukou:"51011", title:"ミツビシミラージュG銀6052仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1538", life: "74.8", url:"index.php?act=staff&id=1538", img:"user_data/10025.jpg", nen:"平成28年式", soukou:"81889", title:"ミツビシミラージュMシルバー仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1539", life: "68.8", url:"index.php?act=staff&id=1539", img:"user_data/10020.jpg", nen:"平成28年式", soukou:"55898", title:"トヨタパッソXシルバー仕入→沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1540", life: "49.8", url:"index.php?act=staff&id=1540", img:"user_data/10036.jpg", nen:"平成25年式", soukou:"46628", title:"ミツビシミラージュGシルバー仕入→東京", 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: "1542", life: "49.8", url:"index.php?act=staff&id=1542", img:"user_data/10038.jpg", nen:"平成24年式", soukou:"31081", title:"ミツビシミラージュG レッド仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1544", life: "68.8", url:"index.php?act=staff&id=1544", img:"user_data/10041.jpg", nen:"平成28年式", soukou:"45322", title:"トヨタパッソ ブルー仕入→栃木", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1545", life: "78.8", url:"index.php?act=staff&id=1545", img:"user_data/10042.jpg", nen:"平成26年式", soukou:"58322", title:"3⃣ホンダフィットGK3銀6056仕入→兵庫", 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 レッド仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1548", life: "56.8", url:"index.php?act=staff&id=1548", img:"user_data/10044.jpg", nen:"平成25年式", soukou:"17583", title:"ミツビシミラージュM シルバ仕入→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1549", life: "88.8", url:"index.php?act=staff&id=1549", img:"user_data/10045.jpg", nen:"平成27年式", soukou:"67738", title:"3⃣トヨタアクアS ピンク6054仕入→千葉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1550", life: "111.8", url:"index.php?act=staff&id=1550", img:"user_data/10046.jpg", nen:"平成28年式", soukou:"40784", title:"3⃣トヨタアクアL銀6081仕入→千葉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1551", life: "74.8", url:"index.php?act=staff&id=1551", img:"user_data/10047.jpg", nen:"平成28年式", soukou:"53953", title:"3⃣ニッサンラティオX シルバ 仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1552", life: "108.8", url:"index.php?act=staff&id=1552", img:"user_data/10048.jpg", nen:"平成28年式", soukou:"52208", title:"3⃣ホンダフィットHVGP5白6065仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1554", life: "68.8", url:"index.php?act=staff&id=1554", img:"user_data/10049.jpg", nen:"平成25年式", soukou:"60915", title:"3⃣ホンダフィットGK3青6060仕入→栃木", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1555", life: "78.8", url:"index.php?act=staff&id=1555", img:"user_data/10050.jpg", nen:"平成26年式", soukou:"55996", title:"3⃣ホンダフィットGK3白6071仕入→大阪", 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: "1561", life: "45.8", url:"index.php?act=staff&id=1561", img:"user_data/10055.jpg", nen:"平成24年式", soukou:"65111", title:"2⃣ミツビシミラージュG ブルー 仕入→愛知", 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 ブルー 仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1563", life: "116.8", url:"index.php?act=staff&id=1563", img:"user_data/10064.jpg", nen:"平成28年式", soukou:"37030", title:"3⃣トヨタアクアS水色6064仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1564", life: "75.8", url:"index.php?act=staff&id=1564", img:"user_data/10057.jpg", nen:"平成28年式", soukou:"24197", title:"2⃣トヨタパッソ シルバー 仕入→栃木", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1569", life: "98.8", url:"index.php?act=staff&id=1569", img:"user_data/10066.jpg", nen:"平成25年式", soukou:"33631", title:"3⃣ホンダフィットHV黄色6062 仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1570", life: "108.8", url:"index.php?act=staff&id=1570", img:"user_data/10065.jpg", nen:"平成28年式", soukou:"63798", title:"3⃣ホンダフィット銀HV6069仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1571", life: "98.8", url:"index.php?act=staff&id=1571", img:"user_data/10063.jpg", nen:"平成27年式", soukou:"65599", title:"3⃣ホンダフィットHV銀6073仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1573", life: "84.8", url:"index.php?act=staff&id=1573", img:"user_data/10073.jpg", nen:"平成25年式", soukou:"72840", title:"3⃣ホンダフィットHV黄色6072仕入→岐阜", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1574", life: "98.8", url:"index.php?act=staff&id=1574", img:"user_data/10074.jpg", nen:"平成27年式", soukou:"71133", title:"3⃣ホンダフィットHV黄色6068仕入→岐阜", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1575", life: "98.8", url:"index.php?act=staff&id=1575", img:"user_data/10071.jpg", nen:"平成27年式", soukou:"35785", title:"3⃣トヨタアクアG黄色仕入→岐阜", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1576", life: "108.8", url:"index.php?act=staff&id=1576", img:"user_data/10068.jpg", nen:"平成28年式", soukou:"75179", title:"3⃣ホンダフィットHV銀6077仕入→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1577", life: "108.8", url:"index.php?act=staff&id=1577", img:"user_data/10075.jpg", nen:"平成28年式", soukou:"73826", title:"3⃣ホンダフィットHV仕入→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1578", life: "108.8", url:"index.php?act=staff&id=1578", img:"user_data/10067.jpg", nen:"平成28年式", soukou:"65731", title:"3⃣ホンダフィットHV仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1579", life: "86.8", url:"index.php?act=staff&id=1579", img:"user_data/10069.jpg", nen:"平成26年式", soukou:"73578", title:"3⃣ホンダフィットHV銀6082仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1580", life: "108.8", url:"index.php?act=staff&id=1580", img:"user_data/10070.jpg", nen:"平成28年式", soukou:"70459", title:"3⃣ホンダフィットHV仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1581", life: "78.8", url:"index.php?act=staff&id=1581", img:"user_data/10072.jpg", nen:"平成26年式", soukou:"67131", title:"3⃣ホンダフィットGK3黒6074仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1582", life: "108.8", url:"index.php?act=staff&id=1582", img:"user_data/10083.jpg", nen:"平成28年式", soukou:"43185", title:"3⃣ホンダフィットHV白6095仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1583", life: "98.8", url:"index.php?act=staff&id=1583", img:"user_data/10086.jpg", nen:"平成28年式", soukou:"61130", title:"3⃣ホンダフィットGK3白6099仕入→福岡", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1584", life: "78.8", url:"index.php?act=staff&id=1584", img:"user_data/10091.jpg", nen:"平成26年式", soukou:"20244", title:"3⃣ホンダフィットGK3白6076仕入→福岡", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1585", life: "78.8", url:"index.php?act=staff&id=1585", img:"user_data/10085.jpg", nen:"平成26年式", soukou:"68939", title:"3⃣ホンダフィットGK3白仕入→広島", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1586", life: "88.8", url:"index.php?act=staff&id=1586", img:"user_data/10087.jpg", nen:"平成27年式", soukou:"58916", title:"3⃣ホンダフィットGK3銀仕入→広島", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1587", life: "84.8", url:"index.php?act=staff&id=1587", img:"user_data/10089.jpg", nen:"平成27年式", soukou:"57851", title:"3⃣ホンダフィットGK3青仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1588", life: "78.8", url:"index.php?act=staff&id=1588", img:"user_data/10088.jpg", nen:"平成26年式", soukou:"56549", title:"3⃣ホンダフィットGK3仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1589", life: "96.8", url:"index.php?act=staff&id=1589", img:"user_data/10079.jpg", nen:"平成26年式", soukou:"12659", title:"3⃣ホンダフィットGK3銀仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1590", life: "98.8", url:"index.php?act=staff&id=1590", img:"user_data/10081.jpg", nen:"平成28年式", soukou:"76965", title:"3⃣トヨタアクアS白6102仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1592", life: "78.8", url:"index.php?act=staff&id=1592", img:"user_data/10107.jpg", nen:"平成26年式", soukou:"77482", title:"3⃣ホンダフィットHV銀6097仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1593", life: "111.8", url:"index.php?act=staff&id=1593", img:"user_data/10095.jpg", nen:"平成28年式", soukou:"41545", title:"3⃣トヨタアクアS白6100仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1594", life: "111.8", url:"index.php?act=staff&id=1594", img:"user_data/10109.jpg", nen:"平成28年式", soukou:"70970", title:"3⃣トヨタアクアS銀6103仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1595", life: "108.8", url:"index.php?act=staff&id=1595", img:"user_data/10076.jpg", nen:"平成28年式", soukou:"26645", title:"3⃣ホンダフィットHV銀仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1596", life: "78.8", url:"index.php?act=staff&id=1596", img:"user_data/10077.jpg", nen:"平成26年式", soukou:"68170", title:"3⃣ホンダフィットHV白6078仕入→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1597", life: "78.8", url:"index.php?act=staff&id=1597", img:"user_data/10082.jpg", nen:"平成26年式", soukou:"60540", title:"3⃣ホンダフィットGK3白6088仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1598", life: "78.8", url:"index.php?act=staff&id=1598", img:"user_data/10078.jpg", nen:"平成26年式", soukou:"62851", title:"3⃣ホンダフィットGK3黒仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1599", life: "98.8", url:"index.php?act=staff&id=1599", img:"user_data/10094.jpg", nen:"平成28年式", soukou:"64083", title:"3⃣トヨタアクアS シルバー 仕入→兵庫", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1600", life: "111.8", url:"index.php?act=staff&id=1600", img:"user_data/10090.jpg", nen:"平成28年式", soukou:"78440", title:"3⃣トヨタアクアL白6098仕入→神奈川", 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青仕入→岡山", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1605", life: "78.8", url:"index.php?act=staff&id=1605", img:"user_data/10103.jpg", nen:"平成26年式", soukou:"72990", title:"3⃣ホンダフィットGK3赤6085仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1606", life: "78.8", url:"index.php?act=staff&id=1606", img:"user_data/10106.jpg", nen:"平成25年式", soukou:"42458", title:"3⃣ホンダフィットGK3赤6084仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1607", life: "98.8", url:"index.php?act=staff&id=1607", img:"user_data/10111.jpg", nen:"平成28年式", soukou:"64569", title:"3⃣トヨタアクアL銀6094仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1608", life: "78.8", url:"index.php?act=staff&id=1608", img:"user_data/10096.jpg", nen:"平成26年式", soukou:"35030", title:"3⃣トヨタアクアSオレンジ6086仕入→岐阜", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1611", life: "98.8", url:"index.php?act=staff&id=1611", img:"user_data/10097.jpg", nen:"平成27年式", soukou:"41385", title:"3⃣ホンダフィットGK銀6091仕入→大阪", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1612", life: "68.8", url:"index.php?act=staff&id=1612", img:"user_data/10092.jpg", nen:"平成25年式", soukou:"57351", title:"3⃣ホンダフィットGK3赤6089仕入→福岡", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1613", life: "98.8", url:"index.php?act=staff&id=1613", img:"user_data/10105.jpg", nen:"平成28年式", soukou:"74065", title:"3⃣トヨタアクアL銀6092仕入→愛媛", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1615", life: "98.8", url:"index.php?act=staff&id=1615", img:"user_data/10104.jpg", nen:"平成28年式", soukou:"52911", title:"3⃣トヨタアクア S ホワイト仕入→兵庫", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1617", life: "86.8", url:"index.php?act=staff&id=1617", img:"user_data/10099.jpg", nen:"平成26年式", soukou:"71211", title:"3⃣ホンダフィットHVシルバー仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1618", life: "98.8", url:"index.php?act=staff&id=1618", img:"user_data/10118.jpg", nen:"平成28年式", soukou:"42985", title:"3⃣トヨタアクアSシルバー 仕入→埼玉", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1619", life: "111.8", url:"index.php?act=staff&id=1619", img:"user_data/10114.jpg", nen:"平成28年式", soukou:"72976", title:"3⃣トヨタアクア S銀6093仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1620", life: "86.8", url:"index.php?act=staff&id=1620", img:"user_data/10108.jpg", nen:"平成27年式", soukou:"58606", title:"3⃣ホンダフィットGK3シルバー仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1621", life: "78.8", url:"index.php?act=staff&id=1621", img:"user_data/10113.jpg", nen:"平成25年式", soukou:"69421", title:"3⃣ホンダフィットHV白6090仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1622", life: "111.8", url:"index.php?act=staff&id=1622", img:"user_data/10115.jpg", nen:"平成28年式", soukou:"67082", title:"3⃣トヨタアクアS銀6096仕入→兵庫", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1623", life: "88.8", url:"index.php?act=staff&id=1623", img:"user_data/10122.jpg", nen:"平成27年式", soukou:"28895", title:"3⃣ホンダフィットGK3ブルー仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1625", life: "96.8", url:"index.php?act=staff&id=1625", img:"user_data/10119.jpg", nen:"平成28年式", soukou:"60404", title:"3⃣ホンダフィットGK3シルバー仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1626", life: "83.8", url:"index.php?act=staff&id=1626", img:"user_data/10123.jpg", nen:"平成26年式", soukou:"44929", title:"3⃣ホンダフィットGK3シルバー仕入→東京", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1627", life: "108.8", url:"index.php?act=staff&id=1627", img:"user_data/10125.jpg", nen:"平成28年式", soukou:"75360", title:"3⃣ホンダフィットHVシルバー仕入→神奈川", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1628", life: "92.8", url:"index.php?act=staff&id=1628", img:"user_data/10121.jpg", nen:"平成26年式", soukou:"68628", title:"3⃣ホンダフィットHVブラック仕入→愛知", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1629", life: "78.8", url:"index.php?act=staff&id=1629", img:"user_data/10126.jpg", nen:"平成26年式", soukou:"63082", title:"3⃣ホンダフィットGK3シルバー仕入→兵庫", sold:"", new:"", tag: ["新着","販売中","","AT",""], description: "tesut" }, { id: "1145", life: "48.8", url:"index.php?act=staff&id=1145", img:"user_data/7691.jpg", nen:"平成24年式", soukou:"73000", title:"キューブ 15X Mセレクション5626 茶 仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1138", life: "68.8", url:"index.php?act=staff&id=1138", img:"user_data/7688.jpg", nen:"平成24年式", soukou:"74000", title:"3⃣トヨタアクアS シルバー5628仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1136", life: "68.8", url:"index.php?act=staff&id=1136", img:"user_data/7686.jpg", nen:"平成25年式", soukou:"40216", title:"3⃣ホンダフィットGK3 5636 仕入→兵庫", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1135", life: "83.8", url:"index.php?act=staff&id=1135", img:"user_data/7685.jpg", nen:"平成27年式", soukou:"64000", title:"3⃣ホンダフィットGK3 5629仕入→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1115", life: "58.8", url:"index.php?act=staff&id=1115", img:"user_data/7601.jpg", nen:"平成24年式", soukou:"85621", title:"キューブ15X Mセレクション5608 グレー 仕入先→愛知", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1105", life: "108.8", url:"index.php?act=staff&id=1105", img:"user_data/7579.jpg", nen:"平成30年式", soukou:"49348", title:"4⃣ホンダフィットGK3 青5658仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1104", life: "108.8", url:"index.php?act=staff&id=1104", img:"user_data/7578.jpg", nen:"平成30年式", soukou:"44740", title:"4⃣ホンダフィットGK3青5657仕入→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1090", life: "58.8", url:"index.php?act=staff&id=1090", img:"user_data/7574.jpg", nen:"平成25年式", soukou:"90845", title:"キューブ15Xグレー5534 ニッサン 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1056", life: "73.8", url:"index.php?act=staff&id=1056", img:"user_data/7142.jpg", nen:"平成29年式", soukou:"41500", title:"4⃣トヨタカローラアクシオ1.3X5452黒仕入先→岡山", 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紫5581 ニッサン 仕入先→福岡", 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銀5836ニッサン 仕入先→福岡", 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: "1027", life: "88.8", url:"index.php?act=staff&id=1027", img:"user_data/7134.jpg", nen:"平成27年式", soukou:"80301", title:"3⃣トヨタアクア S ホワイト5710仕入先:沖縄", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1025", life: "78.8", url:"index.php?act=staff&id=1025", img:"user_data/6943.jpg", nen:"平成26年式", soukou:"72923", title:"3⃣ホンダフィットGK3 6031 仕入:兵庫", 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:"ニッサンマーチ紫5439仕入先→福岡", 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: "1013", life: "58.8", url:"index.php?act=staff&id=1013", img:"user_data/6960.jpg", nen:"平成24年式", soukou:"51725", title:"ノートX 銀5875 仕入先→福岡", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1006", life: "68.8", url:"index.php?act=staff&id=1006", img:"user_data/6980.jpg", nen:"平成26年式", soukou:"79402", title:"3⃣ホンダフィットGK3銀 6027", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "997", life: "73.8", url:"index.php?act=staff&id=997", img:"user_data/6929.jpg", nen:"平成26年式", soukou:"81655", title:"3⃣ホンダフィットHV赤5917仕入→埼玉", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "990", life: "88.8", url:"index.php?act=staff&id=990", img:"user_data/6942.jpg", nen:"平成25年式", soukou:"41600", title:"3⃣トヨタアクアG赤5713仕入先→埼玉", 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: "965", life: "83.8", url:"index.php?act=staff&id=965", img:"user_data/6816.jpg", nen:"平成26年式", soukou:"50847", title:"3⃣ホンダフィットHV銀仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "963", life: "74.8", url:"index.php?act=staff&id=963", img:"user_data/6815.jpg", nen:"平成27年式", soukou:"76916", title:"3⃣ホンダフィットHV銀6029仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "961", life: "58.8", url:"index.php?act=staff&id=961", img:"user_data/6817.jpg", nen:"平成26年式", soukou:"89925", title:"ノート銀6007 ニッサン 仕入先→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "943", life: "74.8", url:"index.php?act=staff&id=943", img:"user_data/6792.jpg", nen:"平成27年式", soukou:"77899", title:"3⃣ホンダフィットHV仕入→神奈川", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "889", life: "68.8", url:"index.php?act=staff&id=889", img:"user_data/6368.jpg", nen:"平成26年式", soukou:"91520", title:"ノート白5256 ニッサン 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "888", life: "68.8", url:"index.php?act=staff&id=888", img:"user_data/6367.jpg", nen:"平成26年式", soukou:"75900", title:"ノート銀5248 ニッサン 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "886", life: "68.8", url:"index.php?act=staff&id=886", img:"user_data/6365.jpg", nen:"平成25年式", soukou:"90908", title:"ノート銀5252 ニッサン 仕入先→東京", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "872", life: "78.8", url:"index.php?act=staff&id=872", img:"user_data/6252.jpg", nen:"平成26年式", soukou:"77994", title:"3⃣トヨタアクア銀5208仕入先→沖縄", 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: "823", life: "28.8", url:"index.php?act=staff&id=823", img:"user_data/5710.jpg", nen:"平成22年式", soukou:"80543", title:"パッソ紫5131 トヨタ 仕入先→関西", 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: "771", life: "68.8", url:"index.php?act=staff&id=771", img:"user_data/4909.jpg", nen:"平成26年式", soukou:"43289", title:"ノート白5598 ニッサン", 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:"ミラージュ緑5619 ミツビシ", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "529", life: "28.8", url:"index.php?act=staff&id=529", img:"user_data/3927.jpg", nen:"平成22年式", soukou:"80924", title:"マーチ銀5588 ニッサン", 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: "397", life: "58.8", url:"index.php?act=staff&id=397", img:"user_data/2148.jpg", nen:"平成27年式", soukou:"77097", title:"キューブ銀6026 ニッサン 仕入→沖縄", 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: "294", life: "28.8", url:"index.php?act=staff&id=294", img:"user_data/1845.jpg", nen:"平成25年式", soukou:"83421", title:"ミラージュ黒5877 ミツビシ仕入先→大阪", sold:"", new:"", tag: ["","販売中","","AT",""], description: "tesut" }, { id: "1624", life: "88.8", url:"index.php?act=staff&id=1624", img:"./img/nophoto.png", nen:"平成27年式", soukou:"40571", title:"3⃣ホンダフィットGK3シルバー仕入→東京", 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(); });