var plan_key = ''; var meet_loc_url = '/dc/meet-location'; // handy images var img_zipmarker, img_youarehere, img_nomatch, img_expanded, img_unknown; img_youarehere = "/images/zipmarker-youarehere.png"; img_nomatch = "/images/zipmarker-reserved.png"; img_expanded = "/images/zipmarker-viewing.png"; img_zipmarker = "/images/zipmarker.png"; img_unknown = "/images/zipmarker-unknown.png"; img_shadow = "/images/zipshadow.png"; // create a data structure for all the locations var locs = [ [68893126,'+Rhode+Island+Avenue+Metro+',38.92062153254231,-76.99534177780151],[68891921,'+Scott+Circle+West+-+On+Street+',38.90701426313049,-77.03754901885986],[127002355,'1150+15th+St+NW+at+The+Washington+Post+',38.904927027872844,-77.03495264053345],[65840433,'11th%2fC+St+SE',38.8864731993238,-76.9917368888855],[18554877,'11th%2fG+St++NW+-+On+Street',38.8983,-77.02701],[21172034,'11th%2fIndependence+Av+SE',38.88690328654797,-76.99201583862305],[19932274,'11th%2fM+St+NW',38.90586211685612,-77.02675580978394],[19266839,'11th%2fOtis+St+NW',38.93415364656735,-77.02898191205932],[68892461,'1250+New+Hampshire%2e+Ave%2e%2c+N%2eW%2e',38.906201,-77.046697],[68892548,'12th+St%2e+%26+H+St%2e+NW',38.899837,-77.029119],[48646986,'12th%2fEuclid+St+NW',38.92406050291818,-77.02834367752075],[68890437,'12th%2fH+Street+NE+-+On+Street',38.899987,-76.990224],[5881494,'12th%2fN+St+NW',38.90759799999999,-77.02875899999994],[173157322,'1324+T+St+NW',38.9152457206756,-77.03078985214233],[8287733,'13th%2fN+St+NW',38.907555,-77.029603],[34811106,'13th%2fR+St+NW',38.91280810657283,-77.03042507171631],[5566009,'13th%2fU+St+NW+at+The+Ellington',38.91734355100694,-77.03021670459657],[166692495,'1425+Newton+St+NW',38.93289088164958,-77.03469514846802],[11048126,'1436+Meridian+Place%2c+NW',38.93345113709586,-77.03337330864002],[18554419,'14th%2fChapin+St+NW+-+On+Street',38.9219716821698,-77.03204780817032],[20452405,'14th%2fCorcoran+St+NW',38.912078,-77.032],[18540207,'14th%2fN+St+NW+-+On+Street',38.90721463448684,-77.03186273574829],[15543773,'14th%2fPotomac+Av+SE+-+On+Street',38.880032,-76.985499],[15712360,'14th%2fQ+St+NW+-+On+Street',38.911154,-77.031988],[17765519,'14th%2fQ+St+West',38.91148908869224,-77.03308582305908],[15535460,'14th%2fU+St+NW+at+DDOT+-+On+Street',38.917002,-77.031899],[68891274,'15th+%26+Euclid%2c+N%2eW%2e',38.92264153048681,-77.03495264053345],[68890928,'15th+St%2e+and+Fuller+St%2e+NW',38.92453,-77.035373],[184854110,'15th%2fCaroline+St+NW',38.91613058727406,-77.03490972518921],[26718997,'15th%2fColumbia+NW',38.927095,-77.035511],[4672161,'15th%2fN+St+NW',38.9072,-77.03305],[18539952,'15th%2fPennsylvania+Av+NW+-+On+Street',38.89634367153004,-77.03345060348511],[10810064,'15th%2fT+St+NW+East',38.915603,-77.034499],[18403479,'15th%2fU+St+NW',38.91646151322497,-77.03478127098812],[68893522,'16th+and+Columbia%2c+N%2eW%2e',38.92629741358616,-77.0376992225647],[95766,'16th+St%2fKalorama+Rd+NW',38.922884834449846,-77.03651519565824],[68073608,'16th%2fC+St+NE',38.89350458993578,-76.98257446289062],[1563938,'16th%2fU+St+NW+at+Camden+Roosevelt',38.91865156180428,-77.03606843948364],[68893750,'17th+and+O%2c+N%2eW%2e',38.90859217225187,-77.03832417726517],[19269066,'17th%2fKalorama+North',38.921281,-77.038939],[26798610,'17th%2fL+St+NW',38.903026000000004,-77.03861900000001],[17487135,'17th%2fU+St+NW',38.91698013591237,-77.04001225251328],[68894737,'18th+%26+Columbia%2c+N%2eW%2e',38.92334267335279,-77.0431923866272],[68893788,'18th+St+%26+Massachusetts+Ave%2c+N%2eW%2e',38.909139,-77.042072],[95706,'18th%2fCalifornia+St+NW',38.917796343518184,-77.0416719884816],[15535552,'18th%2fKalorama+St+NW+-+On+Street',38.919702,-77.041798],[4059302,'18th%2fLamont+St+NW',38.9315,-77.042851],[19076490,'18th%2fSwann+St+NW',38.91482862632381,-77.04188372434587],[68891239,'1990+M+St+NW',38.905411271919604,-77.04469442367554],[68892274,'19th+St%2fCalifornia+St%2e+N%2eW+-+On+Street',38.91782,-77.044164],[185186340,'200+North+Stonestreet',39.086703,-77.14753],[68891162,'201+8th+St%2e%2c+N%2eE%2e',38.892164,-76.994932],[21142560,'2010+Crystal+Dr+-+On+Street',38.855800851815275,-77.04952239990234],[3980028,'20th%2fF+St+NW',38.89662757344726,-77.04463005065918],[7433292,'21st%2fK+St+NW',38.90320709990464,-77.046217918396],[15712093,'21st%2fPennsylvania+Av+-+On+Street',38.901397059320985,-77.04683561149413],[11592763,'23rd%2fI+St+NW',38.899789,-77.050099],[28370091,'24th%2fM+St+at+the+2400+M+Street+Apartments',38.905359999999995,-77.05187800000004],[68893058,'2797+Ordway+On+Street+%28East+of+Connecticut%29',38.935594860942494,-77.05789089202881],[15712463,'2901+Ordway+On+Street+%28West+of+Connecticut%29',38.93561572457945,-77.05888196825981],[68891319,'2917+13th+St%2c+N%2eW%2e',38.92741584247067,-77.02930927276611],[20956154,'3rd%2fC+St+SE',38.88589936009422,-77.00205006110635],[92831270,'3rd%2fM+St+SW',38.87858919747073,-77.01566219329834],[189553937,'5th+and+H+St+NW',38.90020130051278,-77.01832294464111],[15543809,'5th%2fF+St+NW+-+On+Street',38.8973,-77.018928],[68891407,'6th+St+and+New+York+Ave%2e+NW',38.903467,-77.020252],[68893444,'6th%2fI+St+SW+-+On+Street',38.87927,-77.019304],[16671157,'6th%2fNorth+Carolina+St+SE+-+On+Street',38.886189256816834,-76.99862480163574],[68892473,'7th+and+G+St%2c+S%2eE%2e+%28730+7th+St%29',38.880335,-76.996173],[4791340,'7th%2fEast+Capitol+St',38.89005211510959,-76.99493983418037],[18557930,'7th%2fKennedy+St+-+On+Street',38.956335685909984,-77.02231523237378],[29303353,'7th%2fNew+York+Ave',38.90285999999999,-77.02141899999997],[68893249,'7th%2fSouth+Carolina+Ave+SE+-+On+Street',38.88386,-76.996169],[68894422,'800+4th+St%2e%2c+S%2eW%2e',38.88047676061329,-77.01722860336304],[68893210,'814+Thayer+Ave',38.99273819039223,-77.02304363250732],[18540853,'8th%2fD+St+SE+-+On+Street',38.883781,-76.995957],[68891092,'901+South+15th+St%2e+%28The+Metropolitan%2c+Pentagon+City%29',38.86094933434567,-77.060806453228],[68890987,'909+N%2e+Randolph+St+-+On+Street',38.881128208820265,-77.10968971252441],[68892611,'9th+St+and+M+St%2c+N%2eW%2e',38.90594560634496,-77.02443838119507],[68892880,'9th+St%2fUpshur+St%2e+N%2eW+-+On+Street',38.9419,-77.024642],[39406837,'Addison+Road+Metro',38.8868,-76.898199],[596248,'Alban+Towers',38.928556,-77.0737],[177994944,'Alexandria+Tech+Center',38.80190845576971,-77.08278179168701],[5057600,'American+University+-+Main+Campus',38.935886571224486,-77.08734893518997],[5057613,'American+University+-+Tenleytown',38.9458040436,-77.0795138874],[3143259,'American+University+at+The+Berkshire',38.93506989192915,-77.08200425553052],[36648011,'Anacostia+Metro+Kiss+%26+Ride+Parking+Garage',38.86296894151961,-76.9971227645874],[96012,'Archives%2fNavy+Mem%27l+Metro',38.895121,-77.022823],[18539366,'Archives%2fNavy+Mem%27l+Metro+-+On+Street',38.894901,-77.02287899999999],[163027539,'AU+Avalon+at+Foxhall',38.93344170060764,-77.08194494247437],[4444156,'Ballston+Metro+-+On+Street',38.88154580068334,-77.11194276809692],[26383344,'Ballston+Metro+%40+Fairfax+Drive+-+On+Street',38.8821,-77.113203],[34962923,'Ballston+Metro+at+Fairfax+and+N%2e+Stafford',38.882030204169894,-77.11009740829468],[68890802,'Ballston+Metro+at+the+Meridian%2f900+N%2e+Stuart+St',38.880710614502966,-77.11179256439209],[175990043,'Behind+1123+5th+St+NE',38.90439268578113,-76.99907541275024],[205883343,'Behind+1201+N+St+NW',38.907632072996115,-77.02877283096313],[114310486,'Behind+1205+N+St+NW',38.9075819805046,-77.02879428863525],[182831102,'Behind+1222+Euclid+St%2e+NW',38.92339275472094,-77.02890157699585],[106559319,'Behind+1314+King+St',38.805637437928844,-77.05420017242432],[68892011,'Behind+1314+Massachusetts+Ave%2e+NW',38.904860235331306,-77.03068256378174],[68890346,'Behind+1407+Meridian+Pl%2e+NW',38.933487,-77.033171],[68894192,'Behind+1530+Church+St%2e%2c+N%2eW%2e',38.91015334940313,-77.03583240509033],[118373070,'Behind+1616+11th+St+NW',38.911739537010554,-77.02744245529175],[68892710,'Behind+1669+Park+Rd%2c+N%2eW%2e',38.932475,-77.038592],[105160378,'Behind+1737+T+St+NW',38.9158801544505,-77.03997373580933],[114508061,'Behind+1751+Q+St+NW',38.91143899892254,-77.04108953475952],[99554528,'Behind+1771+Church+St+NW',38.9106375577999,-77.04074621200562],[184879850,'Behind+1817+Kilbourne+Pl+NW',38.9308544835116,-77.0421838760376],[68890248,'Behind+1820+T+St+NW',38.91579667664625,-77.04246282577515],[156867034,'Behind+2201+N+St+NW+Westbrooke+Apartments',38.908016114256654,-77.04941511154175],[164698526,'Behind+226+Kentucky+Ave+SE',38.88687405740161,-76.98753118515015],[43392833,'Behind+2732+Ordway+%28Alley%29',38.934340945092465,-77.05688238143921],[120554960,'Behind+3030+Wisconsin+Ave+NW++',38.93095463560673,-77.07336187362671],[105164217,'Behind+3912+New+Hampshire+Ave+NW',38.93898303513861,-77.02270030975342],[68891426,'Behind+4459+Willard+Ave%2e',38.96187,-77.087989],[68891763,'Behind+508+2nd+St%2e+SE',38.882731748192164,-77.00313091278076],[189533507,'Behind+521+Quincy+St+NW',38.9381318341877,-77.01986789703369],[191931549,'Behind+531+Quincy+St%2c+NW',38.9381318341877,-77.02014684677124],[164653743,'Behind+636+Lexington+Pl+NE',38.89572576343402,-76.99705839157104],[68893119,'Behind+637+3rd+St%2c+N%2eE%2e',38.898481258066795,-77.00167179107666],[68894786,'Behind+742+7th+St%2c+S%2eE%2e',38.879954,-76.996178],[68894463,'Benning+Rd+Metro+Kiss+%26+Ride+Lot',38.89070088548774,-76.93757236003876],[18559573,'Benning+Road+Metro+-+On+Street',38.89015286629011,-76.93714186549187],[31945165,'Bethesda+Court+Hotel',38.987348,-77.09528100000003],[36647208,'Bethesda+Metro',38.984156,-77.094106],[96876259,'Bethesda+Metro+at+4507+Avondale',38.986450510730265,-77.09288835525513],[615830,'Braddock+Metro+-+On+Street',38.814,-77.0529],[38435047,'Braddock+Road+Metro',38.8129,-77.053099],[103636604,'Branch+Ave+Metro+',38.826820371949836,-76.91335201263428],[36649022,'Brookland-CUA+Metro',38.93295764781172,-76.99371099472046],[18555138,'Brookland%2fMonroe+St+-+On+Street',38.93245,-76.993143],[191317900,'Burleith+North',38.91561302513129,-77.07147359848022],[95793,'Calvert+St%2fWoodley+Pl+NW',38.923826791764036,-77.05005884170532],[22737268,'Capitol+East+Apartments+at+816+E+St+NE',38.89651999999998,-76.99426499999996],[39421095,'Capitol+Heights+Metro',38.88932926377281,-76.9132661819458],[6120789,'Catholic+University%2fBrookland',38.93274079742218,-76.99722794755232],[68893683,'Champlain+St%2fEuclid+St%2e+N%2eW+-+On+Street',38.923243,-77.041394],[103643504,'Cheverly+Metro+',38.91624745562262,-76.9149398803711],[21175579,'Clarendon+Blvd%2fN+Barton+St+-+On+Street',38.889108,-77.088501],[4443905,'Clarendon+Metro',38.886901198752206,-77.09566712379456],[173056561,'Cleveland+House',38.92453835636375,-77.05661684274673],[36650774,'College+Park+UMD+Metro',38.979011314351524,-76.9296383857727],[30408879,'Columbia+Heights+at+11th%2fMonroe',38.93320802036001,-77.02885866165161],[94072321,'Columbia+Heights+at+the+Dance+Institute+of+Washington',38.931755847276676,-77.03315019607544],[4671951,'Columbia+Heights+Metro',38.926647967820365,-77.03280687332153],[10895988,'Columbia+Pike%2fVeitch+St+-+On+Street',38.863982,-77.081303],[68892764,'Community+Connections+-+Behind+514+6th+St%2c+SE',38.88225,-76.998433],[9067928,'Congress+Heights+Metro',38.844675753358615,-76.98864239976561],[15712775,'Connecticut+Av%2f+Windom+PL+NW+-+On+Street',38.94552738323796,-77.06475161274268],[68890770,'Connecticut+Ave%2fVan+Ness+Metro+-+On+St',38.94322219750925,-77.06329822540283],[22947905,'Connecticut+Heights',38.95291811960943,-77.06956731116315],[34933923,'Connecticut+Plaza',38.928168,-77.05424],[68892115,'Corcoran+St+NW+and+16th+Street+NW',38.91167275087872,-77.03727006912231],[32526840,'Courthouse+at+N%2e+Adams+-+On+Street',38.890064138974715,-77.08767414093018],[4443558,'Courthouse+Metro+-+On+Street',38.8914,-77.0848],[184971640,'Courtyard+Chevy+Chase',38.96401378719851,-77.08816766738892],[96099,'Crystal+City+Metro+at+1900+South+Eads',38.856555,-77.053313],[68891708,'Crystal+Dr%2f18th+St+S+-+On+Street',38.85718774139564,-77.04943656921387],[68891349,'Crystal+Dr%2f20th+St+S+-+On+Street',38.85628543076681,-77.04952239990234],[163246595,'Dunn+Loring-Merrifield+Metro',38.8824811975508,-77.22886562347412],[2730512,'Dupont+Circle+at+18th%2fNew+Hampshire',38.911159,-77.040342],[95751,'Dupont+Circle+at+Church+St',38.91073773843512,-77.04038143157959],[96147,'Dupont+Circle+at+The+Hilton+Embassy+Row',38.910208,-77.045156],[10225474,'Dupont+South+at+1250+Connecticut+Ave%2e',38.90673826725194,-77.04184274321084],[38592394,'East+Falls+Church+Metro',38.8875,-77.156199],[3720032,'Eastern+Market+at+600+Penn',38.885697869513706,-76.99840274008956],[20954825,'Eastern+Market+South+',38.88022620202031,-76.9933032989502],[9355305,'Eisenhower+Av+Metro',38.8012425804265,-77.07172482082964],[177990302,'Eisenhower+Center+III',38.801507118703654,-77.06708550453186],[110759505,'Ellicott+House+',38.952855,-77.068567],[41623516,'Embassy+Suites+at+10th+and+New+York',38.90183780707281,-77.02628374099731],[15321894,'Fairfax+Dr%2fPollard+St+-+On+Street',38.88214712865462,-77.10651397705078],[1970347,'Foggy+Bottom%2fGWU+Metro',38.899719999999995,-77.04943999999995],[38592812,'Forest+Glen+Metro',39.015323,-77.042559],[191371426,'Fort+Slocum+Park+North',38.961394316022286,-77.00963795185089],[73610981,'Fort+Totten+Metro+Kiss+and+Ride+Lot',38.95236724357257,-77.00192928314209],[8675995,'Franconia+Springfield+Metro',38.76713425008897,-77.16818332672119],[17815777,'Friendship+Heights+Metro',38.95890823151278,-77.08574295043945],[76865170,'Gallaudet+University',38.90501051846137,-76.9942045211792],[68891492,'Gallery+Place+Metro+%28Behind+770+5th+St%2e%2c+N%2eW%2e%29',38.89903234416315,-77.01937437057495],[11039159,'Georgetown+Law+School',38.897767417499985,-77.01310637310009],[38791659,'Glenmont+Metro+',39.061519,-77.05282],[4926332,'Glover+Park%2fWisconsin+Av',38.91991370216089,-77.07127402834442],[36649220,'Greenbelt+Metro',39.01064750994083,-76.9094467163086],[95946,'Greenridge+House',38.998888,-76.875132],[68891596,'Grosvenor%2fStrathmore+Metro',39.02911903984565,-77.10301637649536],[32615244,'GWU+at+24th+and+New+Hampshire',38.90168751722692,-77.05119609832764],[120383431,'GWU+at+Mount+Vernon+Campus',38.918868595159566,-77.09037780761719],[3349963,'GWU+South+at+The+Statesman',38.896387115564785,-77.046589724684],[6509779,'GWU+West+at+Foggy+Bottom%2fNew+Hall',38.89882266296136,-77.050428819321],[68893076,'Harry+Thomas+Way+%26+Eckington+Pl+N%2eE%2e+%28New+York+Ave+Metro%29',38.910552,-77.004716],[43975255,'Howard+University+at+6th+and+Bryant',38.920323,-77.018985],[92823403,'Howard+University+at+8th+and+Florida+Ave+NW',38.91638101921387,-77.02317237854004],[4158205,'Howard+University+at+Howard+Center',38.9194417776,-77.0218177512],[4201024,'Howard+University%2f8th+St',38.91976932480928,-77.02313949671743],[163242805,'Huntington+Metro',38.79560385823352,-77.07550764083862],[68893405,'K+St+NE+and+North+Capitol',38.90230537344788,-77.00759410858154],[28851577,'Kalorama+at+California%2fConnecticut+Ave',38.916454,-77.047787],[15535518,'Kalorama%2fChamplain+St+NW+-+On+Street',38.91994443801215,-77.04074308275447],[36530050,'King+Street+Metro',38.8068,-77.0602],[18558804,'L%27Enfant+Metro+-+On+Street',38.886489901788856,-77.02141284942627],[21291878,'L%27Enfant+Metro+at+6th%2fD+St+SW',38.885034341151204,-77.02107296805606],[103820076,'Landover+Metro+',38.933692071447126,-76.88961982727051],[103638925,'Largo+Town+Center+Metro',38.90001760864653,-76.8438720703125],[112523930,'Liaison+Capitol+Hill',38.895525359653675,-77.01092004776001],[4904734,'Lincoln+Park',38.88887732257235,-76.99021334327472],[68894606,'Marie+Mount+Location+%28University+of+Maryland%29',38.984988329478185,-76.94012073590184],[68893490,'Mark+Center+%282001++N%2e+Beauregard+St%2e%29',38.83332278678657,-77.12005376815796],[142911821,'Maryland+Ave%2fEast+Middle+Lane+On+Street',39.08483778613656,-77.15060949325562],[111022831,'Maryland+Parks+and+Planning',38.969576,-76.916757],[3347807,'Meridian+at+Gallery+Place',38.90042375736426,-77.01715843955041],[3737077,'Metro+Center+at+601+13th+St',38.89807858739737,-77.02883806303113],[18560330,'Minnesota+Av+Metro+-+On+Street',38.898965546076205,-76.94547414779663],[18559798,'Minnesota+Av%2fDix+St+-+On+Street',38.893305,-76.94879],[184959613,'Mosaic+at+6210+Belcrest+Rd+%28PG+Metro%29',38.9644559176846,-76.9541323184967],[12091006,'Mt+Pleasant+N+3327+18th+St',38.93289088164958,-77.04070329666138],[15535721,'Mt+Pleasant+St+North+-+On+Street',38.93188360868133,-77.0385505920309],[15535803,'Mt+Pleasant+St+South+-+On+Street',38.92723636317655,-77.03691629006113],[189543459,'Mt+Vernon+Square+East',38.90315700429081,-77.01581239700317],[16297845,'N+Capitol%2fF+St+NW+-+On+Street',38.8973,-77.009385],[68893184,'N+Stafford+St%2fN+Fairfax+Dr+-+On+Street',38.881762947482244,-77.11033344268799],[68893569,'N+Stuart+St%2fFairfax+Dr+-+On+Street',38.88239768047401,-77.11198568344116],[68893916,'N+Utah+St%2fN+Fairfax+Dr+-+On+Street',38.88247075792157,-77.11383104324341],[68893499,'N+Wayne+St%2fWilson+Blvd+-+On+Street',38.890747,-77.086517],[38502125,'Naylor+Road+Metro',38.851634,-76.955555],[73610963,'New+Carrollton+Metro+Kiss+and+Ride',38.94701052578434,-76.87127351760864],[68891986,'New+Hampshire+%26+R+Street%2c+N%2eW%2e',38.91280810657283,-77.04012393951416],[26457851,'New+Hampshire%2fV+St+at+The+Meridian+Towers',38.918219,-77.035404],[92826844,'North+Capitol+St%2fS+St+NW',38.91411040397549,-77.00946092605591],[21175753,'Pentagon+City+at+S%2e+Fern+St+-+On+Street',38.8596885091543,-77.05589927252274],[77896079,'Pentagon+City+at+the+Gramercy',38.86049611575476,-77.05516576766968],[10502953,'Pentagon+Row+-+On+Street',38.8645,-77.063316],[81210024,'Pentagon+Row+at+River+House+Apartments',38.86139837295783,-77.06422090530396],[15543669,'Petworth%2fGeorgia+Av+Metro+-+On+Street',38.941903496193746,-77.023770062667],[185764034,'Potomac+Avenue+South',38.878906578850774,-76.98742389678955],[96141,'Potomac+Metro+at+Kentucky+Ave+SE',38.884581,-76.98574099999998],[39421294,'Prince+George%27s+Plaza+Metro',38.96621607018527,-76.95641756057739],[171966742,'Quebec+House',38.93662968993686,-77.05512285232544],[68891608,'Regents+Drive+Location+%28University+of+Maryland%29',38.98950269024655,-76.94077491760254],[40501140,'Rhode+Island+Ave+at+4th+St+NE',38.921281,-76.996328],[4059210,'Ritz-Carlton+Hotel+at+1150+22nd+Street',38.90440938403236,-77.04920053482056],[36647714,'Rockville+Metro',39.08487109758864,-77.14721918106079],[21138568,'Rosslyn+at+Clarendon+Blvd+-+On+Street',38.89377456820725,-77.07488719841537],[4437715,'Rosslyn+Metro+at+N%2e+Lynn+St+-+On+Street',38.89615830422758,-77.07085738680506],[10503073,'Rosslyn+West+-+On+Street',38.894351719192116,-77.07678599100463],[15712928,'S+Capitol%2fElmira+St+-+On+Street',38.82609,-77.007209],[10502935,'S+Eads%2f18th+St+-+On+Street',38.8578226938644,-77.05156087875366],[68892499,'Safeway%2f1515+Wilson+Blvd+-+On+Street',38.894713,-77.074567],[39406169,'Shady+Grove+Metro',39.11957308181254,-77.16498613357544],[68893353,'Shaw%2fHoward+Univ%2e+Metro+%287th+%26+R%2c+N%2eW%2e%29',38.912841499112446,-77.02218532562256],[10502370,'Shirlington+-+On+Street',38.84121284744941,-77.08666244454447],[91397865,'Silver+Spring+at+Georgia+Ave%2fColesville+Rd',38.99679069582602,-77.0282793045044],[124010669,'Silver+Spring+Metro+-+Temporary+Location+',38.99302170655246,-77.02830076217651],[1775447,'Silver+Spring+Metro+at+Lenox+Park',38.99373883059388,-77.03291416168213],[16707720,'Silver+Spring+Metro+at+The+Summit+Hills',38.995289794946146,-77.03666925430298],[39421598,'Southern+Avenue+Metro',38.84104467749703,-76.97506427764893],[8675816,'Suitland+Metro',38.84376,-76.930009],[18558340,'SW+Waterfront%2fI+St+-+On+Street',38.87927407659931,-77.01887964722127],[36648748,'Takoma+Metro',38.97554164607093,-77.01755046844482],[15543647,'Takoma+Park+at+4th%2fBlair+Rd+-+On+Street',38.97404029460072,-77.01787233352661],[15543623,'Takoma+Park+at+Eastern+Av%2fWillow+St+-+On+Street',38.97288523426892,-77.01498643939435],[20955578,'Tenleytown+at+Martens+Volvo',38.95163268561088,-77.08148074604603],[39406966,'Tenleytown-AU+Metro+at+Fort+Street%2c+NW+-+B',38.94802850019487,-77.07870483398438],[15712831,'Tenleytown%2fAU+Metro+-+On+Street',38.94793113813628,-77.07870527416141],[68890377,'The+Blairs+%281220+East+West+Highway%29',38.99082859607957,-77.03153014183044],[200813565,'The+Envoy',38.92155641477287,-77.03742027282715],[65994508,'The+Fedora+at+14th%2fBelmont+St',38.92087194863331,-77.03357934951782],[156863927,'The+Georgian+Silver+Spring',38.99797471739087,-77.03147649765015],[178002661,'The+Wellington+at+Columbia+Pike',38.86294805652696,-77.07736909389496],[19763924,'Thomas+Circle+South+-+Vermont+Av',38.90491460674354,-77.03241708215623],[16856820,'Tivoli+Square',38.93083858973832,-77.03103738394388],[18558131,'Trinidad%2fMaryland+Ave+NE+-+On+Street',38.90188200275205,-76.97907330473844],[184851394,'Twinbrook+East',39.05934991656528,-77.11526870727539],[8675939,'Twinbrook+Metro',39.06111078777798,-77.12107976777216],[9645418,'U+St+Metro+at+13th%2fT+St+NW',38.91565,-77.029599],[24879274,'U+Street+Metro+-+13th+and+U+',38.916481191742335,-77.0291805267334],[41618876,'U+Street+Metro+at+9th+and+U',38.91661475489368,-77.02428817749023],[10810185,'Union+Station',38.89762957114211,-77.00310945510864],[42642756,'Union+Station+at+2nd+and+G+St+NE',38.89966692285501,-77.00321674346924],[10416348,'Union+Station+East',38.89761602129189,-76.9999786270297],[68893359,'Union+Station+Parking+Garage',38.89699497424361,-77.00546979904175],[48481407,'University+Town+Center',38.969481,-76.953845],[68891247,'V+Street%2fM%2eL%2eK%2e+Ave%2e+S%2eE%2e+-+On+Street',38.86552521828919,-76.99002027511597],[68893729,'Van+Munching+Hall+Location+%28University+of+Maryland%29',38.98262508402536,-76.9461654533173],[95760,'Van+Ness+Metro+at+Chesapeake+St%2e',38.949686496752975,-77.06662266951965],[6192115,'Van+Ness+Metro+at+the+Albemarle',38.94794138342004,-77.0655844807658],[38502396,'Vienna+Metro',38.87381160122825,-77.26418495178223],[13988874,'Virginia+Av%2fInternational+House',38.896504,-77.048898],[68894757,'Virginia+Square+Metro%2f932+N%2e+Monroe+St+-+On+Street',38.882854,-77.103057],[68892399,'Washington+National+Cathedral+campus',38.92946903168711,-77.07269668579102],[68890218,'Waterfront-Southeastern+Univ%2e+Metro+%28401+M+St%2e%2c+S%2eW%2e%29',38.876521,-77.017531],[38503385,'West+Falls+Church+Metro',38.900251398212006,-77.18899726867676],[68892075,'West+Hyattsville+Metro+Kiss+and+Ride',38.95478681201972,-76.9663953781128],[38809047,'Wheaton+Metro',39.03768632392173,-77.05136775970459],[68891632,'Wilson+Blvd%2fN%2e+Lynn+St+-+On+Street',38.89512455039652,-77.07050800323486],[10736211,'Wilson+Blvd%2fRhodes+St+-+On+Street',38.893019,-77.080838],[11146892,'Wisconsin+Av%2fO+St+NW+%28CVS%29',38.908414,-77.063904],[68890504,'Wisconsin+Ave%2fBrandywine+St%2e%2c+N%2eW+-+On+Street',38.94968,-77.079994],[26274687,'Woodley+Park+at+Woodley+Place',38.92502499999999,-77.05157],[68892588,'Woodley+Park+Metro+%2824th+%26+Calvert%2c+N%2eW%2e%29',38.92412727739223,-77.05229043960571],[3401834,'Woodley+Park+Metro+at+Calvert+House',38.92342441939428,-77.05263444209946],[43406378,'Woodley+Park+North',38.925996937149534,-77.05211877822876],[68894399,'Wyoming+Ave%2f18th+St%2e+N%2eW%2e+-+On+Street',38.918684,-77.041678],[68893087,'Wyoming+Ave%2fColumbia+Rd%2e+N%2eW+-+On+Street',38.9179503725813,-77.04518795013428]]; // create a data structure for all the location groups var loc_grps = [ [96189, 38.9224375973906195, -77.039685792155975, 15],[5105047, 38.9468252762816086, -77.082342882522613, 15],[2929947, 38.89344313610483590909090909090909090909, -76.99592615660887636363636363636363636364, 15],[24346496, 38.88320697216096331578947368421052631579, -76.99436278528247578947368421052631578947, 15],[596309, 38.92997497210139433333333333333333333333, -77.07673096308044, 15],[6120925, 38.93625893391015228571428571428571428571, -76.99818842215246714285714285714285714286, 15],[96193, 38.93535288722682777777777777777777777778, -77.05813486213201333333333333333333333333, 15],[1052219, 38.93037997427449310714285714285714285714, -77.03150405991268464285714285714285714286, 15],[1849123, 38.9027815997459726, -77.03645882660848, 15],[96192, 38.899116982336447, -77.024923284706392, 15],[96194, 38.91317567731497517647058823529411764706, -77.04118156921290470588235294117647058824, 15],[24347182, 38.90774960283547914285714285714285714286, -77.04454031496116857142857142857142857143, 15],[24347226, 38.89912455079137375, -77.0195896439712, 15],[96195, 38.90551940152727333333333333333333333333, -77.05513268888346166666666666666666666667, 15],[1971977, 38.901242398612452, -77.05181778972307769230769230769230769231, 15],[1857220, 38.9087861541895240625, -77.03136578111284875, 15],[24347331, 38.89328107446351375, -76.942244593331815, 15],[8728762, 38.90890893519811611111111111111111111111, -76.97671757772318888888888888888888888889, 15],[4709204, 38.90780321769118, -77.037936598062515, 15],[24347279, 38.905233329946296, -77.022034826025325, 15],[8728767, 38.845825738975645, -76.975707632870602, 15],[17819057, 38.88080789680334142857142857142857142857, -77.01872732305214, 15],[5998873, 38.91695055028551852941176470588235294118, -77.02814038815615882352941176470588235294, 15],[24347397, 38.89834017094969777777777777777777777778, -77.00693998860084666666666666666666666667, 15],[1652812, 38.94869176342160916666666666666666666667, -77.06639854993235166666666666666666666667, 15],[1652816, 38.925108685140016, -77.05226850032785, 15],[39407379, 38.9350602199378676, -76.92074442170868, 15],[96196, 39.00203302092540083333333333333333333333, -77.09908986115193333333333333333333333333, 15],[96171, 38.983404415640951, -76.92429773428728333333333333333333333333, 15],[8728724, 39.08274094498016666666666666666666666667, -77.14111554715656666666666666666666666667, 15],[1778794, 38.996963191472647, -77.03184659433174125, 15],[67955472, 39.03817610797391, -77.04891558656819666666666666666666666667, 15],[24347443, 38.837208349815622, -76.93947509676107, 15],[1818658, 38.9790515013836125, -77.0208308507619775, 15],[96190, 38.8040056487937768, -77.08057360251906, 15],[24347517, 38.88184171343668854545454545454545454545, -77.11014934416337363636363636363636363636, 15],[24347511, 38.888004599376103, -77.09208406189728, 15],[24347493, 38.8911341716333662, -77.084855626386962, 15],[38575222, 38.9178693728536722, -77.265071110272218, 15],[1734454, 38.858371304156235, -77.06139216807200153846153846153846153846, 15],[96191, 38.89452352367057766666666666666666666667, -77.07474059657665333333333333333333333333, 15],[8728772, 38.9062184586831375, -77.327646017074585, 15],[24347531, 38.87178687429801056, -77.0284358362461136, 15],[24347702, 38.90530579605097572413793103448275862069, -76.99706574094390103448275862068965517241, 15],[24347746, 38.89476961657139418518518518518518518519, -77.04624928580120777777777777777777777778, 15],[24347755, 38.9568460503752712, -77.0484191256266866, 15],[24347763, 38.872569416311566, -77.04160135280576862068965517241379310345, 15]]; // even though we have vehicle_id, it is not relevant at this stage since it will just be used for // counting up how many vehicles match said criteria. we will leave it out of the array. // make, model, location, amenity list var vehicles = [ [94564,742432,20452405,['']],[4264850,4264866,6120789,[49167247,'']],[4264850,4264866,11592763,[49167247,'']],[94564,742432,68893126,['']],[4264850,4264866,77896079,[49167247,'']],[4264850,4264866,10225474,['']],[4264850,4264866,103638925,[49167247,'']],[4264850,4264866,20452405,[49167247,'']],[4264850,4264866,189543459,[49167247,'']],[4264850,4264865,4059302,[49167247,'']],[4264850,4264866,20452405,[49167247,'']],[2190563,6869299,22737268,['']],[2190563,6869299,184851394,['']],[94563,33798998,166692495,['']],[94563,33798998,191371426,['']],[94563,33798998,124010669,['']],[4264850,4264866,73610963,['']],[2968515,1014543,20452405,[485650,'']],[4264850,4264866,12091006,[49167247,'']],[4264850,4264866,39421095,[49167247,'']],[4264850,4264866,31945165,[49167247,'']],[94564,742432,9645418,['']],[94564,742432,4437715,['']],[4264850,4264866,120383431,[49167247,'']],[3140121,22855272,68891407,[485650,49167247,'']],[2190563,6869299,9067928,[49167247,'']],[94564,742432,20452405,['']],[4264850,4264866,68893916,[49167247,'']],[2190563,6869299,39406837,[49167247,'']],[4264850,4264866,48481407,[49167247,'']],[4264850,4264865,29303353,[49167247,'']],[2190563,6869299,95706,[49167247,'']],[2190563,6869299,4672161,[49167247,'']],[2190563,9876627,189543459,[49167247,'']],[94564,742432,4671951,['']],[94564,3398752,127002355,[49167247,'']],[29744489,29744656,92823403,['']],[94563,94567,103638925,[49167247,'']],[5240856,5240857,3349963,['']],[5240856,5240857,19932274,['']],[5240856,5240857,29303353,[49167247,'']],[5240856,5240857,16856820,['']],[2190563,6869299,26274687,[49167247,'']],[2190563,6869299,36530050,[49167247,'']],[2190563,6869299,112523930,[49167247,'']],[2190563,6869299,34962923,[49167247,'']],[5240856,5240857,3720032,['']],[5240856,5240857,10502953,['']],[5240856,5240857,4201024,['']],[94564,50774520,8675939,['']],[94564,50774520,38592394,[49167247,'']],[94564,50774520,4671951,[49167247,'']],[94564,50774520,15543773,['']],[2190563,18381550,7433292,['']],[2190563,6869299,68892011,[49167247,'']],[2190563,6869299,3980028,['']],[2190563,6869299,26457851,[49167247,'']],[2190563,6869299,13988874,[49167247,'']],[2968515,1014543,68891319,[485650,'']],[2968515,1014543,26798610,[485650,'']],[29744489,29744656,38592812,['']],[29744489,29744656,6120789,['']],[29744489,29744656,15535460,['']],[2190563,6869299,30408879,[49167247,'']],[2190563,6869299,40501140,[49167247,'']],[94563,94567,34933923,[49167247,'']],[94564,742432,38435047,['']],[94564,742432,38502396,['']],[94564,50774520,191931549,['']],[94563,94567,68890504,[49167247,'']],[4264850,4264866,38502125,[49167247,'']],[2190563,6869299,18559573,[49167247,'']],[2190563,6869299,15535552,[49167247,'']],[29744489,29744656,184959613,['']],[29744489,29744656,39421095,['']],[29744489,29744656,8675816,['']],[29744489,29744656,106559319,['']],[2190563,6869299,10736211,[49167247,'']],[29744489,29744656,10503073,['']],[94564,742432,39421294,['']],[94564,742432,15712463,['']],[2190563,6869299,103636604,[49167247,'']],[2190563,6869299,38791659,[49167247,'']],[94562,5107542,34811106,['']],[94562,5107542,19932274,['']],[5240856,5240857,20955578,[485650,'']],[5240856,5240857,68891407,[485650,'']],[94564,50774520,48646986,[49167247,'']],[94564,50774520,4926332,[49167247,'']],[5240856,5240857,68891632,[485650,'']],[5240856,5240857,19932274,[485650,'']],[5240856,5240857,73610981,[485650,'']],[5240856,5240857,96147,[485650,49167247,'']],[5240856,5240857,68891921,[485650,'']],[29744489,29744656,36648748,['']],[29744489,29744656,42642756,['']],[29744489,29744656,19763924,['']],[29744489,29744656,10502935,['']],[2190563,6869299,41623516,[49167247,'']],[2190563,6869299,38809047,[49167247,'']],[2190563,6869299,205883343,[49167247,'']],[94564,3398752,22737268,[49167247,'']],[94564,3398752,5057600,[49167247,'']],[94563,23642479,95706,[49167247,'']],[29744489,29744656,20452405,['']],[29744489,29744656,16856820,['']],[29744489,29744656,68891426,['']],[29744489,29744656,17765519,['']],[94564,742432,21175579,['']],[94564,742432,17815777,['']],[94564,50774520,36648011,[49167247,'']],[94563,94567,15543647,[49167247,'']],[94563,94567,95706,['']],[94563,94567,26798610,[49167247,'']],[94563,94567,96012,[49167247,'']],[2190563,6869299,5881494,[49167247,'']],[2190563,6869299,103643504,['']],[94564,3398752,68891596,['']],[94564,742432,15712928,['']],[94564,742432,200813565,['']],[3140121,32144640,1775447,[485650,49167247,'']],[3140121,32144640,95706,[485650,49167247,'']],[3140121,32144640,95706,[485650,49167247,'']],[94564,742432,19266839,['']],[94564,742432,8675816,['']],[2968515,9878842,18558804,[49167247,'']],[2968515,9878842,96147,[49167247,'']],[5240856,5240857,16856820,['']],[5240856,5240857,20452405,['']],[5240856,5240857,1563938,['']],[5240856,5240857,68890377,['']],[5240856,5240857,11146892,['']],[94563,94567,185764034,[49167247,'']],[94563,94567,4059210,[49167247,'']],[94563,94567,43392833,[49167247,'']],[94563,94567,41618876,[49167247,'']],[94563,94567,20452405,[49167247,'']],[2190563,6869299,4444156,[49167247,'']],[2190563,6869299,184879850,[49167247,'']],[2190563,6869299,18540207,[49167247,'']],[94565,18942988,1970347,[485650,'']],[94565,18942988,26457851,[485650,'']],[94565,18942988,189543459,[485650,'']],[94565,18942988,15535460,[485650,49167247,'']],[94565,18942988,615830,[485650,49167247,'']],[94565,18942988,8675939,[485650,'']],[94565,18942988,28370091,[485650,'']],[94565,18942988,16671157,[485650,'']],[94565,18942988,7433292,[485650,49167247,'']],[94565,18942988,96147,[485650,'']],[94565,18942988,4059210,[485650,'']],[94565,18942988,68894737,[485650,'']],[94565,18942988,41623516,[485650,'']],[94565,18942988,68893249,[485650,'']],[94565,18942988,68892611,[485650,'']],[94565,18942988,10225474,[485650,'']],[94565,18942988,15712360,[485650,49167247,'']],[94565,18942988,68891921,[485650,49167247,'']],[94565,18942988,1775447,[485650,'']],[94565,18942988,95706,[485650,49167247,'']],[94565,18942988,43406378,[485650,'']],[94565,18942988,15535803,[485650,'']],[94565,18942988,185764034,[485650,'']],[94565,18942988,4437715,[485650,49167247,'']],[5240856,5240857,95766,['']],[5240856,5240857,41623516,['']],[94563,94567,24879274,[49167247,'']],[94563,94567,4059210,[49167247,'']],[94563,94567,29303353,['']],[94563,94567,4926332,[49167247,'']],[29744489,29744656,34811106,['']],[29744489,29744656,68892588,['']],[29744489,29744656,19076490,['']],[29744489,29744656,43975255,['']],[29744489,29744656,68894757,['']],[29744489,29744656,26798610,['']],[29744489,29744656,36650774,['']],[29744489,29744656,41618876,['']],[2190563,6869299,81210024,[49167247,'']],[2190563,6869299,185186340,[49167247,'']],[2190563,6869299,96147,[49167247,'']],[2190563,6869299,38435047,[49167247,'']],[94563,94567,184851394,[49167247,'']],[94563,94567,36647714,[49167247,'']],[94563,94567,68893569,[49167247,'']],[94563,94567,15712831,[49167247,'']],[3140121,32144640,20452405,[49167247,'']],[3140121,32144640,18540853,[49167247,'']],[3140121,32144640,21142560,[49167247,'']],[3140121,32144640,96147,[49167247,'']],[94564,742432,15712775,['']],[94564,742432,32615244,['']],[94564,742432,103820076,['']],[94564,742432,95793,['']],[94564,742432,11146892,['']],[2190563,6869299,4437715,[49167247,'']],[2190563,6869299,39406966,[49167247,'']],[2190563,6869299,11146892,[49167247,'']],[2190563,6869299,32526840,[49167247,'']],[4264850,55604681,92823403,['']],[94564,2870368,34962923,['']],[2190563,6869299,18554419,[49167247,'']],[3140121,32144640,28370091,[49167247,'']],[3140121,32144640,4059210,[49167247,'']],[3140121,32144640,4443558,[49167247,'']],[4264850,4264865,48481407,[49167247,'']],[4264850,4264865,68891247,[49167247,'']],[4264850,4264865,68891921,[49167247,'']],[4264850,4264865,40501140,[49167247,'']],[94563,94567,20954825,['']],[94563,94567,68891239,[49167247,'']],[94563,94567,68890437,[49167247,'']],[2190563,6869299,68073608,[49167247,'']],[2190563,6869299,15543647,[49167247,'']],[4264850,55604681,9067928,[49167247,'']],[4264850,55604681,68893405,[49167247,'']],[4264850,4264865,18555138,[49167247,'']],[94563,33798998,68892548,['']],[94563,33798998,15535552,['']],[4264850,4264865,77896079,[49167247,'']],[4264850,55604681,73610981,[49167247,'']],[94562,5107542,26383344,[49167247,'']],[94562,5107542,31945165,['']],[94562,5107542,28370091,['']],[94564,742432,28851577,['']],[94564,742432,1775447,['']],[94564,742432,21291878,['']],[4264850,4264865,3143259,[49167247,'']],[94564,742432,22947905,['']],[2190563,6869299,166692495,[49167247,'']],[2190563,6869299,18560330,[49167247,'']],[2190563,6869299,68893569,[49167247,'']],[2190563,6869299,92823403,[49167247,'']],[94563,94567,96147,[49167247,'']],[4264850,4264865,40501140,[49167247,'']],[2968515,1014543,1563938,['']],[2968515,1014543,21175579,['']],[2968515,1014543,189543459,[49167247,'']],[2968515,1014543,91397865,[49167247,'']],[2968515,1014543,48646986,[49167247,'']],[2968515,1014543,40501140,['']],[4264850,4264865,68893126,['']],[4264850,4264865,26383344,[49167247,'']],[5240856,5240857,3720032,[49167247,'']],[5240856,5240857,68893359,[485650,49167247,'']],[5240856,5240857,26798610,[49167247,'']],[5240856,5240857,68893126,[49167247,'']],[2190563,6869299,39421095,[49167247,'']],[2190563,6869299,1970347,[49167247,'']],[2190563,6869299,36648011,[49167247,'']],[2190563,6869299,38592394,[49167247,'']],[94564,742432,8675816,['']],[94564,742432,95706,[49167247,'']],[4264850,4264865,4437715,[49167247,'']],[94563,94567,15543623,[49167247,'']],[94563,94567,19763924,[49167247,'']],[4264850,4264865,175990043,[49167247,'']],[94563,94567,3720032,[49167247,'']],[94563,94567,166692495,[49167247,'']],[94563,23642479,95946,[49167247,'']],[94563,23642479,189553937,[49167247,'']],[94563,23642479,4444156,[49167247,'']],[94563,23642479,40501140,[49167247,'']],[4264850,55604681,10895988,[49167247,'']],[4264850,4264865,26798610,[49167247,'']],[4264850,4264865,96099,[49167247,'']],[5240856,5240857,15712463,[49167247,'']],[5240856,5240857,21291878,[49167247,'']],[5240856,5240857,96012,[49167247,'']],[5240856,5240857,34811106,[49167247,'']],[94564,742432,36647208,['']],[94564,742432,3737077,['']],[94564,742432,15712831,['']],[94564,742432,18559798,['']],[94564,742432,5566009,['']],[94564,742432,68892473,[49167247,'']],[94564,742432,18557930,['']],[4264850,4264865,95706,[49167247,'']],[94564,742432,39406169,['']],[2190563,6869299,5057600,[49167247,'']],[2190563,6869299,8675939,[49167247,'']],[2190563,6869299,26798610,[49167247,'']],[94564,742432,95751,['']],[94564,742432,18558804,[49167247,'']],[94564,742432,16707720,['']],[94564,2870368,5566009,['']],[94563,94567,120554960,['']],[94563,94567,17487135,[49167247,'']],[94563,94567,4444156,[49167247,'']],[94563,94567,4791340,[49167247,'']],[94562,5107542,26798610,[49167247,'']],[94562,5107542,10810185,['']],[4264850,4264865,96141,[49167247,'']],[4264850,55604681,95766,['']],[94564,2870368,26457851,['']],[94564,2870368,20452405,['']],[32061749,68438186,20452405,['']],[94563,33798998,68890987,['']],[94564,2870368,8675816,['']],[94563,33798998,3347807,['']],[94563,33798998,6509779,['']],[94563,94567,68891349,['']],[94564,2870368,68893729,['']],[94563,45910234,68892764,[49167247,'']],[94564,1362812,68892611,['']],[94563,94567,10502370,['']],[94564,1362812,19932274,['']],[94563,45910234,3720032,[49167247,'']],[94563,45910234,68890928,[49167247,'']],[32061749,82734503,21172034,['']],[94563,45910234,95760,[49167247,'']],[94564,1362812,26798610,['']],[94564,1362812,18557930,['']],[94563,45910234,68893788,[49167247,'']],[94563,45910234,21138568,['']],[94564,1362812,20452405,['']],[94563,45910234,4671951,[49167247,'']],[94563,45910234,11039159,[49167247,'']],[94563,45910234,114508061,[49167247,'']],[94564,1362812,1775447,['']],[94564,1362812,68892115,['']],[94564,1362812,15535721,['']],[94564,1362812,68892011,['']],[94564,1362812,9355305,['']],[94563,45910234,68893210,[49167247,'']],[94564,1362812,15535803,['']],[4264850,4264866,28370091,[49167247,'']],[4264850,4264866,2730512,[49167247,'']],[94564,1362812,68893126,['']],[94563,45910234,68892473,[49167247,'']],[94563,45910234,127002355,[49167247,'']],[94563,45910234,189553937,[49167247,'']],[94563,45910234,36647208,[49167247,'']],[94563,45910234,68893490,[49167247,'']],[94564,1362812,4443558,['']],[94564,1362812,68892880,['']],[94563,45910234,68890802,[49167247,'']],[94563,45910234,38791659,[49167247,'']],[94563,45910234,68890218,[49167247,'']],[4264850,4264866,68892710,['']],[4264850,4264866,11048126,['']],[4264850,4264866,26718997,['']],[2968515,1014543,68894463,['']],[2968515,1014543,4926332,[49167247,'']],[2968515,1014543,110759505,['']],[2968515,1014543,22737268,[485650,'']],[94563,94567,38791659,[49167247,'']],[94563,94567,68894737,['']],[94563,94567,65840433,[49167247,'']],[94563,94567,15543623,[49167247,'']],[4264850,4264866,9645418,['']],[94564,1362812,68893522,['']],[94564,1362812,21138568,['']],[94564,1362812,105160378,['']],[94564,1362812,73610963,['']],[94564,1362812,68893788,['']],[94564,1362812,68891986,[49167247,'']],[4264850,4264866,36648011,[49167247,'']],[94563,45910234,20452405,[49167247,'']],[94563,45910234,68890377,[49167247,'']],[94563,45910234,39406169,[49167247,'']],[94563,45910234,15543809,[49167247,'']],[94563,45910234,18539952,[49167247,'']],[94563,45910234,68894422,[49167247,'']],[32061749,68438186,68892588,['']],[32061749,68438186,163027539,['']],[32061749,68438186,178002661,['']],[32061749,68438186,68890770,['']],[94564,2870368,21175753,['']],[2968515,1014543,4671951,[49167247,'']],[2968515,1014543,68892611,[49167247,'']],[94563,45910234,68891407,[49167247,'']],[94563,45910234,68894606,[49167247,'']],[94563,45910234,68893058,[49167247,'']],[94563,45910234,68893916,[49167247,'']],[94563,94567,103636604,[49167247,'']],[94563,94567,76865170,['']],[32061749,68438186,36530050,['']],[32061749,82734503,16856820,['']],[32061749,82734503,68893076,['']],[94563,94567,68893184,[49167247,'']],[94563,94567,68894463,[49167247,'']],[94563,94567,18558131,['']],[94563,94567,68893444,[49167247,'']],[2968515,9878842,19763924,[49167247,'']],[2968515,1014543,68894399,['']],[32061749,82734503,68891162,['']],[32061749,68438186,22737268,['']],[32061749,68438186,92823403,['']],[32061749,82734503,68890802,['']],[32061749,68438186,20954825,['']],[94563,45910234,20452405,[49167247,'']],[94563,45910234,16297845,[49167247,'']],[94563,45910234,4926332,[49167247,'']],[94563,45910234,68893683,[49167247,'']],[94563,45910234,68891608,[49167247,'']],[94563,45910234,3720032,[49167247,'']],[94564,50774520,12091006,[49167247,'']],[94564,50774520,1970347,[49167247,'']],[94564,50774520,164653743,[49167247,'']],[94564,742432,68892274,['']],[94564,742432,36647714,['']],[94564,1362812,68892115,['']],[94564,1362812,9645418,['']],[94564,1362812,36530050,['']],[32061749,68438186,111022831,['']],[32061749,68438186,96147,['']],[32061749,68438186,3720032,['']],[94563,45910234,3401834,[49167247,'']],[94563,45910234,68891596,[49167247,'']],[94563,45910234,184971640,[49167247,'']],[94563,45910234,68893522,[49167247,'']],[94564,742432,15543773,['']],[94564,1362812,68891092,[49167247,'']],[2968515,1014543,68891763,[49167247,'']],[2968515,9878842,124010669,[485650,49167247,'']],[94563,45910234,18555138,[49167247,'']],[94563,45910234,68892075,[49167247,'']],[94563,45910234,10502953,[49167247,'']],[94563,45910234,124010669,[49167247,'']],[94563,45910234,111022831,[49167247,'']],[2968515,1014543,26718997,['']],[2968515,1014543,95706,[49167247,'']],[32061749,68438186,68891247,['']],[32061749,68438186,4158205,['']],[32061749,68438186,103820076,['']],[32061749,82734503,92823403,['']],[32061749,82734503,68893353,['']],[4264850,4264865,68890770,[49167247,'']],[4264850,4264865,68893076,[49167247,'']],[4264850,4264865,10502935,[49167247,'']],[94564,742432,68894757,['']],[94564,50774520,15712360,['']],[4264850,55604681,68892075,[49167247,'']],[94564,742432,8675995,['']],[94564,22394846,189553937,[49167247,'']],[94564,2870368,68894737,['']],[32061749,68438186,68892611,['']],[94564,50774520,10502935,[49167247,'']],[29744489,29744656,96147,['']],[29744489,29744656,20452405,['']],[29744489,29744656,18558340,['']],[29744489,29744656,95706,['']],[29744489,29744656,68892461,['']],[29744489,29744656,18554877,['']],[29744489,29744656,38791659,['']],[29744489,29744656,3347807,['']],[29744489,29744656,185764034,['']],[32061749,68438186,21175753,['']],[32061749,68438186,9067928,['']],[32061749,68438186,68893499,['']],[32061749,68438186,92831270,['']],[32061749,68438186,16297845,['']],[32061749,68438186,68894737,['']],[94564,1362812,39421294,['']],[94564,1362812,20956154,['']],[2968515,1014543,68893184,['']],[32061749,68438186,36650774,['']],[94564,1362812,68891274,['']],[94563,45910234,18559798,[49167247,'']],[32061749,82734503,20452405,['']],[4264850,4264865,92823403,['']],[94564,1362812,38435047,['']],[2968515,9878842,3720032,[49167247,'']],[94564,1362812,36648748,['']],[94563,45910234,68891921,[49167247,'']],[2968515,1014543,68892499,[49167247,'']],[4264850,4264865,36650774,[49167247,'']],[4264850,4264865,39421095,[49167247,'']],[94564,742432,15543809,[49167247,'']],[94564,742432,10810064,[49167247,'']],[4264850,4264865,103643504,[49167247,'']],[4264850,4264865,95793,[49167247,'']],[94564,742432,68891708,[49167247,'']],[2190563,6869299,110759505,[49167247,'']],[2190563,6869299,21142560,[49167247,'']],[2190563,6869299,95706,[49167247,'']],[2190563,6869299,36649220,[49167247,'']],[2190563,6869299,92831270,[49167247,'']],[2190563,6869299,185764034,[49167247,'']],[2190563,6869299,68893499,[49167247,'']],[4264850,4264865,38809047,[49167247,'']],[4264850,4264865,1775447,[49167247,'']],[2968515,9878842,18539366,[485650,49167247,'']],[2968515,9878842,22737268,[49167247,'']],[4264850,55604681,68893119,[49167247,'']],[4264850,55604681,68891274,[49167247,'']],[4264850,55604681,68893750,[49167247,'']],[4264850,4264865,18559573,[49167247,'']],[4264850,4264865,20452405,[49167247,'']],[4264850,4264865,95706,[49167247,'']],[94564,742432,68891596,[49167247,'']],[94564,742432,11039159,[49167247,'']],[94564,742432,28370091,[49167247,'']],[5240856,5240857,68891407,[485650,49167247,'']],[5240856,5240857,95766,[485650,49167247,'']],[5240856,5240857,15712093,[485650,49167247,'']],[5240856,5240857,19763924,[485650,49167247,'']],[2968515,9878842,5057613,[49167247,'']],[2968515,9878842,15712093,[49167247,'']],[2968515,9878842,29303353,[49167247,'']],[2968515,1014543,68893359,[49167247,'']],[2968515,1014543,13988874,['']],[2968515,1014543,38503385,[49167247,'']],[2968515,1014543,68891708,[49167247,'']],[5240856,5240857,36530050,[49167247,'']],[5240856,5240857,18540207,[485650,49167247,'']],[5240856,5240857,8675816,[49167247,'']],[5240856,5240857,94072321,[49167247,'']],[5240856,5240857,73610981,[49167247,'']],[5240856,5240857,40501140,[49167247,'']],[4264850,4264865,92826844,[49167247,'']],[4264850,4264865,68891407,[49167247,'']],[4264850,4264865,91397865,[49167247,'']],[2190563,6869299,1775447,[49167247,'']],[2190563,6869299,10416348,[49167247,'']],[2190563,6869299,36650774,[49167247,'']],[2190563,6869299,596248,[49167247,'']],[2190563,6869299,105164217,[49167247,'']],[94564,2870368,73610981,['']],[94564,2870368,39406966,['']],[94564,742432,6192115,[49167247,'']],[94564,742432,48646986,[49167247,'']],[94564,742432,19932274,['']],[94564,742432,95706,[49167247,'']],[94564,742432,185186340,[49167247,'']],[94564,742432,15535518,[49167247,'']],[94564,742432,4443558,['']],[2968515,9878842,20452405,[49167247,'']],[2968515,9878842,18554877,[49167247,'']],[4264850,4264865,68894786,[49167247,'']],[4264850,4264865,94072321,[49167247,'']],[4264850,4264865,68893087,[49167247,'']],[94563,33798998,39421598,['']],[94563,33798998,19763924,['']],[94563,33798998,18539952,['']],[94563,33798998,36648748,['']],[94563,33798998,20452405,['']],[4264850,4264865,68893058,[49167247,'']],[4264850,4264865,114310486,[49167247,'']],[4264850,4264865,189533507,[49167247,'']],[4264850,4264865,3720032,[49167247,'']],[4264850,4264865,4443905,[49167247,'']],[94563,33798998,4443558,['']],[94563,33798998,42642756,['']],[4264850,55604681,13988874,[49167247,'']],[2190563,6869299,18403479,[49167247,'']],[2190563,6869299,118373070,[49167247,'']],[2190563,6869299,10225474,['']],[94563,33798998,21172034,[485650,'']],[94563,33798998,15712775,[485650,'']],[94563,33798998,16707720,[485650,'']],[94563,33798998,65994508,[485650,'']],[4264850,4264865,68890248,[49167247,'']],[5240856,5240857,20452405,[49167247,'']],[5240856,5240857,39406169,['']],[5240856,5240857,1970347,[49167247,'']],[5240856,5240857,10225474,[49167247,'']],[5240856,5240857,68890770,[49167247,'']],[5240856,5240857,68891349,[49167247,'']],[5240856,5240857,4059210,[49167247,'']],[5240856,5240857,22737268,['']],[5240856,5240857,8287733,[49167247,'']],[5240856,5240857,20452405,[49167247,'']],[5240856,5240857,3980028,[49167247,'']],[5240856,5240857,36648748,[49167247,'']],[94564,2870368,18554419,['']],[2190563,6869299,21172034,[49167247,'']],[2190563,6869299,68893359,[49167247,'']],[2190563,6869299,68891596,[49167247,'']],[2190563,6869299,68893405,[49167247,'']],[2190563,6869299,19269066,['']],[2190563,6869299,48646986,[49167247,'']],[2190563,6869299,21291878,[49167247,'']],[2190563,6869299,9355305,[49167247,'']],[2190563,6869299,15321894,[49167247,'']],[2190563,6869299,38503385,[49167247,'']],[2190563,6869299,1775447,['']],[94564,742432,156867034,[49167247,'']],[94564,742432,99554528,['']],[94564,742432,156863927,[49167247,'']],[94564,742432,92831270,[49167247,'']],[94564,742432,164698526,[49167247,'']],[94564,2870368,92823403,['']],[94564,2870368,92831270,[49167247,'']],[94563,94567,36649022,[49167247,'']],[94563,94567,36649220,[49167247,'']],[94563,94567,3720032,[49167247,'']],[94563,94567,163242805,[49167247,'']],[94563,94567,163246595,[49167247,'']],[94564,742432,26798610,[49167247,'']],[94564,742432,4059210,[49167247,'']],[94564,742432,171966742,[49167247,'']],[94564,742432,96876259,[49167247,'']],[4264850,4264865,16856820,[49167247,'']],[4264850,4264865,92823403,[49167247,'']],[4264850,4264865,4926332,[49167247,'']],[4264850,4264865,4926332,[49167247,'']],[4264850,4264865,68892548,[49167247,'']],[4264850,4264865,4059210,[49167247,'']],[94563,94567,36649220,[49167247,'']],[94563,94567,73610963,[49167247,'']],[94563,94567,189543459,['']],[94563,94567,68890504,[49167247,'']],[94563,94567,68890346,['']],[94563,94567,173157322,[49167247,'']],[94563,94567,15321894,['']],[94563,94567,124010669,['']],[94563,94567,22737268,[49167247,'']],[94563,94567,142911821,[49167247,'']],[94563,33798998,4059210,['']],[4264850,4264865,173056561,['']],[4264850,4264865,7433292,[49167247,'']],[4264850,4264865,15543669,[49167247,'']],[4264850,4264865,68894192,['']],[4264850,55604681,177990302,[49167247,'']],[4264850,55604681,3349963,['']],[4264850,55604681,191931549,[49167247,'']],[4264850,55604681,68894192,['']],[4264850,4264865,68894399,[49167247,'']],[4264850,55604681,175990043,[49167247,'']],[4264850,55604681,4201024,[49167247,'']],[4264850,4264865,177994944,[49167247,'']],[94563,94567,95706,[49167247,'']],[94563,94567,19932274,[49167247,'']],[94563,94567,105164217,[49167247,'']],[94563,94567,9067928,[49167247,'']],[29744489,155321731,38502125,[49167247,'']],[29744489,155321731,68890987,[49167247,'']],[29744489,155321731,36650774,[49167247,'']],[29744489,155321731,4444156,[49167247,'']],[29744489,155321731,184854110,[49167247,'']],[29744489,155321731,36648011,[49167247,'']],[29744489,155321731,1970347,[49167247,'']],[29744489,155321731,36649022,[49167247,'']],[29744489,155321731,41623516,[49167247,'']],[29744489,155321731,4904734,[49167247,'']],[29744489,155321731,182831102,[49167247,'']],[29744489,155321731,39421598,[49167247,'']],[94563,94567,10895988,[49167247,'']],[94563,94567,191317900,['']],[94563,94567,191371426,[49167247,'']],[94563,94567,68891492,[49167247,'']],[94563,94567,11146892,[49167247,'']],[94563,94567,189543459,[49167247,'']],[94563,94567,16707720,[49167247,'']],[94563,94567,184854110,[49167247,'']],[94563,94567,68073608,[49167247,'']],[94563,94567,68892399,[49167247,'']],[94563,33798998,189543459,['']],[94563,33798998,18539366,['']] ]; // local array of makes and models so we can tell which is which var mks_mos = [[3140121,1],[22855272,0],[32144640,0],[2968515,1],[1014543,0],[9878842,0],[94562,1],[5107542,0],[94563,1],[94567,0],[45910234,0],[33798998,0],[23642479,0],[2190563,1],[6869299,0],[9876627,0],[18381550,0],[29744489,1],[155321731,0],[29744656,0],[4264850,1],[4264866,0],[4264865,0],[55604681,0],[32061749,1],[82734503,0],[68438186,0],[94564,1],[1362812,0],[742432,0],[3398752,0],[2870368,0],[22394846,0],[50774520,0],[94565,1],[18942988,0],[5240856,1],[5240857,0]]; // get a local set of ids for the amenities (we dont really need the description, unless // we want to get really fancy and have the form adjust itself based on selections made // (only show relevant body styles / amenities / neighborhoods based on the chosen make/model) var amenities = [49167247,485650]; // get a local set of ids for the styles so we can easily figure out what styles are needed var styles = [8577467,8577468,142802904,8586495,8577469,8577471,8577470,8577472,8577473]; // get a local mapping of locations to location groups. this allows us to trim accordion // results by neighborhood. var lgmap = [[95946,96171],[36649220,96171],[36650774,96171],[39421294,96171],[68891608,96171],[68893729,96171],[68894606,96171],[73610963,96171],[68891921,4709204],[68893750,4709204],[3143259,5105047],[5057600,5105047],[5057613,5105047],[15712831,5105047],[17815777,5105047],[20955578,5105047],[39406966,5105047],[68890504,5105047],[68891426,5105047],[163027539,5105047],[1563938,5998873],[4158205,5998873],[4201024,5998873],[5566009,5998873],[9645418,5998873],[10810064,5998873],[15535460,5998873],[18403479,5998873],[20452405,5998873],[24879274,5998873],[41618876,5998873],[43975255,5998873],[65994508,5998873],[92823403,5998873],[92826844,5998873],[173157322,5998873],[184854110,5998873],[6120789,6120925],[18555138,6120925],[36649022,6120925],[40501140,6120925],[68893126,6120925],[73610981,6120925],[191371426,6120925],[8675939,8728724],[36647714,8728724],[39406169,8728724],[142911821,8728724],[184851394,8728724],[185186340,8728724],[6120789,8728762],[18555138,8728762],[18558131,8728762],[18559573,8728762],[18559798,8728762],[18560330,8728762],[40501140,8728762],[76865170,8728762],[175990043,8728762],[8675816,8728767],[9067928,8728767],[15712928,8728767],[36648011,8728767],[38502125,8728767],[8675995,8728772],[95706,96189],[95766,96189],[1563938,96189],[4059302,96189],[12091006,96189],[15535518,96189],[15535552,96189],[15535721,96189],[15535803,96189],[17487135,96189],[19269066,96189],[26457851,96189],[68891274,96189],[68892274,96189],[68893087,96189],[68893683,96189],[68894399,96189],[68894737,96189],[173157322,96189],[184879850,96189],[615830,96190],[8675995,96190],[9355305,96190],[36530050,96190],[38435047,96190],[68893490,96190],[106559319,96190],[163242805,96190],[177990302,96190],[177994944,96190],[4437715,96191],[10503073,96191],[10736211,96191],[21138568,96191],[68891632,96191],[68892499,96191],[96012,96192],[3347807,96192],[3737077,96192],[18539366,96192],[18539952,96192],[18554877,96192],[29303353,96192],[41623516,96192],[68891407,96192],[68892548,96192],[95760,96193],[95793,96193],[15712463,96193],[22947905,96193],[26274687,96193],[43392833,96193],[68893058,96193],[171966742,96193],[173056561,96193],[95706,96194],[95751,96194],[96147,96194],[2730512,96194],[4059210,96194],[10225474,96194],[10810064,96194],[12091006,96194],[19076490,96194],[28851577,96194],[68890248,96194],[68891986,96194],[68892115,96194],[99554528,96194],[105160378,96194],[114508061,96194],[127002355,96194],[1970347,96195],[4059210,96195],[11146892,96195],[28370091,96195],[191317900,96195],[8675939,96196],[31945165,96196],[36647208,96196],[68891596,96196],[96876259,96196],[184971640,96196],[596248,596309],[3143259,596309],[4926332,596309],[5057600,596309],[68892399,596309],[120554960,596309],[95766,1052219],[1563938,1052219],[4059302,1052219],[4201024,1052219],[4671951,1052219],[11048126,1052219],[15535721,1052219],[15535803,1052219],[15543669,1052219],[16856820,1052219],[18554419,1052219],[18557930,1052219],[19266839,1052219],[26718997,1052219],[30408879,1052219],[48646986,1052219],[68890346,1052219],[68890928,1052219],[68891319,1052219],[68892710,1052219],[68893522,1052219],[94072321,1052219],[105164217,1052219],[166692495,1052219],[182831102,1052219],[189533507,1052219],[191931549,1052219],[200813565,1052219],[96141,24346496],[3720032,24346496],[15543773,24346496],[16671157,24346496],[18540853,24346496],[20954825,24346496],[20956154,24346496],[21172034,24346496],[65840433,24346496],[68073608,24346496],[68891247,24346496],[68891763,24346496],[68892473,24346496],[68892764,24346496],[68893249,24346496],[68894786,24346496],[164698526,24346496],[185764034,24346496],[95751,24347182],[96147,24347182],[7433292,24347182],[10225474,24347182],[68892461,24347182],[68893788,24347182],[156867034,24347182],[96012,24347226],[3347807,24347226],[15543809,24347226],[18539366,24347226],[29303353,24347226],[68891492,24347226],[189543459,24347226],[189553937,24347226],[3347807,24347279],[19932274,24347279],[29303353,24347279],[68891407,24347279],[68892611,24347279],[68893353,24347279],[18559573,24347331],[18559798,24347331],[18560330,24347331],[68894463,24347331],[10416348,24347397],[10810185,24347397],[11039159,24347397],[15543809,24347397],[16297845,24347397],[42642756,24347397],[68893119,24347397],[68893359,24347397],[68893405,24347397],[8675816,24347443],[39421598,24347443],[103636604,24347443],[4443558,24347493],[10503073,24347493],[21175579,24347493],[32526840,24347493],[68893499,24347493],[4443905,24347511],[21175579,24347511],[4444156,24347517],[15321894,24347517],[26383344,24347517],[34962923,24347517],[68890802,24347517],[68890987,24347517],[68893184,24347517],[68893569,24347517],[68893916,24347517],[68894757,24347517],[96099,24347531],[96141,24347531],[615830,24347531],[3980028,24347531],[7433292,24347531],[8675995,24347531],[10502935,24347531],[10502953,24347531],[10503073,24347531],[11592763,24347531],[15712093,24347531],[16671157,24347531],[18539952,24347531],[18554877,24347531],[18559573,24347531],[21138568,24347531],[21142560,24347531],[21172034,24347531],[21175753,24347531],[36530050,24347531],[38435047,24347531],[39421095,24347531],[103638925,24347531],[185764034,24347531],[96012,24347702],[4158205,24347702],[4201024,24347702],[5566009,24347702],[8675816,24347702],[9067928,24347702],[9645418,24347702],[15535460,24347702],[16856820,24347702],[18403479,24347702],[18539366,24347702],[18558340,24347702],[18558804,24347702],[21175753,24347702],[21291878,24347702],[24879274,24347702],[36648011,24347702],[36649220,24347702],[36650774,24347702],[38502125,24347702],[39421294,24347702],[39421598,24347702],[68892075,24347702],[68893076,24347702],[68893353,24347702],[73610981,24347702],[92831270,24347702],[103636604,24347702],[184959613,24347702],[1970347,24347746],[3349963,24347746],[3720032,24347746],[3737077,24347746],[4437715,24347746],[4444156,24347746],[6509779,24347746],[10503073,24347746],[13988874,24347746],[15543773,24347746],[18558804,24347746],[18559798,24347746],[18560330,24347746],[20954825,24347746],[21138568,24347746],[21291878,24347746],[26383344,24347746],[32615244,24347746],[34962923,24347746],[38502396,24347746],[38503385,24347746],[38592394,24347746],[73610963,24347746],[103643504,24347746],[103820076,24347746],[163246595,24347746],[164698526,24347746],[95751,24347755],[95760,24347755],[95793,24347755],[96147,24347755],[1775447,24347755],[2730512,24347755],[3347807,24347755],[3401834,24347755],[3737077,24347755],[6192115,24347755],[8675939,24347755],[10225474,24347755],[10416348,24347755],[10810185,24347755],[15543623,24347755],[15543647,24347755],[15543809,24347755],[15712463,24347755],[16707720,24347755],[17815777,24347755],[18554877,24347755],[18555138,24347755],[19076490,24347755],[26274687,24347755],[31945165,24347755],[36647208,24347755],[36647714,24347755],[36648748,24347755],[36649022,24347755],[38592812,24347755],[38791659,24347755],[38809047,24347755],[39406169,24347755],[40501140,24347755],[68891596,24347755],[68892880,24347755],[73610981,24347755],[91397865,24347755],[96876259,24347755],[110759505,24347755],[124010669,24347755],[127002355,24347755],[156867034,24347755],[171966742,24347755],[173056561,24347755],[175990043,24347755],[184971640,24347755],[185186340,24347755],[189543459,24347755],[189553937,24347755],[96012,24347763],[96099,24347763],[615830,24347763],[3347807,24347763],[4158205,24347763],[4201024,24347763],[5566009,24347763],[9355305,24347763],[9645418,24347763],[10502935,24347763],[10502953,24347763],[15535460,24347763],[15543669,24347763],[16856820,24347763],[18539366,24347763],[18558804,24347763],[21142560,24347763],[21175753,24347763],[21291878,24347763],[24879274,24347763],[36530050,24347763],[38435047,24347763],[73610981,24347763],[81210024,24347763],[92823403,24347763],[106559319,24347763],[163242805,24347763],[177990302,24347763],[177994944,24347763],[39406837,39407379],[39421095,39407379],[39421294,39407379],[48481407,39407379],[68892075,39407379],[103638925,39407379],[103643504,39407379],[103820076,39407379],[111022831,39407379],[184959613,39407379],[38592812,67955472],[38791659,67955472],[38809047,67955472],[95760,1652812],[6192115,1652812],[15712775,1652812],[22947905,1652812],[68890770,1652812],[110759505,1652812],[95793,1652816],[3401834,1652816],[34933923,1652816],[43406378,1652816],[68892588,1652816],[96099,1734454],[10502370,1734454],[10502935,1734454],[10502953,1734454],[10895988,1734454],[21142560,1734454],[21175753,1734454],[68891092,1734454],[68891349,1734454],[68891708,1734454],[77896079,1734454],[81210024,1734454],[178002661,1734454],[1775447,1778794],[16707720,1778794],[38592812,1778794],[68890377,1778794],[68893210,1778794],[91397865,1778794],[124010669,1778794],[156863927,1778794],[1775447,1818658],[15543623,1818658],[15543647,1818658],[36648748,1818658],[7433292,1849123],[10225474,1849123],[26798610,1849123],[68891239,1849123],[112523930,1849123],[95751,1857220],[4672161,1857220],[5881494,1857220],[8287733,1857220],[15712360,1857220],[17765519,1857220],[18540207,1857220],[19763924,1857220],[19932274,1857220],[20452405,1857220],[34811106,1857220],[68892011,1857220],[68894192,1857220],[114310486,1857220],[118373070,1857220],[205883343,1857220],[1970347,1971977],[3349963,1971977],[3980028,1971977],[4059210,1971977],[6509779,1971977],[11592763,1971977],[13988874,1971977],[15712093,1971977],[28370091,1971977],[32615244,1971977],[120383431,1971977],[4791340,2929947],[4904734,2929947],[10416348,2929947],[10810185,2929947],[21172034,2929947],[22737268,2929947],[68890437,2929947],[68891162,2929947],[112523930,2929947],[164653743,2929947],[164698526,2929947],[18558340,17819057],[18558804,17819057],[21291878,17819057],[68890218,17819057],[68893444,17819057],[68894422,17819057],[92831270,17819057],[38502396,38575222],[38503385,38575222],[38592394,38575222],[163246595,38575222]]; // get a local mapping of models to styles. this allows us to trim accordion results by style var stylemap = [[94567,8577471],[742432,8577473],[1014543,8577468],[1362812,8577471],[2870368,8577472],[3398752,8586495],[4264865,8577473],[4264866,142802904],[5107542,8577470],[5240857,8577471],[6869299,8577471],[9876627,142802904],[9878842,8577467],[9878842,8577468],[18381550,8577469],[18942988,8577471],[22394846,8577471],[22855272,8577471],[32144640,8577471],[33798998,8577470],[45910234,8577471],[45910234,8586495],[50774520,8577468],[82734503,8577471],[155321731,8577471]]; // globals for finding your local address in the search box var closestaddr = new Object(); var firstaddr = new Object(); var addrstr; // TODO: right now, this just returns the coords for one address, // we should expand this to support multiple address geocoding function refreshCarsByAddress() { var addr = document.getElementById('gmaps-address').value; addrstr = addr; var new_addr; if (addr.match(/[ ]*/) != null && addr != "enter some or all of an address") { geocode(addrstr, function (p) { // see if this address is closer to the current fleet of a modified address is closer if (p) { firstaddr.lat = p.lat(); firstaddr.lng = p.lng(); } else { // this is kinda lame, but at least it is in the ocean firstaddr.lat = 0; firstaddr.lng = 0; } geocode(addrstr + ', District Of Columbia', function (s) { var old_dist, new_dist, e; if (!s && (firstaddr.lat == 0 && firstaddr.lng == 0)) { closestaddr.lat = 0; closestaddr.lng = 0; } else if (!s) { closestaddr.lat = firstaddr.lat; closestaddr.lng = firstaddr.lng; } else if (firstaddr.lat == 0 && firstaddr.lng == 0) { closestaddr.lat = s.lat(); closestaddr.lng = s.lng(); } else { old_dist = Math.sqrt(Math.pow(firstaddr.lat - 38.91430646, 2) + Math.pow(firstaddr.lng - -77.03715536, 2)); new_dist = Math.sqrt(Math.pow(s.lat() - 38.91430646, 2) + Math.pow(s.lng() - -77.03715536, 2)); if (old_dist >= new_dist) { closestaddr.lat = s.lat(); closestaddr.lng = s.lng(); } else { closestaddr.lat = firstaddr.lat; closestaddr.lng = firstaddr.lng; } } if (!(closestaddr.lat == 0 && closestaddr.lng == 0)) { find_loc.in_progress = 1; find_loc.retry = 1; place_home(closestaddr.lat, closestaddr.lng); recenter(eval(find_loc.map), closestaddr.lat, closestaddr.lng, 16, 0); e = document.getElementById('location_group_id'); if (e) { e.selectedIndex = 0; } $('#new-type-filter').hide(); find_loc.in_progress = 0; refreshAccordion(find_loc); } else { alert("sorry, we couldn't find that address"); } }); }); } }