

    var siteRootURL = "http://al.linkamericadata.org/"
    var mapService = "http://gis2.kimballdata.com/ArcGIS/rest/services/AlabamaBroadbandOnlineV4/AlabamaBroadbandMapBase/MapServer";
    var tileService = "http://gis2.kimballdata.com/ArcGIS/rest/services/AlabamaBroadbandOnlineV4";
    
    var fullMapCenter = new google.maps.LatLng(32.822, -86.2);
    var fullMapZoom = 7;
    var stateName = "Alabama"
    var stateAbbvr = "Al"


    var jsonCounties = [
        	{"name":"Autauga"},{"name":"Baldwin"},{"name":"Barbour"},{"name":"Bibb"},{"name":"Blount"},{"name":"Bullock"},
	{"name":"Butler"},{"name":"Calhoun"},{"name":"Chambers"},{"name":"Cherokee"},{"name":"Chilton"},{"name":"Choctaw"},
	{"name":"Clarke"},{"name":"Clay"},{"name":"Cleburne"},{"name":"Coffee"},{"name":"Colbert"},{"name":"Conecuh"},
	{"name":"Coosa"},{"name":"Covington"},{"name":"Crenshaw"},{"name":"Cullman"},{"name":"Dale"},{"name":"Dallas"},
	{"name":"DeKalb"},{"name":"Elmore"},{"name":"Escambia"},{"name":"Etowah"},{"name":"Fayette"},{"name":"Franklin"},
	{"name":"Geneva"},{"name":"Greene"},{"name":"Hale"},{"name":"Henry"},{"name":"Houston"},{"name":"Jackson"},
	{"name":"Jefferson"},{"name":"Lamar"},{"name":"Lauderdale"},{"name":"Lawrence"},{"name":"Lee"},{"name":"Limestone"},
	{"name":"Lowndes"},{"name":"Macon"},{"name":"Madison"},{"name":"Marengo"},{"name":"Marion"},{"name":"Marshall"},
	{"name":"Mobile"},{"name":"Monroe"},{"name":"Montgomery"},{"name":"Morgan"},{"name":"Perry"},{"name":"Pickens"},
	{"name":"Pike"},{"name":"Randolph"},{"name":"Russell"},{"name":"Shelby"},{"name":"St. Clair"},{"name":"Sumter"},
	{"name":"Talladega"},{"name":"Tallapoosa"},{"name":"Tuscaloosa"},{"name":"Walker"},{"name":"Washington"},
	{"name":"Wilcox"},{"name":"Winston"}      
    ];


var jsonTechnologies = [
{"name":"Asymetric xDSL","code":"10"},{"name":"Symetric xDSL","code":"20"},{"name":"Other Copper Wireline","code":"30"},{"name":"Cable Modem - DOCSIS 3.0","code":"40"},
{"name":"Cable Modem - Other","code":"41"},{"name":"Optical Carrier/Fiber to the End User","code":"50"},{"name":"Satellite","code":"60"},
{"name":"Terrestrial Fixed Wireless - Unlicensed","code":"70"},{"name":"Terrestrial Fixed Wireless - Licensed","code":"71"},
{"name":"Terrestrial Mobile Wireless","code":"80"},{"name":"Electric Power Line","code":"90"}
];


     var jsonBroadbandMaps = [
          {"name":"Number of Broadband Providers",
		   "lyrkey":"BroadbandProviderCnt",
           "desc":"This map shows the total number of broadband providers (all technology types).",
           "lgnd":"ProviderCount",
           "lyrid":"2"
          },
          {"name":"Max Adv Upload Speed, Wireline",
		   "lyrkey":"MaxUpSpeedWireline",
           "desc":"This map shows the maximum advertised upload speed of wireline service. Wireline includes Copper, Fiber and Cable service.  These speeds are not typical speeds.",
           "lgnd":"SpeedClasses",
           "lyrid":"3"
          },
          {"name":"Max Adv Upload Speed, Wireless",
		   "lyrkey":"MaxUpSpeedWireless",
           "desc":"This map shows the maximum advertised upload speed of wireless service. Fixed and Mobile wireless service is included.  These speeds are not typical speeds.",
           "lgnd":"SpeedClasses",
           "lyrid":"4"
          },
          {"name":"Max Adv Download Speed, Wireline",
		  "lyrkey":"MaxDownSpeedWireline",
           "desc":"This map shows the maximum advertised download speed of wireline service. Wireline includes Copper, Fiber and Cable service.   These speeds are not typical speeds.",
           "lgnd":"SpeedClasses",
           "lyrid":"5"
          },
          {"name":"Max Adv Download Speed, Wireless",
		  "lyrkey":"MaxDownSpeedWireless",
           "desc":"This map shows the maximum advertised download speed of wireless service. Fixed and Mobile wireless service is included.  These speeds are not typical speeds.",
           "lgnd":"SpeedClasses",
           "lyrid":"6"
          },
          {"name":"xDSL Coverage",
		  "lyrkey":"DSLCoverage",
           "desc":"This map shows the the maximum advertised download speed of xDSL service. Only areas served by xDSL technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"7"
          },
          {"name":"Cable Modem Coverage",
		  "lyrkey":"CableModemCoverage",
           "desc":"This map shows the the maximum advertised download speed of Cable wireline service. Only areas served by Cable wireline technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"8"
          },
          {"name":"Fixed Wireless Coverage",
		  "lyrkey":"FixedWirelessCoverage",
           "desc":"This map shows the the maximum advertised download speed of Fixed Wireless service. Only areas served by Fixed Wireless technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"9"
          },
          {"name":"Mobile Wireless Coverage",
		  "lyrkey":"MobileWirelessCoverage",
           "desc":"This map shows the the maximum advertised download speed of Mobile Wireless service. Only areas served by Mobile Wireless technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"10"
          },
		 {"name":"Fiber to the Premise Coverage",
		  "lyrkey":"FibertothePremiseCoverage",
           "desc":"This map shows the the maximum advertised download speed of Fiber to the Premise service. Only areas served by Fiber to the Premise technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"11"
          },
		 {"name":"Copper Wireline Coverage",
		  "lyrkey":"CopperWirelineCoverage",
           "desc":"This map shows the maximum advertised download speed of Copper Wireline services such as T1 and ISDN (excluding DSL). Only areas served by Copper Wireline technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"12"
          },
		  {"name":"BB Over Power Line Coverage",
		  "lyrkey":"BBOverPowerLineCoverage",
           "desc":"This map shows the the maximum advertised download speed of Broadband Over Power Line service. Only areas served by Broadband Over Power Line technology are shown on this map.",
           "lgnd":"SpeedClasses",
           "lyrid":"13"
          },
          {"name":"No Broadband Coverage Reported",
		  "lyrkey":"NoBroadbandCoverage",
           "desc":"This map shows the areas where no broadband coverage has been identified at this time.",
           "lgnd":"NoBroadband",
           "lyrid":"12"
          },
		 {"name":"Consumer Feedback Layer",
		  "lyrkey":"BroadbandCoverage",
           "desc":"This map shows the results of consumer feedback survey on the map.",
           "lgnd":"FeedbackLayer",
           "lyrid":"13"
          },
	  {"name":"Base Map Only",
	  "lyrkey":"none",
	   "desc":"No broadband coverage data currently displayed...",
                  "lgnd":"none",
                  "lyrid":"99"
          }
      ];

  var jsonLegends = {
    "ProviderCount": [
       {"clr":"#FFFFB2","label":"1 Broadband Provider"},
       {"clr":"#FECC5C","label":"2 Broadband Providers"}, 
       {"clr":"#FD8D3C","label":"3 Broadband Providers"},
       {"clr":"#F03B20","label":"4 Broadband Providers"},
       {"clr":"#BD0026","label":"5 or more Broadband Providers"}
    ],
    "SpeedClasses": [
       {"clr":"#FFFFB2","label":"200 - 768 kbps"},
       {"clr":"#FECC5C","label":"768 kbps - 3 mbps"}, 
       {"clr":"#FD8D3C","label":"3 - 10 mbps"},
       {"clr":"#F03B20","label":"10 - 25 mbps"},
       {"clr":"#BD0026","label":"Greater than 25 mbps"}
    ],
	"FeedbackLayer": [
       {"clr":"#DF73FF","label":"Broadband Coverage Available"}
    ]
  };


  


              




