var legend_title = null;
var legend_url = null;



var lg = new Array();
lg[0] = new Array();
lg[0].title = "";
lg[0].la = new Array();
lg[0].la[0] = new Array();
lg[0].la[0].path = "nyc2/bid";
lg[0].la[0].name = "Business Improvement Districts";
lg[0].la[0].z = 3;
lg[0].la[0].legend_title = null;
lg[0].la[0].legend_url = null;
lg[0].la[1] = new Array();
lg[0].la[1].path = "nyc2/housenum";
lg[0].la[1].name = "House Address";
lg[0].la[1].z = 3;
lg[0].la[1].legend_title = null;
lg[0].la[1].legend_url = null;
lg[0].la[2] = new Array();
lg[0].la[2].path = "nyc2/neighborhood";
lg[0].la[2].name = "Neighborhood Areas";
lg[0].la[2].z = 3;
lg[0].la[2].legend_title = null;
lg[0].la[2].legend_url = null;
lg[0].la[3] = new Array();
lg[0].la[3].path = "nyc2/rezoning";
lg[0].la[3].name = "Rezoning Project Areas";
lg[0].la[3].z = 3;
lg[0].la[3].legend_title = "Rezoning Project Areas";
lg[0].la[3].legend_url = "ny/nyc_rezoning.png";
lg[0].la[4] = new Array();
lg[0].la[4].path = "nyc2/lotnumbers";
lg[0].la[4].name = "Tax Lot Numbers";
lg[0].la[4].z = 3;
lg[0].la[4].legend_title = null;
lg[0].la[4].legend_url = null;
lg[1] = new Array();
lg[1].title = "Community Areas";
lg[1].la = new Array();
lg[1].la[0] = new Array();
lg[1].la[0].path = "nyc2/censustract";
lg[1].la[0].name = "Census Tract with Blocks";
lg[1].la[0].z = 3;
lg[1].la[0].legend_title = null;
lg[1].la[0].legend_url = null;
lg[1].la[1] = new Array();
lg[1].la[1].path = "nyc2/schooldistrict";
lg[1].la[1].name = "School Districts";
lg[1].la[1].z = 3;
lg[1].la[1].legend_title = null;
lg[1].la[1].legend_url = null;
lg[1].la[2] = new Array();
lg[1].la[2].path = "nyc2/zip5";
lg[1].la[2].name = "Zip Code";
lg[1].la[2].z = 3;
lg[1].la[2].legend_title = null;
lg[1].la[2].legend_url = null;
lg[2] = new Array();
lg[2].title = "Community Features";
lg[2].la = new Array();
lg[2].la[0] = new Array();
lg[2].la[0].path = "nyc2/buildoutline";
lg[2].la[0].name = "Building Footprints";
lg[2].la[0].z = 4;
lg[2].la[0].legend_title = null;
lg[2].la[0].legend_url = null;
lg[2].la[1] = new Array();
lg[2].la[1].path = "nyc2/landmarks";
lg[2].la[1].name = "Landmark Points & Regions";
lg[2].la[1].z = 3;
lg[2].la[1].legend_title = "Landmark Points & Regions";
lg[2].la[1].legend_url = "ny/nyc_landmarks.png";
lg[2].la[2] = new Array();
lg[2].la[2].path = "nyc2/school";
lg[2].la[2].name = "Schools";
lg[2].la[2].z = 3;
lg[2].la[2].legend_title = "Schools";
lg[2].la[2].legend_url = "ny/nyc_school.gif";
lg[2].la[3] = new Array();
lg[2].la[3].path = "nyc2/toxic";
lg[2].la[3].name = "Toxic Sites";
lg[2].la[3].z = 3;
lg[2].la[3].legend_title = "Toxic Sites";
lg[2].la[3].legend_url = "ny/nyc_toxicsites.png";



var zl = new Array();
zl[0] = new Array();
zl[0].x_tiles = 4;
zl[0].y_tiles = 4;
zl[0].gc = new Array(0, 0, 100, 100);
zl[0].scale = 122030;
zl[0].x_tile_size = 300;
zl[0].y_tile_size = 300;
zl[0].folder = "zl0";
zl[0].click_action="/mason/Maps/mapclick.html";
zl[1] = new Array();
zl[1].x_tiles = 10;
zl[1].y_tiles = 10;
zl[1].gc = new Array(0, 0, 100, 100);
zl[1].scale = 48810;
zl[1].x_tile_size = 300;
zl[1].y_tile_size = 300;
zl[1].folder = "zl1";
zl[1].click_action="/mason/Maps/mapclick.html";
zl[2] = new Array();
zl[2].x_tiles = 25;
zl[2].y_tiles = 25;
zl[2].gc = new Array(0, 0, 100, 100);
zl[2].scale = 19530;
zl[2].x_tile_size = 300;
zl[2].y_tile_size = 300;
zl[2].folder = "zl2";
zl[2].click_action="/mason/Maps/mapclick.html";
zl[3] = new Array();
zl[3].x_tiles = 63;
zl[3].y_tiles = 63;
zl[3].gc = new Array(0, 0, 100, 100);
zl[3].scale = 7750;
zl[3].x_tile_size = 300;
zl[3].y_tile_size = 300;
zl[3].folder = "zl3";
zl[3].click_action="/mason/Maps/mapclick.html";
zl[4] = new Array();
zl[4].x_tiles = 163;
zl[4].y_tiles = 163;
zl[4].gc = new Array(0, 0, 100, 100);
zl[4].scale = 2990;
zl[4].x_tile_size = 300;
zl[4].y_tile_size = 300;
zl[4].folder = "zl4";
zl[4].click_action="/mason/Maps/mapclick.html";
zl[5] = new Array();
zl[5].x_tiles = 489;
zl[5].y_tiles = 489;
zl[5].gc = new Array(0, 0, 100, 100);
zl[5].scale = 1000;
zl[5].x_tile_size = 300;
zl[5].y_tile_size = 300;
zl[5].folder = "zl5";
zl[5].click_action="/mason/Maps/mapclick.html";



var bg = new Array();
bg[0] = new Array();
bg[0].title = "";
bg[0].bm = new Array();
bg[0].bm[0] = new Array();
bg[0].bm[0].path = "nyc2/buildclass";
bg[0].bm[0].name = "Building Classes";
bg[0].bm[0].legend_title = "Building Classes";
bg[0].bm[0].legend_url = "ny/nyc_buildclass.png";
bg[0].bm[0].scr = "2";
bg[0].bm[1] = new Array();
bg[0].bm[1].path = "nyc2/heatmap";
bg[0].bm[1].name = "Heat Map ($/sqft)";
bg[0].bm[1].legend_title = "Price Per Square Foot ($/sqft)";
bg[0].bm[1].legend_url = "pricesqft_heatmap.png";
bg[0].bm[1].scr = "2";
bg[0].bm[2] = new Array();
bg[0].bm[2].path = "nyc2/ownershipall";
bg[0].bm[2].name = "Ownership";
bg[0].bm[2].legend_title = "Ownership";
bg[0].bm[2].legend_url = "ny/nyc_ownership.png";
bg[0].bm[2].scr = "2";
bg[0].bm[3] = new Array();
bg[0].bm[3].path = "nyc2/default";
bg[0].bm[3].name = "Parcel / Building Outlines";
bg[0].bm[3].legend_title = "General Features";
bg[0].bm[3].legend_url = "ny/nyc_parcel_building.png";
bg[0].bm[3].scr = "0";
bg[0].bm[4] = new Array();
bg[0].bm[4].path = "nyc2/defaultnobldgoutline";
bg[0].bm[4].name = "Parcel Outlines (Default) ";
bg[0].bm[4].legend_title = "General Features";
bg[0].bm[4].legend_url = "ny/nyc_parcel-default.png";
bg[0].bm[4].scr = "0";
bg[0].bm[5] = new Array();
bg[0].bm[5].path = "nyc2/pdfzoning";
bg[0].bm[5].name = "Zoning";
bg[0].bm[5].legend_title = "PDF Zoning";
bg[0].bm[5].legend_url = null;
bg[0].bm[5].scr = "1";
bg[1] = new Array();
bg[1].title = "Distance to:";
bg[1].bm = new Array();
bg[1].bm[0] = new Array();
bg[1].bm[0].path = "nyc2/prox2university";
bg[1].bm[0].name = "College / University";
bg[1].bm[0].legend_title = "University / College Proximity";
bg[1].bm[0].legend_url = "nyc_prox2university.png";
bg[1].bm[0].scr = "0";
bg[1].bm[1] = new Array();
bg[1].bm[1].path = "nyc2/prox2elemsch";
bg[1].bm[1].name = "Elementary School";
bg[1].bm[1].legend_title = "Elementary School Proximity";
bg[1].bm[1].legend_url = "nyc_prox2elemsch.png";
bg[1].bm[1].scr = "0";
bg[1].bm[2] = new Array();
bg[1].bm[2].path = "nyc2/prox2high";
bg[1].bm[2].name = "High School";
bg[1].bm[2].legend_title = "High School Proximity";
bg[1].bm[2].legend_url = "nyc_prox2high.png";
bg[1].bm[2].scr = "0";
bg[1].bm[3] = new Array();
bg[1].bm[3].path = "nyc2/prox2jrhigh";
bg[1].bm[3].name = "Junior High School";
bg[1].bm[3].legend_title = "Junior High School Proximity";
bg[1].bm[3].legend_url = "nyc_prox2jrhigh.png";
bg[1].bm[3].scr = "0";
bg[1].bm[4] = new Array();
bg[1].bm[4].path = "nyc2/subwayaccessbybuilding";
bg[1].bm[4].name = "Subway Station";
bg[1].bm[4].legend_title = "Subway Accessibility";
bg[1].bm[4].legend_url = "nyc_subway_access.png";
bg[1].bm[4].scr = "0";
bg[2] = new Array();
bg[2].title = "Parcel Features";
bg[2].bm = new Array();
bg[2].bm[0] = new Array();
bg[2].bm[0].path = "nyc2/story";
bg[2].bm[0].name = "Building Stories On Lot ";
bg[2].bm[0].legend_title = "Building Stories On Lot";
bg[2].bm[0].legend_url = "stories_brown.png";
bg[2].bm[0].scr = "2";
bg[2].bm[1] = new Array();
bg[2].bm[1].path = "nyc2/satimage";
bg[2].bm[1].name = "Satellite Image";
bg[2].bm[1].legend_title = null;
bg[2].bm[1].legend_url = null;
bg[2].bm[1].scr = "1";
bg[2].bm[2] = new Array();
bg[2].bm[2].path = "nyc2/yrbuilt";
bg[2].bm[2].name = "Year Built ";
bg[2].bm[2].legend_title = "Year Built";
bg[2].bm[2].legend_url = "yrbuilt_lighter.png";
bg[2].bm[2].scr = "2";
bg[3] = new Array();
bg[3].title = "Hazards and Environment";
bg[3].bm = new Array();
bg[3].bm[0] = new Array();
bg[3].bm[0].path = "nyc2/femadfirm";
bg[3].bm[0].name = "FEMA Flood Zone";
bg[3].bm[0].legend_title = "FEMA Special Flood Hazard Area (or SFHA)";
bg[3].bm[0].legend_url = "usa/fema-base2.png";
bg[3].bm[0].scr = "1";
bg[3].bm[1] = new Array();
bg[3].bm[1].path = "nyc2/hurricane";
bg[3].bm[1].name = "Hurricane Evacuation Zones";
bg[3].bm[1].legend_title = "Hurricane Evacuation Zones";
bg[3].bm[1].legend_url = "ny/nyc_hurricane.png";
bg[3].bm[1].scr = "0";
bg[4] = new Array();
bg[4].title = "Air Rights";
bg[4].bm = new Array();
bg[4].bm[0] = new Array();
bg[4].bm[0].path = "nyc2/farbyparcel";
bg[4].bm[0].name = "Available Air Rights by Parcel";
bg[4].bm[0].legend_title = "Unused Floor Area (sqft)";
bg[4].bm[0].legend_url = "ny/nyc_parcel-sf.png";
bg[4].bm[0].scr = "1";
bg[5] = new Array();
bg[5].title = "Regulations";
bg[5].bm = new Array();
bg[5].bm[0] = new Array();
bg[5].bm[0].path = "nyc2/violations";
bg[5].bm[0].name = "HPD Violations";
bg[5].bm[0].legend_title = "HPD Violations";
bg[5].bm[0].legend_url = "ny/nyc_violations.png";
bg[5].bm[0].scr = "2";
bg[5].bm[1] = new Array();
bg[5].bm[1].path = "nyc2/noliquor";
bg[5].bm[1].name = "Liquor License Prohibited Regions";
bg[5].bm[1].legend_title = "Liquor License Prohibited Regions";
bg[5].bm[1].legend_url = "ny/nyc_noliquor.png";
bg[5].bm[1].scr = "1";
bg[5].bm[2] = new Array();
bg[5].bm[2].path = "nyc2/restaurants";
bg[5].bm[2].name = "Restaurant Violations ";
bg[5].bm[2].legend_title = "Restaurants";
bg[5].bm[2].legend_url = "ny/nyc_restaurants.png";
bg[5].bm[2].scr = "0";
bg[6] = new Array();
bg[6].title = "Sales";
bg[6].bm = new Array();
bg[6].bm[0] = new Array();
bg[6].bm[0].path = "nyc2/bkannualsales";
bg[6].bm[0].name = "Brooklyn Annual 2009 Sales Report";
bg[6].bm[0].legend_title = "Condo and Coops Sales Price sqft";
bg[6].bm[0].legend_url = "ny/nyc_corcoranreport.png";
bg[6].bm[0].scr = "0";
bg[6].bm[1] = new Array();
bg[6].bm[1].path = "nyc2/annualsales";
bg[6].bm[1].name = "Manhattan Annual 2009 Sales Report";
bg[6].bm[1].legend_title = "Condo and Coops Sales Price sqft";
bg[6].bm[1].legend_url = "ny/nyc_corcoranreport.png";
bg[6].bm[1].scr = "0";
bg[6].bm[2] = new Array();
bg[6].bm[2].path = "nyc2/bkquarterlysales";
bg[6].bm[2].name = "Q2 2010 Brooklyn Sales Report";
bg[6].bm[2].legend_title = "Condo and Coops Sales Price sqft";
bg[6].bm[2].legend_url = "ny/nyc_corcoranreport.png";
bg[6].bm[2].scr = "0";
bg[6].bm[3] = new Array();
bg[6].bm[3].path = "nyc2/quarterlysales";
bg[6].bm[3].name = "Q2 2010 Manhattan Sales Report";
bg[6].bm[3].legend_title = "Condo and Coops Sales Price sqft";
bg[6].bm[3].legend_url = "ny/nyc_corcoranreport.png";
bg[6].bm[3].scr = "0";
bg[6].bm[4] = new Array();
bg[6].bm[4].path = "nyc2/saleage";
bg[6].bm[4].name = "Recent Sales";
bg[6].bm[4].legend_title = "Sale Range";
bg[6].bm[4].legend_url = "ny/nyc_saleage.png";
bg[6].bm[4].scr = "2";
bg[6].bm[5] = new Array();
bg[6].bm[5].path = "nyc2/buildclsaleage";
bg[6].bm[5].name = "Recent Sales by Building Classes";
bg[6].bm[5].legend_title = "Sale Range";
bg[6].bm[5].legend_url = "ny/nyc_buildclsaleage.png";
bg[6].bm[5].scr = "2";
bg[7] = new Array();
bg[7].title = "Taxes";
bg[7].bm = new Array();
bg[7].bm[0] = new Array();
bg[7].bm[0].path = "nyc2/propertytax";
bg[7].bm[0].name = "Market Values Variations";
bg[7].bm[0].legend_title = "Market Values Variations";
bg[7].bm[0].legend_url = "ny/nyc_market_values.png";
bg[7].bm[0].scr = "2";
bg[7].bm[1] = new Array();
bg[7].bm[1].path = "nyc2/taxsqft";
bg[7].bm[1].name = "Tax Value Per Square Foot";
bg[7].bm[1].legend_title = "Tax Value Per Square Foot";
bg[7].bm[1].legend_url = "taxsqft.png";
bg[7].bm[1].scr = "2";
bg[8] = new Array();
bg[8].title = "Special Classes";
bg[8].bm = new Array();
bg[8].bm[0] = new Array();
bg[8].bm[0].path = "nyc2/lotwphoto";
bg[8].bm[0].name = "Lots With Photos";
bg[8].bm[0].legend_title = "Lots with Photo";
bg[8].bm[0].legend_url = "ny/nyc_lotwphoto.png";
bg[8].bm[0].scr = "2";
bg[8].bm[1] = new Array();
bg[8].bm[1].path = "nyc2/crime";
bg[8].bm[1].name = "Precinct Crime Map ";
bg[8].bm[1].legend_title = "Police Precincts - Crime";
bg[8].bm[1].legend_url = "ny/nyc_crime.png";
bg[8].bm[1].scr = "0";
bg[8].bm[2] = new Array();
bg[8].bm[2].path = "nyc2/storefronts";
bg[8].bm[2].name = "Retail Store Fronts ";
bg[8].bm[2].legend_title = "Retail Store Fronts";
bg[8].bm[2].legend_url = "ny/nyc_storefronts.png";
bg[8].bm[2].scr = "2";
bg[8].bm[3] = new Array();
bg[8].bm[3].path = "nyc2/subwayrank";
bg[8].bm[3].name = "Subway Station Rank Map ";
bg[8].bm[3].legend_title = null;
bg[8].bm[3].legend_url = null;
bg[8].bm[3].scr = "0";
bg[8].bm[4] = new Array();
bg[8].bm[4].path = "nyc2/subwayrank2009";
bg[8].bm[4].name = "Subway Station Rank Map 2009 ";
bg[8].bm[4].legend_title = null;
bg[8].bm[4].legend_url = null;
bg[8].bm[4].scr = "0";




