﻿

 var expdate = new Date ();
       expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000*365)); 
       //1 year from now
       
var isOn_DE,isOn_CONDO,isOn_TOWN,isOn_LOFT,isOn_DUPLEX,isOn_MU;

//------------------------------------initMap-------------------------------------

function initMap() {

    var isCookie; 
    var intZoom;
   
     myMap = new MQA.TileMap( document.getElementById('mapDiv'),7,new MQA.LatLng(41.882145,-87.886128)); 
	 
	 if(getCookie("show_options") == 'yes')
	  {
	   divOptions.style.display = "";
       divShow.style.display = "none";
       divHide.style.display = "";
      }
        	     		
    myMapCornerPlacement = new MQA.MapCornerPlacement();
	myMapCornerPlacement.mapCorner = MQA.MapCorner.TOP_LEFT;
	
	mySize = new MQA.Size();
	mySize.width = 200;
	mySize.height = 25;

    myMapCornerPlacement.offsetSize = mySize;
    
      var strCopy = "<table style='border:silver 1px solid;font-size:8pt;font-family:verdana;height:40px;width:225px;background-color:#ffffff;'>" +
                  "<tr><td><img src='http://v2.nufrontiers.com/nf_fav_2.ico' alt='Nu Frontiers' /></td>" +
                  "<td><a href='http://www.nufrontiers.com'/>Nu Frontiers Enterprises, Inc.</a></td></tr></table>";
	
	myMap.addControl(new MQA.LargeZoomControl());
	myVControl = new MQA.ViewControl(myMap);
	//Display control specifying the CornerPlacement, and an MQA.Size object to define X,Y offset
	myMap.addControl(myVControl, new MQA.MapCornerPlacement(MQA.MapCorner.TOP_LEFT, new MQA.Size(100,0)));
	
    myCopyright = new MQA.Copyright( myMap ,'id',strCopy,new MQA.MapCornerPlacement(MQA.MapCorner.BOTTOM_LEFT, new MQA.Size(0,25)), 275,40);
    myMap.addControl( myCopyright );
      
      
      //--downtown overlays--
      
    //--east rogers park--
    polyEastRogersPark = new MQA.PolygonOverlay();		 
    polyEastRogersPark.setBorderWidth(0);
    polyEastRogersPark.setColor("#999999");   
    polyEastRogersPark.setFillColor("#005500");
    polyEastRogersPark.setFillColorAlpha( .18 );
    polyEastRogersPark.setKey("EastRogersPark");
    polyEastRogersPark.setAltColor("#00C8FF");
	polyEastRogersPark.setAltFillColor("#00C8FF");
	polyEastRogersPark.setAltFillColorAlpha(0.25);
    
         var shapesEastRogersPark = new MQA.LatLngCollection();
            shapesEastRogersPark.add( new MQA.LatLng( 42.026914 , -87.667721 ));
            shapesEastRogersPark.add( new MQA.LatLng( 42.027199 , -87.678434 ));
            shapesEastRogersPark.add( new MQA.LatLng( 42.0264 , -87.678506 ));
            shapesEastRogersPark.add( new MQA.LatLng( 42.026571 , -87.684833 ));
            shapesEastRogersPark.add( new MQA.LatLng( 42.014505 , -87.683395 ));
            shapesEastRogersPark.add( new MQA.LatLng( 41.998221 , -87.676133 ));
            shapesEastRogersPark.add( new MQA.LatLng( 41.998449 , -87.654706 ));
            
           polyEastRogersPark.setShapePoints( shapesEastRogersPark );
		   myMap.addOverlay( polyEastRogersPark );
		   
		myPOIEastRogersPark = new MQA.Poi(new MQA.LatLng( 42.011885,-87.670495 ));
        myPOIEastRogersPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td nowrap style='padding-left:2px;padding-right:2px;'>E. Rogers Park</td></tr></table>");
		myPOIEastRogersPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIEastRogersPark );
	
	//--west rogers park--	
	polyWestRogersPark = new MQA.PolygonOverlay();
	polyWestRogersPark.setBorderWidth(0);
    polyWestRogersPark.setColor("#999999");
	polyWestRogersPark.setFillColor("#000055");
    polyWestRogersPark.setFillColorAlpha( .18 );
    polyWestRogersPark.setKey("WestRogersPark");
    polyWestRogersPark.setAltColor("#00C8FF");
	polyWestRogersPark.setAltFillColor("#00C8FF");
	polyWestRogersPark.setAltFillColorAlpha(0.25);
    
         var shapesWestRogersPark = new MQA.LatLngCollection();
            shapesWestRogersPark.add( new MQA.LatLng( 42.026541 , -87.685475 ));
            shapesWestRogersPark.add( new MQA.LatLng( 42.026312 , -87.709922 ));
            shapesWestRogersPark.add( new MQA.LatLng( 41.990432 , -87.709922 ));
            shapesWestRogersPark.add( new MQA.LatLng( 41.990947 , -87.672821 ));
            shapesWestRogersPark.add( new MQA.LatLng( 41.992202 , -87.675266 ));
            shapesWestRogersPark.add( new MQA.LatLng( 41.995054 , -87.675409 ));
            shapesWestRogersPark.add( new MQA.LatLng( 42.015304 , -87.684109 ));
            
            polyWestRogersPark.setShapePoints( shapesWestRogersPark );
			myMap.addOverlay( polyWestRogersPark );	   
			 
	myPOIWestRogersPark = new MQA.Poi(new MQA.LatLng( 42.006859,-87.694239 ));
	myPOIWestRogersPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>W. Rogers Park</td></tr></table>");
    myPOIWestRogersPark.setValue('minZoomLevel', 9);
    myMap.addPoi( myPOIWestRogersPark );
	
	//--edgewater--
    polyEdgewater = new MQA.PolygonOverlay();
	polyEdgewater.setBorderWidth(0);
	polyEdgewater.setColor("#999999");  
    polyEdgewater.setFillColor("#550000");
    polyEdgewater.setFillColorAlpha( .18 );
    polyEdgewater.setKey("Edgewater");


         var shapesEdgewater = new MQA.LatLngCollection();
            shapesEdgewater.add( new MQA.LatLng( 41.998077 , -87.654846 ));
            shapesEdgewater.add( new MQA.LatLng( 41.997849 , -87.676344 ));
            shapesEdgewater.add( new MQA.LatLng( 41.99494 , -87.674978 ));
            shapesEdgewater.add( new MQA.LatLng( 41.99203 , -87.674762 ));
            shapesEdgewater.add( new MQA.LatLng( 41.990833 , -87.672313 ));
            shapesEdgewater.add( new MQA.LatLng( 41.990776 , -87.674618 ));
            shapesEdgewater.add( new MQA.LatLng( 41.983474 , -87.674331 ));
            shapesEdgewater.add( new MQA.LatLng( 41.983645 , -87.653983 ));
            
             polyEdgewater.setShapePoints( shapesEdgewater );
			myMap.addOverlay( polyEdgewater );
			
	myPOIEdgewater = new MQA.Poi(new MQA.LatLng( 41.991055,-87.664032 ));
	myPOIEdgewater.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Edgewater</td></tr></table>");
    myPOIEdgewater.setValue('minZoomLevel', 9);
    myMap.addPoi( myPOIEdgewater );
	
	//--andersonville--
	polyAndersonville = new MQA.PolygonOverlay();
    polyAndersonville.setBorderWidth(0);
    polyAndersonville.setColor("#999999");   
    polyAndersonville.setFillColor("#555500");
    polyAndersonville.setFillColorAlpha( .18 );
    polyAndersonville.setKey("Andersonville");

         var shapesAndersonville = new MQA.LatLngCollection();
            shapesAndersonville.add( new MQA.LatLng( 41.983474 , -87.659807 ));
            shapesAndersonville.add( new MQA.LatLng( 41.983075 , -87.678429 ));
            shapesAndersonville.add( new MQA.LatLng( 41.977656 , -87.688855 ));
            shapesAndersonville.add( new MQA.LatLng( 41.976059 , -87.688711 ));
            shapesAndersonville.add( new MQA.LatLng( 41.976401 , -87.659735 ));
            
            polyAndersonville.setShapePoints( shapesAndersonville );
			myMap.addOverlay( polyAndersonville );
			
	 myPOIAndersonville = new MQA.Poi(new MQA.LatLng( 41.980278,-87.675678 ));
	 myPOIAndersonville.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Andersonville</td></tr></table>");
     myPOIAndersonville.setValue('minZoomLevel', 9);
     myMap.addPoi( myPOIAndersonville );
        
	//--uptown--
    polyUptown = new MQA.PolygonOverlay();
    polyUptown.setBorderWidth(0);
    polyUptown.setColor("#999999");   
    polyUptown.setFillColor("#ff99cc");
    polyUptown.setFillColorAlpha( .18 );
    polyUptown.setKey("Uptown");
    
        var shapesUptown = new MQA.LatLngCollection();
            shapesUptown.add( new MQA.LatLng( 41.983474 , -87.651323 ));
            shapesUptown.add( new MQA.LatLng( 41.983474 , -87.659663 ));
            shapesUptown.add( new MQA.LatLng( 41.976344 , -87.659663 ));
            shapesUptown.add( new MQA.LatLng( 41.976344 , -87.668219 ));
            shapesUptown.add( new MQA.LatLng( 41.968871 , -87.667213 ));
            shapesUptown.add( new MQA.LatLng( 41.961684 , -87.665631 ));
            shapesUptown.add( new MQA.LatLng( 41.961684 , -87.642479 ));
            
            polyUptown.setShapePoints( shapesUptown );
			myMap.addOverlay( polyUptown );	
	
	myPOIUptown = new MQA.Poi(new MQA.LatLng( 41.969933,-87.656516 ));
	myPOIUptown.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Uptown</td></tr></table>");
	myPOIUptown.setValue('minZoomLevel', 9);
	myMap.addPoi( myPOIUptown );
	
	//--ravenswood--	
    polyRavenswood = new MQA.PolygonOverlay();
    polyRavenswood.setBorderWidth(0);
    polyRavenswood.setColor("#999999");    
    polyRavenswood.setFillColor("#00ff00");
    polyRavenswood.setFillColorAlpha( .18 );
    polyRavenswood.setKey("Ravenswood");
    
         var shapesRavenswood = new MQA.LatLngCollection();
            shapesRavenswood.add( new MQA.LatLng( 41.975829 , -87.679436 ));
            shapesRavenswood.add( new MQA.LatLng( 41.975634,-87.704442 ));
            shapesRavenswood.add( new MQA.LatLng( 41.970525,-87.702547 ));
            shapesRavenswood.add( new MQA.LatLng( 41.96847 , -87.700359 ));
            shapesRavenswood.add( new MQA.LatLng( 41.961454 , -87.694175 ));
            shapesRavenswood.add( new MQA.LatLng( 41.961682 , -87.679004 ));

	   	    polyRavenswood.setShapePoints( shapesRavenswood );
			myMap.addOverlay( polyRavenswood );		
	
	myPOIRavenswood = new MQA.Poi(new MQA.LatLng( 41.968641 ,-87.697051 ));
    myPOIRavenswood.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Ravenswood</td></tr></table>");
    myPOIRavenswood.setValue('minZoomLevel', 9);
    myMap.addPoi( myPOIRavenswood );
    
    
	//--lincoln square--
	polyLincolnSquare = new MQA.PolygonOverlay();	   
    polyLincolnSquare.setBorderWidth(0);
    polyLincolnSquare.setColor("#999999");   
    polyLincolnSquare.setFillColor("#550000");
    polyLincolnSquare.setFillColorAlpha( .18 );
    polyLincolnSquare.setKey("LincolnSquare");
    
         var shapesLincolnSquare = new MQA.LatLngCollection();
            shapesLincolnSquare.add( new MQA.LatLng( 41.976057 , -87.668291 ));
            shapesLincolnSquare.add( new MQA.LatLng( 41.975818 , -87.678932 ));
            shapesLincolnSquare.add( new MQA.LatLng( 41.961635 , -87.678573 ));
            shapesLincolnSquare.add( new MQA.LatLng( 41.96191 , -87.665846 ));
            
	   	    polyLincolnSquare.setShapePoints( shapesLincolnSquare );
			myMap.addOverlay( polyLincolnSquare );	
	
		myPOILincolnSquare = new MQA.Poi(new MQA.LatLng( 41.972776,-87.676409 ));
		myPOILincolnSquare.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Lincoln Square</td></tr></table>");
	    myPOILincolnSquare.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOILincolnSquare );		
			
	//--wrigleyville--
	polyWrigleyville = new MQA.PolygonOverlay();
	polyWrigleyville.setBorderWidth(0);
    polyWrigleyville.setColor("#999999");       
    polyWrigleyville.setFillColor("#ff0000");
    polyWrigleyville.setFillColorAlpha( .18 );
    polyWrigleyville.setKey("Wrigleyville");
    
         var shapesWrigleyville = new MQA.LatLngCollection();
            shapesWrigleyville.add( new MQA.LatLng( 41.961882 , -87.642478 ));
            shapesWrigleyville.add( new MQA.LatLng( 41.961539 , -87.668973 ));
            shapesWrigleyville.add( new MQA.LatLng( 41.947079 , -87.668614 ));
            shapesWrigleyville.add( new MQA.LatLng( 41.947336 , -87.637768 ));
            
	   	    polyWrigleyville.setShapePoints( shapesWrigleyville );
			myMap.addOverlay( polyWrigleyville );
	
		myPOIWrigleyville = new MQA.Poi(new MQA.LatLng( 41.953924 ,-87.66123 ));
		myPOIWrigleyville.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Wrigleyville</td></tr></table>");
        myPOIWrigleyville.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIWrigleyville );	

	    		
	//--north center/st. bens--
	polyNorthCenter = new MQA.PolygonOverlay();
	polyNorthCenter.setBorderWidth(0);
    polyNorthCenter.setColor("#999999");     
    polyNorthCenter.setFillColor("#005500");
    polyNorthCenter.setFillColorAlpha( .18 );
    polyNorthCenter.setKey("NorthCenter");
    
         var shapesNorthCenter = new MQA.LatLngCollection();
            shapesNorthCenter.add( new MQA.LatLng( 41.961454 , -87.669225 ));
            shapesNorthCenter.add( new MQA.LatLng( 41.961112 , -87.694426 ));
            shapesNorthCenter.add( new MQA.LatLng( 41.954067 , -87.694103 ));
            shapesNorthCenter.add( new MQA.LatLng( 41.949846 , -87.696619 ));
            shapesNorthCenter.add( new MQA.LatLng( 41.946765 , -87.695864 ));
            shapesNorthCenter.add( new MQA.LatLng( 41.947051 , -87.668937 ));
            
	   	    polyNorthCenter.setShapePoints( shapesNorthCenter );
			myMap.addOverlay( polyNorthCenter );			
		
	  myPOINorthCenter = new MQA.Poi(new MQA.LatLng( 41.956102,-87.685086 ));
	  myPOINorthCenter.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>North<br>Center</td></tr></table>");				
	  myPOINorthCenter.setValue('minZoomLevel', 9);
	  myMap.addPoi( myPOINorthCenter );
	  
	  		
	//--north park--
	polyNorthPark = new MQA.PolygonOverlay();
	polyNorthPark.setBorderWidth(0);
    polyNorthPark.setColor("#999999");   
    polyNorthPark.setFillColor("#ff99cc");
    polyNorthPark.setFillColorAlpha( .18 );
    polyNorthPark.setKey("NorthPark");
    
         var shapesNorthPark = new MQA.LatLngCollection();
            shapesNorthPark.add( new MQA.LatLng( 41.997191 , -87.710746 ));
            shapesNorthPark.add( new MQA.LatLng( 41.997105 , -87.728685 ));
            shapesNorthPark.add( new MQA.LatLng( 41.975628 , -87.728038 ));
            shapesNorthPark.add( new MQA.LatLng( 41.975885 , -87.704994 ));
            shapesNorthPark.add( new MQA.LatLng( 41.990317 , -87.711069 )); 
            shapesNorthPark.add( new MQA.LatLng( 41.993112 , -87.710135 ));
              
	   	    polyNorthPark.setShapePoints( shapesNorthPark );
			myMap.addOverlay( polyNorthPark );			
	
	   myPOINorthPark= new MQA.Poi(new MQA.LatLng( 41.986781,-87.720506 ));	
	   myPOINorthPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>North Park</td></tr></table>");	  
       myPOINorthPark.setValue('minZoomLevel', 9);
	   myMap.addPoi( myPOINorthPark );
				
			
     //--sauganash--
     polySauganash = new MQA.PolygonOverlay();
     polySauganash.setBorderWidth(0);
     polySauganash.setColor("#999999");   
     polySauganash.setFillColor("#000055");
     polySauganash.setFillColorAlpha( .18 );
     polySauganash.setKey("Sauganash");
    
         var shapesSauganash = new MQA.LatLngCollection();
            shapesSauganash.add( new MQA.LatLng( 41.997138,-87.72899 ));
            shapesSauganash.add( new MQA.LatLng( 41.99709,-87.749505 ));
            shapesSauganash.add( new MQA.LatLng( 41.99003 , -87.750696));
            shapesSauganash.add( new MQA.LatLng( 41.98541 , -87.750481 ));
            shapesSauganash.add( new MQA.LatLng( 41.979763 , -87.746382 )); 
            shapesSauganash.add( new MQA.LatLng( 41.975427 , -87.747317 ));
            shapesSauganash.add( new MQA.LatLng( 41.975656 , -87.728192 ));
            
	   	    polySauganash.setShapePoints( shapesSauganash );
			myMap.addOverlay( polySauganash );
		
	 
	    myPOISauganash = new MQA.Poi(new MQA.LatLng( 41.98808,-87.742389 ));
		myPOISauganash.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Sauganash</td></tr></table>");
	    myPOISauganash.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOISauganash );
	    
	    		
     //--edgebrook--
     polyEdgebrook = new MQA.PolygonOverlay();
     polyEdgebrook.setBorderWidth(0);
     polyEdgebrook.setColor("#999999");  
     polyEdgebrook.setFillColor("#fd8e17");
     polyEdgebrook.setFillColorAlpha( .18 );
     polyEdgebrook.setKey("Edgebrook");
    
         var shapesEdgebrook = new MQA.LatLngCollection();
            shapesEdgebrook.add( new MQA.LatLng( 41.975498,-87.748114 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.975441,-87.751673 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.983075,-87.764121 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.992894,-87.783309 ));
            shapesEdgebrook.add( new MQA.LatLng( 42.011833,-87.800961 ));
            shapesEdgebrook.add( new MQA.LatLng( 42.012395,-87.79796 ));
            shapesEdgebrook.add( new MQA.LatLng( 42.011784,-87.79154));
            shapesEdgebrook.add( new MQA.LatLng( 42.01169,-87.75081 )); 
            shapesEdgebrook.add( new MQA.LatLng( 42.008695,-87.749228 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.999882,-87.749192 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.99549,-87.750846 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.985679,-87.751133 ));
            shapesEdgebrook.add( new MQA.LatLng( 41.97966,-87.747107));
            
	   	    polyEdgebrook.setShapePoints( shapesEdgebrook );
			myMap.addOverlay( polyEdgebrook );		
			
       myPOIEdgebrook= new MQA.Poi(new MQA.LatLng( 41.995661,-87.77353 ));
	   myPOIEdgebrook.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Edgebrook</td></tr></table>");
       myPOIEdgebrook.setValue('minZoomLevel', 9);
       myMap.addPoi( myPOIEdgebrook );	

      //--jefferson park--
      polyJeffersonPark = new MQA.PolygonOverlay();
      polyJeffersonPark.setBorderWidth(0);
      polyJeffersonPark.setColor("#999999");  
      polyJeffersonPark.setFillColor("#00ff00");
      polyJeffersonPark.setFillColorAlpha( .18 );
      polyJeffersonPark.setKey("JeffersonPark");
    
         var shapesJeffersonPark = new MQA.LatLngCollection();
            shapesJeffersonPark.add( new MQA.LatLng( 41.975157,-87.747977 ));
            shapesJeffersonPark.add( new MQA.LatLng( 41.963036,-87.746898 ));
            shapesJeffersonPark.add( new MQA.LatLng( 41.960868,-87.743878 ));
            shapesJeffersonPark.add( new MQA.LatLng(41.960355,-87.786551 ));
            shapesJeffersonPark.add( new MQA.LatLng( 41.982459,-87.786408 ));
            shapesJeffersonPark.add( new MQA.LatLng( 41.982459,-87.77911 ));
            shapesJeffersonPark.add( new MQA.LatLng( 41.98919,-87.776521));
            shapesJeffersonPark.add( new MQA.LatLng( 41.982915,-87.764478)); 
            shapesJeffersonPark.add( new MQA.LatLng( 41.975186,-87.751787));
            
	   	    polyJeffersonPark.setShapePoints( shapesJeffersonPark );
			myMap.addOverlay( polyJeffersonPark );	 
      
      
       myPOIJeffersonPark = new MQA.Poi(new MQA.LatLng( 41.97544,-87.775113 ));
	   myPOIJeffersonPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Jefferson Park</td></tr></table>");
       myPOIJeffersonPark.setValue('minZoomLevel', 9);
       myMap.addPoi( myPOIJeffersonPark );	
			   
			   
       //--norwood park--
        polyNorwoodPark = new MQA.PolygonOverlay();
        polyNorwoodPark.setBorderWidth(0);
        polyNorwoodPark.setColor("#999999");  
        polyNorwoodPark.setFillColor("#550055");
        polyNorwoodPark.setFillColorAlpha( .18 );
        polyNorwoodPark.setKey("NorwoodPark");
    
    
         var shapesNorwoodPark = new MQA.LatLngCollection();
            shapesNorwoodPark.add( new MQA.LatLng(41.967385,-87.786797 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.966729,-87.826594 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.996676,-87.826414 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.997104,-87.809194 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.99776,-87.806642 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.99776,-87.8047 ));
            shapesNorwoodPark.add( new MQA.LatLng(41.996619,-87.798157));
            shapesNorwoodPark.add( new MQA.LatLng(41.997275,-87.795281)); 
            shapesNorwoodPark.add( new MQA.LatLng(41.997247,-87.787732));
            shapesNorwoodPark.add( new MQA.LatLng(41.992626,-87.783454));
            shapesNorwoodPark.add( new MQA.LatLng( 41.989204,-87.776731));
            shapesNorwoodPark.add( new MQA.LatLng(41.982701,-87.779247));
            shapesNorwoodPark.add( new MQA.LatLng( 41.982644,-87.786617));
            
	   	    polyNorwoodPark.setShapePoints( shapesNorwoodPark );
			myMap.addOverlay( polyNorwoodPark );
		
		myPOINorwoodPark = new MQA.Poi(new MQA.LatLng( 41.988833,-87.805383 ));
        myPOINorwoodPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Norwood Park</td></tr></table>");
		myPOINorwoodPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOINorwoodPark );
			 
			 	
         //--edison park--
         polyEdisonPark = new MQA.PolygonOverlay();
         polyEdisonPark.setBorderWidth(0);
         polyEdisonPark.setColor("#999999");     
         polyEdisonPark.setFillColor("#ffff00");
         polyEdisonPark.setFillColorAlpha( .18 );
         polyEdisonPark.setKey("EdisonPark");
    
         var shapesEdisonPark = new MQA.LatLngCollection();
            shapesEdisonPark.add( new MQA.LatLng(41.997938,-87.806855));
         
            shapesEdisonPark.add( new MQA.LatLng(42.018816,-87.806532 ));
            shapesEdisonPark.add( new MQA.LatLng(42.018588,-87.821092 ));
            shapesEdisonPark.add( new MQA.LatLng(42.015564,-87.820481 ));
            shapesEdisonPark.add( new MQA.LatLng(42.015564,-87.81969 ));
            shapesEdisonPark.add( new MQA.LatLng(42.0114,-87.819977 ));
            shapesEdisonPark.add( new MQA.LatLng(42.011315,-87.821164));
            shapesEdisonPark.add( new MQA.LatLng(41.99694,-87.821271)); 
            shapesEdisonPark.add( new MQA.LatLng(41.997187,-87.809198)); 

	   	    polyEdisonPark.setShapePoints( shapesEdisonPark );
			myMap.addOverlay( polyEdisonPark );	
  
           myPOIEdisonPark = new MQA.Poi(new MQA.LatLng( 42.004184,-87.816274 ));
		   myPOIEdisonPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Edison Park</td></tr></table>");
           myPOIEdisonPark.setValue('minZoomLevel', 9);
           myMap.addPoi( myPOIEdisonPark );
		
		
          //--portage park--
          polyPortagePark = new MQA.PolygonOverlay();		
          polyPortagePark.setBorderWidth(0);
          polyPortagePark.setColor("#999999");
          polyPortagePark.setFillColor("#ffff00");
          polyPortagePark.setFillColorAlpha( .18 );
          polyPortagePark.setKey("PortagePark");

         var shapesPortagePark = new MQA.LatLngCollection();
            shapesPortagePark.add( new MQA.LatLng(41.960503,-87.747595));
            shapesPortagePark.add( new MQA.LatLng(41.942563,-87.747055 ));
            shapesPortagePark.add( new MQA.LatLng(41.941993,-87.78599 ));
            shapesPortagePark.add( new MQA.LatLng(41.960047,-87.786601 ));

	   	    polyPortagePark.setShapePoints( shapesPortagePark );
			myMap.addOverlay( polyPortagePark );
			
			
			myPOIPortagePark = new MQA.Poi(new MQA.LatLng( 41.952689,-87.771574));
	        myPOIPortagePark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Portage Park</td></tr></table>");
            myPOIPortagePark.setValue('minZoomLevel', 9);
            myMap.addPoi( myPOIPortagePark )	
    
    //--albany park--
    polyAlbanyPark = new MQA.PolygonOverlay();
    polyAlbanyPark.setBorderWidth(0);
    polyAlbanyPark.setColor("#999999");
    polyAlbanyPark.setFillColor("#fd8e17");
    polyAlbanyPark.setFillColorAlpha( .18 );
    polyAlbanyPark.setKey("AlbanyPark");
    
         var shapesAlbanyPark = new MQA.LatLngCollection();
            shapesAlbanyPark.add( new MQA.LatLng(41.954089,-87.694435));
            shapesAlbanyPark.add( new MQA.LatLng(41.953889,-87.719097 ));
            shapesAlbanyPark.add( new MQA.LatLng(41.96102,-87.729595 ));
            shapesAlbanyPark.add( new MQA.LatLng(41.960877,-87.743184 ));
            shapesAlbanyPark.add( new MQA.LatLng(41.963159,-87.746384 ));
            shapesAlbanyPark.add( new MQA.LatLng(41.975081,-87.747246 ));
            shapesAlbanyPark.add( new MQA.LatLng(41.975537,-87.704789));
            shapesAlbanyPark.add( new MQA.LatLng(41.970261,-87.70274));
            shapesAlbanyPark.add( new MQA.LatLng(41.961419,-87.694615));
            
	   	    polyAlbanyPark.setShapePoints( shapesAlbanyPark );
			myMap.addOverlay( polyAlbanyPark );	
			
	    myPOIAlbanyPark = new MQA.Poi(new MQA.LatLng(41.965298,-87.714783));
		myPOIAlbanyPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Albany Park</td></tr></table>");
		myPOIAlbanyPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIAlbanyPark )		
    
    //--irving park--
    polyIrvingPark = new MQA.PolygonOverlay();
    polyIrvingPark.setBorderWidth(0);
    polyIrvingPark.setColor("#999999");
    polyIrvingPark.setFillColor("#550000");
    polyIrvingPark.setFillColorAlpha( .18 );
    polyIrvingPark.setKey("IrvingPark");
    
         var shapesIrvingPark = new MQA.LatLngCollection();
            shapesIrvingPark.add( new MQA.LatLng(41.946778,-87.696082));
            shapesIrvingPark.add( new MQA.LatLng(41.946464,-87.727143 ));
            shapesIrvingPark.add( new MQA.LatLng(41.93922,-87.727179 ));
            shapesIrvingPark.add( new MQA.LatLng(41.938934,-87.746593 ));
            shapesIrvingPark.add( new MQA.LatLng(41.960525,-87.747204 ));
            shapesIrvingPark.add( new MQA.LatLng(41.960696,-87.729624 ));
            shapesIrvingPark.add( new MQA.LatLng(41.953566,-87.719162));
            shapesIrvingPark.add( new MQA.LatLng( 41.953794,-87.694572 ));
            shapesIrvingPark.add( new MQA.LatLng( 41.949773,-87.696981));
            
	   	    polyIrvingPark.setShapePoints( shapesIrvingPark );
			myMap.addOverlay( polyIrvingPark );	
			
		myPOIIrvingPark = new MQA.Poi(new MQA.LatLng(41.950005,-87.738351));
		myPOIIrvingPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Irving Park</td></tr></table>");
		myPOIIrvingPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIIrvingPark )		
	
	//--avondale park--
	polyAvondalePark = new MQA.PolygonOverlay();
	polyAvondalePark.setBorderWidth(0);
    polyAvondalePark.setColor("#999999");    
    polyAvondalePark.setFillColor("#000055");
    polyAvondalePark.setFillColorAlpha( .18 );
    polyAvondalePark.setKey("AvondalePark");
    
         var shapesAvondalePark = new MQA.LatLngCollection();
            shapesAvondalePark.add( new MQA.LatLng(41.946487,-87.68828));
            shapesAvondalePark.add( new MQA.LatLng(41.932312,-87.687992 ));
            shapesAvondalePark.add( new MQA.LatLng(41.931913,-87.726711 ));
            shapesAvondalePark.add( new MQA.LatLng(41.946259,-87.726855 ));
            
	   	    polyAvondalePark.setShapePoints( shapesAvondalePark );
			myMap.addOverlay( polyAvondalePark );	
			
	    myPOIAvondalePark = new MQA.Poi(new MQA.LatLng(41.9395,-87.71607));
		myPOIAvondalePark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Avondale</td></tr></table>");
		myPOIAvondalePark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIAvondalePark )		
 
    //--roscoe village--
    polyRoscoeVillage = new MQA.PolygonOverlay();
    polyRoscoeVillage.setBorderWidth(0);
    polyRoscoeVillage.setColor("#999999");
    polyRoscoeVillage.setFillColor("#ffff00");
    polyRoscoeVillage.setFillColorAlpha( .18 );
    polyRoscoeVillage.setKey("RoscoeVillage");
    
        var shapesRoscoeVillage = new MQA.LatLngCollection();
            shapesRoscoeVillage.add( new MQA.LatLng(41.946714,-87.668915));
            shapesRoscoeVillage.add( new MQA.LatLng(41.932511,-87.668375 ));
            shapesRoscoeVillage.add( new MQA.LatLng(41.932282,-87.687573 ));
            shapesRoscoeVillage.add( new MQA.LatLng(41.946515,-87.687861 ));
            
	   	    polyRoscoeVillage.setShapePoints( shapesRoscoeVillage );
			myMap.addOverlay( polyRoscoeVillage );
			
						
	    myPOIRoscoeVillage = new MQA.Poi(new MQA.LatLng( 41.941249,-87.681932 ));
		myPOIRoscoeVillage.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Roscoe<br/>Village</td></tr></table>");
		myPOIRoscoeVillage.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIRoscoeVillage )		
		
		//--lakeview--
		polyLakeview = new MQA.PolygonOverlay();
		polyLakeview.setBorderWidth(0);
        polyLakeview.setColor("#999999");   
        polyLakeview.setFillColor("#ff00ff");
        polyLakeview.setFillColorAlpha( .18 );
        polyLakeview.setKey("Lakeview");

        var shapesLakeview = new MQA.LatLngCollection();
            shapesLakeview.add( new MQA.LatLng(41.94703,-87.637713));
            shapesLakeview.add( new MQA.LatLng(41.932909,-87.631594 ));
            shapesLakeview.add( new MQA.LatLng(41.93251,-87.66812));
            shapesLakeview.add( new MQA.LatLng(41.946831,-87.668487 ));
            
	   	    polyLakeview.setShapePoints( shapesLakeview );
			myMap.addOverlay( polyLakeview );	
				
		myPOILakeview = new MQA.Poi(new MQA.LatLng(41.93984,-87.65658));
		myPOILakeview.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Lakeview</td></tr></table>");
		myPOILakeview.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOILakeview )	
		
		//--lincoln park--
		polyLincolnPark = new MQA.PolygonOverlay();
	    polyLincolnPark.setBorderWidth(0);
        polyLincolnPark.setColor("#999999");   
        polyLincolnPark.setFillColor("#550000");
        polyLincolnPark.setFillColorAlpha( .18 );
        polyLincolnPark.setKey("LincolnPark");

        var shapesLincolnPark = new MQA.LatLngCollection();
           
            shapesLincolnPark.add( new MQA.LatLng(41.932598,-87.631566));
            shapesLincolnPark.add( new MQA.LatLng(41.911178,-87.624554));
            shapesLincolnPark.add( new MQA.LatLng(41.910722,-87.664603));
            shapesLincolnPark.add( new MQA.LatLng(41.915856,-87.66809));
            shapesLincolnPark.add( new MQA.LatLng(41.916997,-87.66374));
            shapesLincolnPark.add( new MQA.LatLng(41.917111,-87.65806));
            shapesLincolnPark.add( new MQA.LatLng(41.917995,-87.657988));
            shapesLincolnPark.add( new MQA.LatLng(41.918223,-87.648389));
            shapesLincolnPark.add( new MQA.LatLng(41.932484,-87.648678));
            
	   	    polyLincolnPark.setShapePoints( shapesLincolnPark );
			myMap.addOverlay( polyLincolnPark );		  
			
		
	    myPOILincolnPark = new MQA.Poi(new MQA.LatLng(41.920627,-87.643053));
		myPOILincolnPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Lincoln Park</td></tr></table>");
		myPOILincolnPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOILincolnPark )					
	
	    //--de paul--
	    polyDePaul = new MQA.PolygonOverlay();
	    polyDePaul.setBorderWidth(0);
        polyDePaul.setColor("#999999");
        polyDePaul.setFillColor("#00ff00");
        polyDePaul.setFillColorAlpha( .18 );
        polyDePaul.setKey("DePaul");
    
        var shapesDePaul = new MQA.LatLngCollection();
           
            shapesDePaul.add( new MQA.LatLng(41.932416,-87.648974));
            shapesDePaul.add( new MQA.LatLng(41.918355,-87.648543));
            shapesDePaul.add( new MQA.LatLng(41.91807,-87.658177));
            shapesDePaul.add( new MQA.LatLng(41.917186,-87.658177));
            shapesDePaul.add( new MQA.LatLng(41.917129,-87.663822));
            shapesDePaul.add( new MQA.LatLng(41.915988,-87.668136));
            shapesDePaul.add( new MQA.LatLng(41.918498,-87.670868));
            shapesDePaul.add( new MQA.LatLng(41.931988,-87.695171));
  
	   	    polyDePaul.setShapePoints( shapesDePaul );
			myMap.addOverlay( polyDePaul );	
				
		myPOIDePaul = new MQA.Poi(new MQA.LatLng(41.925611,-87.666077));
		myPOIDePaul.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>De Paul</td></tr></table>");
		myPOIDePaul.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIDePaul )	
		
		//--wicker park--
		polyWickerPark = new MQA.PolygonOverlay();
		polyWickerPark.setBorderWidth(0);
        polyWickerPark.setColor("#999999");
        polyWickerPark.setFillColor("#555500");
        polyWickerPark.setFillColorAlpha( .18 );
        polyWickerPark.setKey("WickerPark");
    
        var shapesWickerPark = new MQA.LatLngCollection();
           
            shapesWickerPark.add( new MQA.LatLng(41.910436,-87.667693));
            shapesWickerPark.add( new MQA.LatLng(41.903448,-87.667549));
            shapesWickerPark.add( new MQA.LatLng(41.903106,-87.686782));
            shapesWickerPark.add( new MQA.LatLng(41.910207,-87.686926));
     
	   	    polyWickerPark.setShapePoints( shapesWickerPark );
			myMap.addOverlay( polyWickerPark );	
			
       myPOIWickerPark = new MQA.Poi(new MQA.LatLng( 41.908787,-87.685079 ));
       myPOIWickerPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Wicker<br>Park</td></tr></table>");
       myPOIWickerPark.setValue('minZoomLevel', 9);
       myMap.addPoi( myPOIWickerPark )	
    
       //--bucktown--
        polyBucktown = new MQA.PolygonOverlay();
        polyBucktown.setBorderWidth(0);
        polyBucktown.setColor("#999999");
        polyBucktown.setFillColor("#ff0000");
        polyBucktown.setFillColorAlpha( .18 );
        polyBucktown.setKey("Bucktown");
    
        var shapesBucktown = new MQA.LatLngCollection();
           
            shapesBucktown.add( new MQA.LatLng(41.927349,-87.68754));
            shapesBucktown.add( new MQA.LatLng(41.91808,-87.671111));
            shapesBucktown.add( new MQA.LatLng(41.915484,-87.668235));
            shapesBucktown.add( new MQA.LatLng(41.910151,-87.664676));
            shapesBucktown.add( new MQA.LatLng(41.906272,-87.661224));
            shapesBucktown.add( new MQA.LatLng(41.903477,-87.661045));
            shapesBucktown.add( new MQA.LatLng(41.903391,-87.6673));
            shapesBucktown.add( new MQA.LatLng(41.910579,-87.667444));
            shapesBucktown.add( new MQA.LatLng(41.910408,-87.687001));
           
	   	    polyBucktown.setShapePoints( shapesBucktown );
			myMap.addOverlay( polyBucktown );	
							
	    myPOIBucktown = new MQA.Poi(new MQA.LatLng( 41.918043,-87.684916 ));
        myPOIBucktown.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Bucktown</td></tr></table>");
		myPOIBucktown.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIBucktown )	
       
       
       //--logan square--
       polyLoganSquare = new MQA.PolygonOverlay();
       polyLoganSquare.setBorderWidth(0);
       polyLoganSquare.setColor("#999999");
       polyLoganSquare.setFillColor("#fd8e17");
       polyLoganSquare.setFillColorAlpha( .18 );
       polyLoganSquare.setKey("LoganSquare");
    
        var shapesLoganSquare = new MQA.LatLngCollection();
           
            shapesLoganSquare.add( new MQA.LatLng(41.931884,-87.695916));
            shapesLoganSquare.add( new MQA.LatLng(41.927435,-87.687756));
            shapesLoganSquare.add( new MQA.LatLng(41.910351,-87.687252));
            shapesLoganSquare.add( new MQA.LatLng(41.909951,-87.726079));
            shapesLoganSquare.add( new MQA.LatLng(41.931599,-87.72669));

	   	    polyLoganSquare.setShapePoints( shapesLoganSquare );
			myMap.addOverlay( polyLoganSquare );
			
		myPOILoganSquare = new MQA.Poi(new MQA.LatLng( 41.927616,-87.721251 ));
		myPOILoganSquare.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Logan Square</td></tr></table>");
		myPOILoganSquare.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOILoganSquare )
    
       //--hermosa--
       polyHermosa = new MQA.PolygonOverlay();
       polyHermosa.setBorderWidth(0);
       polyHermosa.setColor("#99999");   
       polyHermosa.setFillColor("#00ff00");
       polyHermosa.setFillColorAlpha( .18 );
       polyHermosa.setKey("Hermosa");
    
        var shapesHermosa = new MQA.LatLngCollection();
           
            shapesHermosa.add( new MQA.LatLng(41.93891,-87.727133));
            shapesHermosa.add( new MQA.LatLng(41.909932,-87.726342));
            shapesHermosa.add( new MQA.LatLng(41.909818,-87.745683));
            shapesHermosa.add( new MQA.LatLng(41.938624,-87.746582));

	   	    polyHermosa.setShapePoints( shapesHermosa );
			myMap.addOverlay( polyHermosa );	
			
	    myPOIHermosa = new MQA.Poi(new MQA.LatLng( 41.928871,-87.742533 ));
		myPOIHermosa.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Hermosa</td></tr></table>");
	    myPOIHermosa.setValue('minZoomLevel', 9);	
		myMap.addPoi( myPOIHermosa )   
       
       
       //--belmont/cragin--
       polyCragin = new MQA.PolygonOverlay();
       polyCragin.setBorderWidth(0);
       polyCragin.setColor("#999999");
       polyCragin.setFillColor("#ff00ff");
       polyCragin.setFillColorAlpha( .18 );
       polyCragin.setKey("Cragin");
    
        var shapesCragin = new MQA.LatLngCollection();
           
            shapesCragin.add( new MQA.LatLng(41.942291,-87.746976));
            shapesCragin.add( new MQA.LatLng(41.914397,-87.746006));
            shapesCragin.add( new MQA.LatLng(41.915652,-87.755748));
            shapesCragin.add( new MQA.LatLng(41.924095,-87.756036));
            shapesCragin.add( new MQA.LatLng(41.92398,-87.765779));
            shapesCragin.add( new MQA.LatLng(41.942035,-87.766462));
            
	   	    polyCragin.setShapePoints( shapesCragin );
			myMap.addOverlay( polyCragin );	
			
		myPOICragin = new MQA.Poi(new MQA.LatLng( 41.938977,-87.763144 ));
		myPOICragin.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Belmont<br>Cragin</td></tr></table>");
		myPOICragin.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOICragin )			
       
       //--austin--
       polyAustin = new MQA.PolygonOverlay();
       polyAustin.setBorderWidth(0);
       polyAustin.setColor("#999999");
       polyAustin.setFillColor("#000055");
       polyAustin.setFillColorAlpha( .18 );
       polyAustin.setKey("Austin");
    
        var shapesAustin = new MQA.LatLngCollection();
           
            shapesAustin.add( new MQA.LatLng(41.91418,-87.746042));
            shapesAustin.add( new MQA.LatLng(41.871683,-87.744963));
            shapesAustin.add( new MQA.LatLng(41.871255,-87.764448));
            shapesAustin.add( new MQA.LatLng(41.916604,-87.765599));

       	    polyAustin.setShapePoints( shapesAustin );
			myMap.addOverlay( polyAustin );	
				
        myPOIAustin = new MQA.Poi(new MQA.LatLng( 41.906006,-87.761275 ));
		myPOIAustin.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Austin</td></tr></table>");			
		myPOIAustin.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIAustin )		
       
        //--humboldt park--
        polyHumboldtPark = new MQA.PolygonOverlay();
        polyHumboldtPark.setBorderWidth(0);
        polyHumboldtPark.setColor("#999999");
        polyHumboldtPark.setFillColor("#ffff00");
        polyHumboldtPark.setFillColorAlpha( .18 );
        polyHumboldtPark.setKey("HumboldtPark");
    
        var shapesHumboldtPark = new MQA.LatLngCollection();
           
            shapesHumboldtPark.add( new MQA.LatLng(41.910081,-87.687153));
            shapesHumboldtPark.add( new MQA.LatLng(41.895848,-87.686866));
            shapesHumboldtPark.add( new MQA.LatLng(41.89505,-87.745249));
            shapesHumboldtPark.add( new MQA.LatLng(41.90951,-87.745573));

       	    polyHumboldtPark.setShapePoints( shapesHumboldtPark );
			myMap.addOverlay( polyHumboldtPark );	
			
		myPOIHumboldtPark = new MQA.Poi(new MQA.LatLng( 41.902521,-87.714942 ));	
		myPOIHumboldtPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Humboldt Park</td></tr></table>");
		myPOIHumboldtPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIHumboldtPark )		
       
        //--ukrainian village--
        polyUkrainianVillage = new MQA.PolygonOverlay();
        polyUkrainianVillage.setBorderWidth(0);
        polyUkrainianVillage.setColor("#999999");    
        polyUkrainianVillage.setFillColor("#000055");
        polyUkrainianVillage.setFillColorAlpha( .18 );
        polyUkrainianVillage.setKey("UkrainianVillage");
    
        var shapesUkrainianVillage = new MQA.LatLngCollection();
           
            shapesUkrainianVillage.add( new MQA.LatLng(41.90317,-87.667479));
            shapesUkrainianVillage.add( new MQA.LatLng(41.896182,-87.667371));
            shapesUkrainianVillage.add( new MQA.LatLng(41.895897,-87.686569));
            shapesUkrainianVillage.add( new MQA.LatLng(41.902857,-87.686677));

       	    polyUkrainianVillage.setShapePoints( shapesUkrainianVillage );
			myMap.addOverlay( polyUkrainianVillage );		
	
	    myPOIUkrainianVillage = new MQA.Poi(new MQA.LatLng( 41.901342,-87.683579 ));
		myPOIUkrainianVillage.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Ukrainian<br/>Village</td></tr></table>");
		myPOIUkrainianVillage.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIUkrainianVillage )		
        
        //--river west--
        polyRiverWest = new MQA.PolygonOverlay();
        polyRiverWest.setBorderWidth(0);
        polyRiverWest.setColor("#999999");
        polyRiverWest.setFillColor("#fd8e17");
        polyRiverWest.setFillColorAlpha( .18 );
        polyRiverWest.setKey("RiverWest");
    
        var shapesRiverWest = new MQA.LatLngCollection();
           
            shapesRiverWest.add( new MQA.LatLng(41.885737,-87.637737));
            shapesRiverWest.add( new MQA.LatLng(41.88568,-87.645826));
            shapesRiverWest.add( new MQA.LatLng(41.888703,-87.647587));           
            shapesRiverWest.add( new MQA.LatLng(41.89629,-87.658121));
            shapesRiverWest.add( new MQA.LatLng(41.899684,-87.660098));
            shapesRiverWest.add( new MQA.LatLng(41.903306,-87.660529));
            shapesRiverWest.add( new MQA.LatLng(41.903506,-87.649205));
            shapesRiverWest.add( new MQA.LatLng(41.900654,-87.646545));
            shapesRiverWest.add( new MQA.LatLng(41.897374,-87.644352));
            shapesRiverWest.add( new MQA.LatLng(41.89413,-87.643656));
            shapesRiverWest.add( new MQA.LatLng(41.888988,-87.639354));

       	    polyRiverWest.setShapePoints( shapesRiverWest );
			myMap.addOverlay( polyRiverWest );	
			
		myPOIRiverWest = new MQA.Poi(new MQA.LatLng( 41.89532,-87.655172 ));
		myPOIRiverWest.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>River West</td></tr></table>");
		myPOIRiverWest.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIRiverWest )			

        //--old town--
        polyOldTown = new MQA.PolygonOverlay();
        polyOldTown.setBorderWidth(0);
        polyOldTown.setColor("#999999");
        polyOldTown.setFillColor("#ff00ff");
        polyOldTown.setFillColorAlpha( .18 );
        polyOldTown.setKey("OldTown");
    
        var shapesOldTown = new MQA.LatLngCollection();
           
            shapesOldTown.add( new MQA.LatLng(41.911008,-87.631566));
            shapesOldTown.add( new MQA.LatLng(41.903955,-87.631361));
            shapesOldTown.add( new MQA.LatLng(41.903442,-87.660589));           
            shapesOldTown.add( new MQA.LatLng(41.90638,-87.660805));
            shapesOldTown.add( new MQA.LatLng(41.910515,-87.66458));

       	    polyOldTown.setShapePoints( shapesOldTown );
			myMap.addOverlay( polyOldTown );	
						
	    myPOIOldTown = new MQA.Poi(new MQA.LatLng( 41.90931,-87.658197 ));
		myPOIOldTown.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Old Town</td></tr></table>");
		myPOIOldTown.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIOldTown )		
        
        //--gold coast--
        polyGoldCoast = new MQA.PolygonOverlay();
        polyGoldCoast.setBorderWidth(0);
        polyGoldCoast.setColor("#999999");
        polyGoldCoast.setFillColorAlpha( .18 );
        polyGoldCoast.setKey("GoldCoast");
    
        var shapesGoldCoast = new MQA.LatLngCollection();
           
           shapesGoldCoast.add( new MQA.LatLng(41.91097,-87.62526));
           shapesGoldCoast.add( new MQA.LatLng(41.901958,-87.622636));
           shapesGoldCoast.add( new MQA.LatLng(41.901159,-87.619113));           
           shapesGoldCoast.add( new MQA.LatLng(41.893202,-87.613577));
           shapesGoldCoast.add( new MQA.LatLng(41.893316,-87.61221));
           shapesGoldCoast.add( new MQA.LatLng(41.896367,-87.610197));
           shapesGoldCoast.add( new MQA.LatLng(41.89631,-87.602108));
           shapesGoldCoast.add( new MQA.LatLng(41.893287,-87.602288));
           shapesGoldCoast.add( new MQA.LatLng(41.893087,-87.609694));
           shapesGoldCoast.add( new MQA.LatLng(41.892146,-87.609694));          
           shapesGoldCoast.add( new MQA.LatLng(41.891804,-87.62393));         
           shapesGoldCoast.add( new MQA.LatLng(41.896653,-87.624146));      
           shapesGoldCoast.add( new MQA.LatLng(41.896603,-87.630989));         
           shapesGoldCoast.add( new MQA.LatLng(41.910913,-87.631336));

       	    polyGoldCoast.setShapePoints( shapesGoldCoast );
			myMap.addOverlay( polyGoldCoast );	
			
		myPOIGoldCoast = new MQA.Poi(new MQA.LatLng( 41.902803,-87.629697 ));	
		myPOIGoldCoast.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Gold Coast</td></tr></table>");
		myPOIGoldCoast.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIGoldCoast )		
        
        //--river north--
        polyRiverNorth = new MQA.PolygonOverlay();
        polyRiverNorth.setBorderWidth(0);
        polyRiverNorth.setColor("#999999");
        polyRiverNorth.setFillColor("#00ff00");
        polyRiverNorth.setFillColorAlpha( .18 );
        polyRiverNorth.setKey("RiverNorth");
    
        var shapesRiverNorth= new MQA.LatLngCollection();
           
           shapesRiverNorth.add( new MQA.LatLng(41.903706,-87.631314));
           shapesRiverNorth.add( new MQA.LatLng(41.896404,-87.631026));
           shapesRiverNorth.add( new MQA.LatLng(41.896461,-87.624231));           
           shapesRiverNorth.add( new MQA.LatLng(41.891613,-87.624016));
           shapesRiverNorth.add( new MQA.LatLng(41.892297,-87.598491));
           shapesRiverNorth.add( new MQA.LatLng(41.891014,-87.598527));
           shapesRiverNorth.add( new MQA.LatLng(41.890957,-87.60942));
           shapesRiverNorth.add( new MQA.LatLng(41.88839,-87.609168));
           shapesRiverNorth.add( new MQA.LatLng(41.888447,-87.619773));      
           shapesRiverNorth.add( new MQA.LatLng(41.888817,-87.62495));
           shapesRiverNorth.add( new MQA.LatLng(41.887449,-87.627898));          
           shapesRiverNorth.add( new MQA.LatLng(41.887334,-87.6357));         
           shapesRiverNorth.add( new MQA.LatLng(41.886165,-87.637389));      
           shapesRiverNorth.add( new MQA.LatLng(41.889245,-87.639115));         
           shapesRiverNorth.add( new MQA.LatLng(41.894208,-87.643429));          
           shapesRiverNorth.add( new MQA.LatLng(41.897345,-87.64404));         
           shapesRiverNorth.add( new MQA.LatLng(41.900597,-87.646233));     
           shapesRiverNorth.add( new MQA.LatLng(41.903478,-87.648965));

       	    polyRiverNorth.setShapePoints( shapesRiverNorth );
			myMap.addOverlay( polyRiverNorth );	
							
	    myPOIRiverNorth = new MQA.Poi(new MQA.LatLng( 41.893684,-87.633492 ));
		myPOIRiverNorth.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>River North</td></tr></table>");
		myPOIRiverNorth.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIRiverNorth )		
		
		//--loop--
		polyLoop = new MQA.PolygonOverlay();
		polyLoop.setBorderWidth(0);
        polyLoop.setColor("#999999");
        polyLoop.setFillColor("#000055");
        polyLoop.setFillColorAlpha( .18 );
        polyLoop.setKey("Loop");

        var shapesLoop = new MQA.LatLngCollection();
           
           shapesLoop.add( new MQA.LatLng(41.88802,-87.61251));
           shapesLoop.add( new MQA.LatLng(41.882629,-87.612654));
           shapesLoop.add( new MQA.LatLng(41.881716,-87.615998));           
           shapesLoop.add( new MQA.LatLng(41.875727,-87.615782));
           shapesLoop.add( new MQA.LatLng(41.87567,-87.636669));
           shapesLoop.add( new MQA.LatLng(41.88069,-87.638215));
           shapesLoop.add( new MQA.LatLng(41.885168,-87.637604));
           shapesLoop.add( new MQA.LatLng(41.886109,-87.637029));
           shapesLoop.add( new MQA.LatLng(41.887135,-87.635339));       
           shapesLoop.add( new MQA.LatLng(41.887278,-87.627466));        
           shapesLoop.add( new MQA.LatLng(41.88859,-87.624805));          
           shapesLoop.add( new MQA.LatLng(41.888248,-87.619377));         

       	    polyLoop.setShapePoints( shapesLoop );
			myMap.addOverlay( polyLoop );	
						
	    myPOILoop = new MQA.Poi(new MQA.LatLng( 41.881973,-87.626567 ));
		myPOILoop.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Loop</td></tr></table>");
		myPOILoop.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOILoop )
		
		
		//--west loop--
		polyWestLoop = new MQA.PolygonOverlay();
		polyWestLoop.setBorderWidth(0);
        polyWestLoop.setColor("#999999");
        polyWestLoop.setFillColor("#0000ff");
        polyWestLoop.setFillColorAlpha( .18 );
        polyWestLoop.setKey("WestLoop");
    
        var shapesWestLoop = new MQA.LatLngCollection();
           
           shapesWestLoop.add( new MQA.LatLng(41.885496,-87.637702));
           shapesWestLoop.add( new MQA.LatLng(41.880298,-87.638359));
           shapesWestLoop.add( new MQA.LatLng(41.875651,-87.636895));           
           shapesWestLoop.add( new MQA.LatLng(41.875606,-87.645193));
           shapesWestLoop.add( new MQA.LatLng(41.877945,-87.645606));
           shapesWestLoop.add( new MQA.LatLng(41.885526,-87.645831));
                 
       	    polyWestLoop.setShapePoints( shapesWestLoop );
			myMap.addOverlay( polyWestLoop );	
		
		myPOIWestLoop = new MQA.Poi(new MQA.LatLng( 41.881713,-87.641682 ));
		myPOIWestLoop.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>West Loop</td></tr></table>");
		myPOIWestLoop.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIWestLoop )		
		
		//--west town--
		polyWestTown = new MQA.PolygonOverlay();
		polyWestTown.setBorderWidth(0);
        polyWestTown.setColor("#999999");
        polyWestTown.setFillColor("#00ffff");
        polyWestTown.setFillColorAlpha( .18 );
        polyWestTown.setKey("WestTown");
    
        var shapesWestTown = new MQA.LatLngCollection();
           
           shapesWestTown.add( new MQA.LatLng(41.903256,-87.661005));
           shapesWestTown.add( new MQA.LatLng(41.899591,-87.660235));
           shapesWestTown.add( new MQA.LatLng(41.896181,-87.65832));           
           shapesWestTown.add( new MQA.LatLng(41.896136,-87.667162));
           shapesWestTown.add( new MQA.LatLng(41.903226,-87.667294));
                 
       	    polyWestTown.setShapePoints( shapesWestTown );
			myMap.addOverlay( polyWestTown );	
			
	    myPOIWestTown = new MQA.Poi(new MQA.LatLng( 41.901392,-87.6662 ));
		myPOIWestTown.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>West Town</td></tr></table>");
		myPOIWestTown.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIWestTown )	
		
        //--east village--
        polyEastVillage = new MQA.PolygonOverlay();
        polyEastVillage.setBorderWidth(0);
        polyEastVillage.setColor("#999999");
        polyEastVillage.setFillColor("#ff00ff");
        polyEastVillage.setFillColorAlpha( .18 );
        polyEastVillage.setKey("EastVillage");
    
        var shapesEastVillage = new MQA.LatLngCollection();
                  
           shapesEastVillage.add( new MQA.LatLng(41.89609,-87.658385));
           shapesEastVillage.add( new MQA.LatLng(41.888504,-87.647779));
           shapesEastVillage.add( new MQA.LatLng(41.885595,-87.646054));           
           shapesEastVillage.add( new MQA.LatLng(41.875641,-87.645407));
           shapesEastVillage.add( new MQA.LatLng(41.875469,-87.696025));
           shapesEastVillage.add( new MQA.LatLng(41.89552,-87.696564));
                
       	    polyEastVillage.setShapePoints( shapesEastVillage );
			myMap.addOverlay( polyEastVillage );	
			
		myPOIEastVillage = new MQA.Poi(new MQA.LatLng( 41.889416,-87.676396));
		myPOIEastVillage.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>East Village</td></tr></table>");
		myPOIEastVillage.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIEastVillage )
		
		//--garfield park--
		polyGarfieldPark = new MQA.PolygonOverlay();
		polyGarfieldPark.setBorderWidth(0);
        polyGarfieldPark.setColor("#999999"); 
        polyGarfieldPark.setFillColor("#00ff00");
        polyGarfieldPark.setFillColorAlpha( .18 );
        polyGarfieldPark.setKey("GarfieldPark");
    
        var shapesGarfieldPark = new MQA.LatLngCollection();
           
           shapesGarfieldPark.add( new MQA.LatLng( 41.895435,-87.696682 ));
           shapesGarfieldPark.add( new MQA.LatLng( 41.87547,-87.696143 ));
           shapesGarfieldPark.add( new MQA.LatLng( 41.874101,-87.710847 ));           
           shapesGarfieldPark.add( new MQA.LatLng( 41.873759,-87.733496 ));
           shapesGarfieldPark.add( new MQA.LatLng( 41.871677,-87.740218 ));
           shapesGarfieldPark.add( new MQA.LatLng( 41.871734,-87.744604 )); 
           shapesGarfieldPark.add( new MQA.LatLng( 41.894807,-87.745144 ));
   
       	    polyGarfieldPark.setShapePoints( shapesGarfieldPark );
			myMap.addOverlay( polyGarfieldPark );	
			
	    myPOIGarfieldPark = new MQA.Poi(new MQA.LatLng( 41.885395,-87.719547 ));
		myPOIGarfieldPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Garfield Park</td></tr></table>");
		myPOIGarfieldPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIGarfieldPark )		 
    
    //---south neighborhoods-------------------------------------------------
    
    //--lawndale--
    polyLawndale = new MQA.PolygonOverlay();
    polyLawndale.setBorderWidth(0);
    polyLawndale.setColor("#999999");  
    polyLawndale.setFillColor("#550000");
    polyLawndale.setFillColorAlpha( .18 );
    polyLawndale.setKey("Lawndale");
    
        var shapesLawndale = new MQA.LatLngCollection();
           
           shapesLawndale.add( new MQA.LatLng( 41.870962,-87.764281 ));
           shapesLawndale.add( new MQA.LatLng( 41.865629,-87.764066 ));
           shapesLawndale.add( new MQA.LatLng(  41.86583,-87.73726 ));
           shapesLawndale.add( new MQA.LatLng( 41.821848,-87.735737 ));
           shapesLawndale.add( new MQA.LatLng(41.837706,-87.684903 )); 
           shapesLawndale.add( new MQA.LatLng( 41.875098,-87.686161  ));
           shapesLawndale.add( new MQA.LatLng( 41.874957,-87.695917 ));
           shapesLawndale.add( new MQA.LatLng( 41.873588,-87.711375 ));
           shapesLawndale.add( new MQA.LatLng( 41.87336,-87.732946 ));
           shapesLawndale.add( new MQA.LatLng( 41.871249,-87.739992 ));
   
       	    polyLawndale.setShapePoints( shapesLawndale );
			myMap.addOverlay( polyLawndale );	
			
	    myPOILawndale = new MQA.Poi(new MQA.LatLng( 41.869907,-87.709924  ));
        myPOILawndale.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Lawndale</td></tr></table>");
		myPOILawndale.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOILawndale );
    
     //--try taylor--
     polyTriTaylor = new MQA.PolygonOverlay();
     polyTriTaylor.setBorderWidth(0);
     polyTriTaylor.setColor("#999999");  
     polyTriTaylor.setFillColor("#ffff00");
     polyTriTaylor.setFillColorAlpha( .18 );
     polyTriTaylor.setKey("TriTaylor");
    
        var shapesTriTaylor = new MQA.LatLngCollection();
           
           shapesTriTaylor.add( new MQA.LatLng( 41.875018,-87.685903 ));
           shapesTriTaylor.add( new MQA.LatLng( 41.874989,-87.673751 ));
           shapesTriTaylor.add( new MQA.LatLng( 41.865007,-87.685795 ));
         
     polyTriTaylor.setShapePoints( shapesTriTaylor );
     myMap.addOverlay( polyTriTaylor );	
			
	    myPOITriTaylor = new MQA.Poi(new MQA.LatLng( 41.871816,-87.684326  ));
        myPOITriTaylor.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Tri Taylor</td></tr></table>");
		myPOITriTaylor.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOITriTaylor );
         
         
     //--medical village--
     polyMedicalVillage = new MQA.PolygonOverlay();
     polyMedicalVillage.setBorderWidth(0);
     polyMedicalVillage.setColor("#999999"); 
     polyMedicalVillage.setFillColor("#ff0000");
     polyMedicalVillage.setFillColorAlpha( .18 );
     polyMedicalVillage.setKey("MedicalVillage");
    
     var shapesMedicalVillage = new MQA.LatLngCollection();
           
           shapesMedicalVillage.add( new MQA.LatLng( 41.875078,-87.673318 ));
           shapesMedicalVillage.add( new MQA.LatLng( 41.875306,-87.64542 ));
           shapesMedicalVillage.add( new MQA.LatLng( 41.860475,-87.644449 ));
           shapesMedicalVillage.add( new MQA.LatLng( 41.859847,-87.671197 ));          
           shapesMedicalVillage.add( new MQA.LatLng( 41.858839,-87.678719 ));        
           shapesMedicalVillage.add( new MQA.LatLng( 41.857541,-87.685412 ));
           shapesMedicalVillage.add( new MQA.LatLng( 41.864929,-87.685637 ));

       	    polyMedicalVillage.setShapePoints( shapesMedicalVillage );
			myMap.addOverlay( polyMedicalVillage );	
			
	    myPOIMedicalVillage = new MQA.Poi(new MQA.LatLng( 41.866891,-87.668799 ));
	    myPOIMedicalVillage.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Medical Village</td></tr></table>");	
	    myPOIMedicalVillage.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOIMedicalVillage );
     
      //--pilsen--
      polyPilsen = new MQA.PolygonOverlay();
      polyPilsen.setBorderWidth(0);
      polyPilsen.setColor("#999999");    
      polyPilsen.setFillColor("#fd8e17");
      polyPilsen.setFillColorAlpha( .18 );
      polyPilsen.setKey("Pilsen");
    
        var shapesPilsen = new MQA.LatLngCollection();
           
           shapesPilsen.add( new MQA.LatLng(41.857316,-87.685331 ));
           shapesPilsen.add( new MQA.LatLng( 41.858657,-87.678609 ));
           shapesPilsen.add( new MQA.LatLng( 41.859627,-87.670951 ));
           shapesPilsen.add( new MQA.LatLng( 41.860283,-87.644348 ));
           shapesPilsen.add( new MQA.LatLng( 41.856518,-87.644384 ));
           shapesPilsen.add( new MQA.LatLng( 41.852667,-87.645318 ));
           shapesPilsen.add( new MQA.LatLng( 41.849473,-87.644204 ));
           shapesPilsen.add( new MQA.LatLng( 41.847819,-87.652832 ));
           shapesPilsen.add( new MQA.LatLng( 41.84819,-87.65693 ));
           shapesPilsen.add( new MQA.LatLng( 41.84394,-87.664552 ));
           shapesPilsen.add( new MQA.LatLng( 41.84491,-87.666385 ));       
           shapesPilsen.add( new MQA.LatLng( 41.843381,-87.671528 ));   
           shapesPilsen.add( new MQA.LatLng( 41.841116,-87.676883 ));
           shapesPilsen.add( new MQA.LatLng( 41.840118,-87.677674 ));
           shapesPilsen.add( new MQA.LatLng( 41.837808,-87.684576 ));
      
       	polyPilsen.setShapePoints( shapesPilsen );
		myMap.addOverlay( polyPilsen );	
			
	    myPOIPilsen = new MQA.Poi(new MQA.LatLng( 41.849445,-87.670844 ));
	    myPOIPilsen.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Pilsen</td></tr></table>");
        myPOIPilsen.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIPilsen );
        
        //--chinatown--
        polyChinatown = new MQA.PolygonOverlay();
        polyChinatown.setBorderWidth(0);
        polyChinatown.setColor("#999999");
        polyChinatown.setFillColor("#00ffff");
        polyChinatown.setFillColorAlpha( .18 );
        polyChinatown.setKey("Chinatown");
    
        var shapesChinatown = new MQA.LatLngCollection();
           
           shapesChinatown.add( new MQA.LatLng( 41.85262,-87.644923 ));
           shapesChinatown.add( new MQA.LatLng( 41.852876,-87.631118 ));
           shapesChinatown.add( new MQA.LatLng( 41.843093,-87.63083 ));
           shapesChinatown.add( new MQA.LatLng( 41.845061,-87.633095 ));
           shapesChinatown.add( new MQA.LatLng( 41.847372,-87.642083 ));
           shapesChinatown.add( new MQA.LatLng( 41.849026,-87.6437 ));

       	    polyChinatown.setShapePoints( shapesChinatown );
			myMap.addOverlay( polyChinatown );	
			
	    myPOIChinatown = new MQA.Poi(new MQA.LatLng( 41.850138,-87.641328 ));
	    myPOIChinatown.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Chinatown</td></tr></table>");
        myPOIChinatown.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIChinatown );

        //--south loop--
        polySouthLoop = new MQA.PolygonOverlay();
        polySouthLoop.setBorderWidth(0);
        polySouthLoop.setColor("#999999");    
        polySouthLoop.setFillColor("#005500");
        polySouthLoop.setFillColorAlpha( .18 );
        polySouthLoop.setKey("SouthLoop");
    
        var shapesSouthLoop = new MQA.LatLngCollection();
           
           shapesSouthLoop.add( new MQA.LatLng(41.875303,-87.645006 ));
           shapesSouthLoop.add( new MQA.LatLng( 41.875474,-87.615814 ));
           shapesSouthLoop.add( new MQA.LatLng( 41.84835,-87.612291 ));
           shapesSouthLoop.add( new MQA.LatLng( 41.848065,-87.623472 ));
           shapesSouthLoop.add( new MQA.LatLng( 41.846953,-87.628037 ));
           shapesSouthLoop.add( new MQA.LatLng( 41.847324,-87.630698 ));      
           shapesSouthLoop.add( new MQA.LatLng( 41.852999,-87.630842 ));   
           shapesSouthLoop.add( new MQA.LatLng( 41.8528,-87.644826 ));      
           shapesSouthLoop.add( new MQA.LatLng( 41.85762,-87.643963 ));
            
       	    polySouthLoop.setShapePoints( shapesSouthLoop );
			myMap.addOverlay( polySouthLoop );	
			
	    myPOISouthLoop = new MQA.Poi(new MQA.LatLng( 41.868144,-87.634724));
	    myPOISouthLoop.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>South Loop</td></tr></table>");
        myPOISouthLoop.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOISouthLoop );
        
        //--mckinley park--
        polyMcKinleyPark = new MQA.PolygonOverlay();
        polyMcKinleyPark.setBorderWidth(0);
        polyMcKinleyPark.setColor("#999999");
        polyMcKinleyPark.setFillColor("#00ff00");
        polyMcKinleyPark.setFillColorAlpha( .18 );
        polyMcKinleyPark.setKey("McKinleyPark");
    
        var shapesMcKinleyPark = new MQA.LatLngCollection();
           
           shapesMcKinleyPark.add( new MQA.LatLng(41.837474,-87.684502 ));
           shapesMcKinleyPark.add( new MQA.LatLng( 41.839984,-87.677132 ));
           shapesMcKinleyPark.add( new MQA.LatLng( 41.841182,-87.675802 ));
           shapesMcKinleyPark.add( new MQA.LatLng( 41.844576,-87.666347 ));
           shapesMcKinleyPark.add( new MQA.LatLng( 41.844291,-87.665772 ));
           shapesMcKinleyPark.add( new MQA.LatLng( 41.823156,-87.66534 )); 
           shapesMcKinleyPark.add( new MQA.LatLng( 41.823071,-87.684071));

       	    polyMcKinleyPark.setShapePoints( shapesMcKinleyPark );
			myMap.addOverlay( polyMcKinleyPark );	
			
	        myPOIMcKinleyPark = new MQA.Poi(new MQA.LatLng( 41.831627,-87.677923 ));
	        myPOIMcKinleyPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>McKinley Park</td></tr></table>");
		    myPOIMcKinleyPark.setValue('minZoomLevel', 9);
		    myMap.addPoi( myPOIMcKinleyPark );
        
        //--bridgeport--
        polyBridgeport = new MQA.PolygonOverlay();
        polyBridgeport.setBorderWidth(0);
        polyBridgeport.setColor("#999999"); 
        polyBridgeport.setFillColor("#0000ff");
        polyBridgeport.setFillColorAlpha( .18 );
        polyBridgeport.setKey("Bridgeport");
    
        var shapesBridgeport = new MQA.LatLngCollection();
           
           shapesBridgeport.add( new MQA.LatLng(41.844165,-87.665412 ));
           shapesBridgeport.add( new MQA.LatLng( 41.84368,-87.664477 ));
           shapesBridgeport.add( new MQA.LatLng( 41.847844,-87.656784 ));
           shapesBridgeport.add( new MQA.LatLng( 41.84753,-87.652722 ));
           shapesBridgeport.add( new MQA.LatLng( 41.849156,-87.644022 ));
           shapesBridgeport.add( new MQA.LatLng( 41.847131,-87.64226 )); 
           shapesBridgeport.add( new MQA.LatLng(41.844678,-87.633129 ));
           shapesBridgeport.add( new MQA.LatLng(41.842596,-87.630792 ));
           shapesBridgeport.add( new MQA.LatLng(41.823715,-87.630576 ));
           shapesBridgeport.add( new MQA.LatLng(41.82323,-87.664981 ));

       	    polyBridgeport.setShapePoints( shapesBridgeport );
			myMap.addOverlay( polyBridgeport );	
			
	       myPOIBridgeport = new MQA.Poi(new MQA.LatLng( 41.835636,-87.655562 ));
	       myPOIBridgeport.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Bridgeport</td></tr></table>");
		   myPOIBridgeport.setValue('minZoomLevel', 9);
		   myMap.addPoi( myPOIBridgeport );
        
         //--bronzeville--
         polyBronzeville = new MQA.PolygonOverlay();
         polyBronzeville.setBorderWidth(0);
         polyBronzeville.setColor("#999999");  
         polyBronzeville.setFillColor("#ff00ff");
         polyBronzeville.setFillColorAlpha( .18 );
         polyBronzeville.setKey("Bronzeville");
    
        var shapesBronzeville = new MQA.LatLngCollection();
           
           shapesBronzeville.add( new MQA.LatLng(41.847119,-87.630636 ));
           shapesBronzeville.add( new MQA.LatLng( 41.846748,-87.62794 ));
           shapesBronzeville.add( new MQA.LatLng( 41.84786,-87.623194 ));
           shapesBronzeville.add( new MQA.LatLng( 41.848088,-87.611978 ));
           shapesBronzeville.add( new MQA.LatLng( 41.831375,-87.604824 ));
           shapesBronzeville.add( new MQA.LatLng( 41.831175,-87.610504 )); 
           shapesBronzeville.add( new MQA.LatLng(41.823959,-87.607125 ));
           shapesBronzeville.add( new MQA.LatLng( 41.82376,-87.630061 ));

       	    polyBronzeville.setShapePoints( shapesBronzeville );
			myMap.addOverlay( polyBronzeville );	
			
	     myPOIBronzeville = new MQA.Poi(new MQA.LatLng( 41.840017,-87.625891 ));
         myPOIBronzeville.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Bronzeville</td></tr></table>");
		 myPOIBronzeville.setValue('minZoomLevel', 9);
		 myMap.addPoi( myPOIBronzeville );
         
         //--oakland--
         polyOakland = new MQA.PolygonOverlay();
         polyOakland.setColor("#999999"); 
         polyOakland.setFillColor("#550000");
         polyOakland.setFillColorAlpha( .18 );
         polyOakland.setKey("Oakland");
    
        var shapesOakland = new MQA.LatLngCollection();
           
           shapesOakland.add( new MQA.LatLng( 41.831001,-87.610167 ));
            shapesOakland.add( new MQA.LatLng(   41.831087,-87.604738 ));
            shapesOakland.add( new MQA.LatLng( 41.811122,-87.588309 ));
            shapesOakland.add( new MQA.LatLng( 41.809696,-87.591976 ));
            shapesOakland.add( new MQA.LatLng(41.80961,-87.604019 ));
             shapesOakland.add( new MQA.LatLng(41.819935,-87.60445 ));
   
       	    polyOakland.setShapePoints( shapesOakland );
			myMap.addOverlay( polyOakland );	
			
	    myPOIOakland = new MQA.Poi(new MQA.LatLng( 41.820078,-87.600999 ));
        myPOIOakland.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Oakland</td></tr></table>");
		myPOIOakland.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIOakland );
        
        //--brighton park--
        polyBrightonPark = new MQA.PolygonOverlay();
        polyBrightonPark.setBorderWidth(0);
        polyBrightonPark.setColor("#999999");
        polyBrightonPark.setFillColor("#00ffff");
        polyBrightonPark.setFillColorAlpha( .18 );
        polyBrightonPark.setKey("BrightonPark");
    
        var shapesBrightonPark = new MQA.LatLngCollection();
           
           shapesBrightonPark.add( new MQA.LatLng( 41.825155,-87.723746 ));
           shapesBrightonPark.add( new MQA.LatLng( 41.837191,-87.684775 ));
           shapesBrightonPark.add( new MQA.LatLng( 41.80268,-87.6842 ));
           shapesBrightonPark.add( new MQA.LatLng( 41.802338,-87.723026 ));
   
       	    polyBrightonPark.setShapePoints( shapesBrightonPark );
			myMap.addOverlay( polyBrightonPark );	
			
	    myPOIBrightonPark = new MQA.Poi(new MQA.LatLng( 41.821904,-87.712529 ));
	    myPOIBrightonPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Brighton Park</td></tr></table>");
		myPOIBrightonPark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIBrightonPark );
         
        //--archer heights--
        polyArcherHeights = new MQA.PolygonOverlay();
        polyArcherHeights.setBorderWidth(0);
        polyArcherHeights.setColor("#999999");
        polyArcherHeights.setFillColor("#ff00ff");
        polyArcherHeights.setFillColorAlpha( .18 );
        polyArcherHeights.setKey("ArcherHeights");

        var shapesArcherHeights = new MQA.LatLngCollection();
           
           shapesArcherHeights.add( new MQA.LatLng( 41.825098,-87.724039 ));
           shapesArcherHeights.add( new MQA.LatLng( 41.819337,-87.743309 ));
           shapesArcherHeights.add( new MQA.LatLng( 41.798744,-87.742769 ));
           shapesArcherHeights.add( new MQA.LatLng( 41.801625,-87.724614 ));
           shapesArcherHeights.add( new MQA.LatLng( 41.802424,-87.723248 ));
          
       	    polyArcherHeights.setShapePoints( shapesArcherHeights );
			myMap.addOverlay( polyArcherHeights );	
			
	    myPOIArcherHeights = new MQA.Poi(new MQA.LatLng( 41.812463,-87.737664 ));
	    myPOIArcherHeights.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Archer Heights</td></tr></table>");
	    myPOIArcherHeights.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOIArcherHeights );
         
        //--back of the yards--
        polyBackoftheYards = new MQA.PolygonOverlay();
        polyBackoftheYards.setBorderWidth(0);
        polyBackoftheYards.setColor("#999999");
        polyBackoftheYards.setFillColor("#ff00ff");
        polyBackoftheYards.setFillColorAlpha( .18 );
        polyBackoftheYards.setKey("BackoftheYards");
    
        var shapesBackoftheYards = new MQA.LatLngCollection();
           
           shapesBackoftheYards.add( new MQA.LatLng( 41.822842,-87.68398 ));
           shapesBackoftheYards.add( new MQA.LatLng( 41.823131,-87.64579 ));   
          shapesBackoftheYards.add( new MQA.LatLng( 41.787079,-87.644999 ));
          shapesBackoftheYards.add( new MQA.LatLng( 41.786623,-87.68361 ));

       	    polyBackoftheYards.setShapePoints( shapesBackoftheYards );
			myMap.addOverlay( polyBackoftheYards );	
			
	    myPOIBackoftheYards = new MQA.Poi(new MQA.LatLng( 41.812064,-87.6702 ));
        myPOIBackoftheYards.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Back of the Yards</td></tr></table>");
		myPOIBackoftheYards.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIBackoftheYards );
		
		//--canaryville--
		polyCanaryville = new MQA.PolygonOverlay();
		polyCanaryville.setBorderWidth(0);
        polyCanaryville.setColor("#999999");
        polyCanaryville.setFillColor("#ffff00");
        polyCanaryville.setFillColorAlpha( .18 );
        polyCanaryville.setKey("Canaryville");
    
        var shapesCanaryville = new MQA.LatLngCollection();
           
           shapesCanaryville.add( new MQA.LatLng( 41.823214,-87.645513 ));
           shapesCanaryville.add( new MQA.LatLng( 41.823414,-87.636129 ));
           shapesCanaryville.add( new MQA.LatLng(41.787277,-87.635231));
           shapesCanaryville.add( new MQA.LatLng(41.787049,-87.644793));
           
       	    polyCanaryville.setShapePoints( shapesCanaryville );
			myMap.addOverlay( polyCanaryville );	
			
	    myPOICanaryville = new MQA.Poi(new MQA.LatLng( 41.807968,-87.64428 ));
        myPOICanaryville.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Canaryville</td></tr></table>");
	    myPOICanaryville.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOICanaryville );
 
        //--fuller park--
        polyFullerPark = new MQA.PolygonOverlay();
        polyFullerPark.setBorderWidth(0);
        polyFullerPark.setColor("#999999");
        polyFullerPark.setFillColor("#00ffff");
        polyFullerPark.setFillColorAlpha( .18 );
        polyFullerPark.setKey("FullerPark");
    
        var shapesFullerPark = new MQA.LatLngCollection();
           
           shapesFullerPark.add( new MQA.LatLng( 41.823416,-87.63594));
           shapesFullerPark.add( new MQA.LatLng( 41.823558,-87.626341 ));
           shapesFullerPark.add( new MQA.LatLng( 41.787422,-87.625406 ));
           shapesFullerPark.add( new MQA.LatLng( 41.787251,-87.635041 ));
           
       	    polyFullerPark.setShapePoints( shapesFullerPark );
			myMap.addOverlay( polyFullerPark );	
			
	    myPOIFullerPark = new MQA.Poi(new MQA.LatLng( 41.800285,-87.634466));
	    myPOIFullerPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Fuller Park</td></tr></table>");
        myPOIFullerPark.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIFullerPark );
		
		
		//--grand boulevard--
		polyGrandBoulevard = new MQA.PolygonOverlay();
		polyGrandBoulevard.setBorderWidth(0);
        polyGrandBoulevard.setColor("#999999");     
        polyGrandBoulevard.setFillColor("#00ff00");
        polyGrandBoulevard.setFillColorAlpha( .18 );
        polyGrandBoulevard.setKey("GrandBoulevard");
    
        var shapesGrandBoulevard = new MQA.LatLngCollection();
           
           shapesGrandBoulevard.add( new MQA.LatLng( 41.823549,-87.626114));
           shapesGrandBoulevard.add( new MQA.LatLng( 41.823777,-87.606665 ));
           shapesGrandBoulevard.add( new MQA.LatLng( 41.81987,-87.604652 ));
           shapesGrandBoulevard.add( new MQA.LatLng( 41.802415,-87.604041 ));
           shapesGrandBoulevard.add( new MQA.LatLng( 41.802015,-87.625503 ));
         
       	    polyGrandBoulevard.setShapePoints( shapesGrandBoulevard );
			myMap.addOverlay( polyGrandBoulevard );	
			
	    myPOIGrandBoulevard = new MQA.Poi(new MQA.LatLng(41.809231,-87.621225));
        myPOIGrandBoulevard.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Grand Boulevard</td></tr></table>");
		myPOIGrandBoulevard.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIGrandBoulevard ); 
         
        //--kenwood--
        polyKenwood = new MQA.PolygonOverlay();
        polyKenwood.setBorderWidth(0);
        polyKenwood.setColor("#999999");
        polyKenwood.setFillColor("#fd8e17");
        polyKenwood.setFillColorAlpha( .18 );
        polyKenwood.setKey("Kenwood");
    
        var shapesKenwood = new MQA.LatLngCollection();
           
           shapesKenwood.add( new MQA.LatLng( 41.80941,-87.60387 ));
           shapesKenwood.add( new MQA.LatLng( 41.809524,-87.591647 ));
           shapesKenwood.add( new MQA.LatLng( 41.810921,-87.58816 ));
           shapesKenwood.add( new MQA.LatLng( 41.804133,-87.580143 ));
           shapesKenwood.add( new MQA.LatLng( 41.802479,-87.580179 ));
           shapesKenwood.add( new MQA.LatLng( 41.802393,-87.603655 )); 
           
       	    polyKenwood.setShapePoints( shapesKenwood );
			myMap.addOverlay( polyKenwood );	
			
	    myPOIKenwood = new MQA.Poi(new MQA.LatLng(41.806443,-87.600923));
        myPOIKenwood.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Kenwood</td></tr></table>");
		myPOIKenwood.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIKenwood ); 
         
        //--hyde park--
        polyHydePark = new MQA.PolygonOverlay();
        polyHydePark.setBorderWidth(0);
        polyHydePark.setColor("#999999");
        polyHydePark.setFillColor("#0000ff");
        polyHydePark.setFillColorAlpha( .18 );
        polyHydePark.setKey("HydePark");
    
        var shapesHydePark = new MQA.LatLngCollection();   
           shapesHydePark.add( new MQA.LatLng( 41.802202,-87.603603 ));         
           shapesHydePark.add( new MQA.LatLng(41.802202,-87.580128));       
           shapesHydePark.add( new MQA.LatLng(41.795528,-87.57833));         
           shapesHydePark.add( new MQA.LatLng(41.787798,-87.576964));
           shapesHydePark.add( new MQA.LatLng(41.787741,-87.603316));

       	    polyHydePark.setShapePoints( shapesHydePark );
			myMap.addOverlay( polyHydePark );	
			
	    myPOIHydePark = new MQA.Poi(new MQA.LatLng(41.796184,-87.601626));
        myPOIHydePark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Hyde Park</td></tr></table>");
		myPOIHydePark.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIHydePark );
        
        
        //--washington park--
        polyWashingtonPark = new MQA.PolygonOverlay();
        polyWashingtonPark.setBorderWidth(0);
        polyWashingtonPark.setColor("#999999");
        polyWashingtonPark.setFillColor("#005500");
        polyWashingtonPark.setFillColorAlpha( .18 );
        polyWashingtonPark.setKey("WashingtonPark");
    
        var shapesWashingtonPark = new MQA.LatLngCollection();      
           shapesWashingtonPark.add( new MQA.LatLng( 41.801782,-87.625462 ));       
           shapesWashingtonPark.add( new MQA.LatLng(41.802153,-87.60382 ));     
           shapesWashingtonPark.add( new MQA.LatLng(41.787692,-87.603532 ));      
           shapesWashingtonPark.add( new MQA.LatLng(41.787692,-87.605941 ));        
           shapesWashingtonPark.add( new MQA.LatLng(41.785895,-87.605941  ));  
           shapesWashingtonPark.add( new MQA.LatLng(41.785724,-87.615612 ));      
           shapesWashingtonPark.add( new MQA.LatLng(41.78755,-87.615647 ));    
           shapesWashingtonPark.add( new MQA.LatLng(41.787464,-87.625174 ));
 
       	    polyWashingtonPark.setShapePoints( shapesWashingtonPark );
			myMap.addOverlay( polyWashingtonPark );	
			
	    myPOIWashingtonPark = new MQA.Poi(new MQA.LatLng( 41.794509,-87.620573 ));
	    myPOIWashingtonPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Washington Park</td></tr></table>");
        myPOIWashingtonPark.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIWashingtonPark );
        
        //--woodlawn--
        polyWoodlawn = new MQA.PolygonOverlay();
        polyWoodlawn.setBorderWidth(0);
        polyWoodlawn.setColor("#999999");     
        polyWoodlawn.setFillColor("#ff0000");
        polyWoodlawn.setFillColorAlpha( .18 );
        polyWoodlawn.setKey("Woodlawn");
    
       var shapesWoodlawn= new MQA.LatLngCollection(); 
           shapesWoodlawn.add( new MQA.LatLng( 41.78756,-87.605737 ));
           shapesWoodlawn.add( new MQA.LatLng(41.787589,-87.576869 ));
           shapesWoodlawn.add( new MQA.LatLng(41.773556,-87.566084 ));
           shapesWoodlawn.add( new MQA.LatLng(41.773271,-87.605449 ));

       	    polyWoodlawn.setShapePoints( shapesWoodlawn );
			myMap.addOverlay( polyWoodlawn );	
			
	    myPOIWoodlawn = new MQA.Poi(new MQA.LatLng(41.780344,-87.598367 ));
	    myPOIWoodlawn.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Woodlawn</td></tr></table>");
	    myPOIWoodlawn.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOIWoodlawn );
         
        //--gage park--
        polyGagePark = new MQA.PolygonOverlay(); 
        polyGagePark.setBorderWidth(0);
        polyGagePark.setColor("#999999");
        polyGagePark.setFillColor("#ff0000");
        polyGagePark.setFillColorAlpha( .18 );
        polyGagePark.setKey("GagePark");

       var shapesGagePark = new MQA.LatLngCollection();
           
          shapesGagePark.add(new MQA.LatLng(41.802104,-87.723007));
          shapesGagePark.add(new MQA.LatLng(41.802503,-87.684109));
          shapesGagePark.add(new MQA.LatLng(41.786589,-87.683821));
          shapesGagePark.add(new MQA.LatLng( 41.786075,-87.722648 ));
        
      	    polyGagePark.setShapePoints( shapesGagePark );
      	    			myMap.addOverlay( polyGagePark );	
      	    			
        myPOIGagePark = new MQA.Poi(new MQA.LatLng( 41.795373,-87.716752 ));
        myPOIGagePark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Gage Park</td></tr></table>");
	    myPOIGagePark.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOIGagePark );
         
        //--weste elsdon--
        polyWestElsdon = new MQA.PolygonOverlay(); 
        polyWestElsdon.setBorderWidth(0);
        polyWestElsdon.setColor("#999999");
        polyWestElsdon.setFillColor("#550000");
        polyWestElsdon.setFillColorAlpha( .18 );
        polyWestElsdon.setKey("WestElsdon");
    
       var shapesWestElsdon = new MQA.LatLngCollection();
           
          shapesWestElsdon.add(new MQA.LatLng(41.798599,-87.742689));
          shapesWestElsdon.add(new MQA.LatLng(41.801504,-87.724441));
          shapesWestElsdon.add(new MQA.LatLng(41.8021,-87.723221));
          shapesWestElsdon.add(new MQA.LatLng(41.786118,-87.722902));
          shapesWestElsdon.add(new MQA.LatLng(41.785701,-87.741131));
          shapesWestElsdon.add(new MQA.LatLng(41.792522,-87.74145));
          shapesWestElsdon.add(new MQA.LatLng(41.794772,-87.742614));

      	  polyWestElsdon.setShapePoints( shapesWestElsdon );
      	  myMap.addOverlay( polyWestElsdon );	
      	    			
         myPOIWestElsdon = new MQA.Poi(new MQA.LatLng( 41.794679,-87.736532 ));
         myPOIWestElsdon.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>West Elsdon</td></tr></table>");
         myPOIWestElsdon.setValue('minZoomLevel', 9);
         myMap.addPoi( myPOIWestElsdon );
        
         //--garfield ridge--
         polyGarfieldRidge = new MQA.PolygonOverlay();
         polyGarfieldRidge.setBorderWidth(0);
         polyGarfieldRidge.setColor("#999999"); 
         polyGarfieldRidge.setFillColor("#000055");
         polyGarfieldRidge.setFillColorAlpha( .18 );
         polyGarfieldRidge.setKey("GarfieldRidge");
    
         var shapesGarfieldRidge = new MQA.LatLngCollection();
           
          shapesGarfieldRidge.add(new MQA.LatLng(41.821546,-87.762703));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.821831,-87.743505 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.794679,-87.742786 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.792425,-87.741672 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.785665,-87.741348 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.784696,-87.800882 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.798926,-87.80142 ));
          shapesGarfieldRidge.add(new MQA.LatLng( 41.810934,-87.762665 ));

      	    polyGarfieldRidge.setShapePoints( shapesGarfieldRidge );
      	    			myMap.addOverlay( polyGarfieldRidge );	
      	    			
         myPOIGarfieldRidge = new MQA.Poi(new MQA.LatLng( 41.800067,-87.771653 ));
	     myPOIGarfieldRidge.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Garfield Ridge</td></tr></table>");
         myPOIGarfieldRidge.setValue('minZoomLevel', 9);
         myMap.addPoi( myPOIGarfieldRidge );
         
         //--clearing--
         polyClearing = new MQA.PolygonOverlay();
         polyClearing.setBorderWidth(0);
         polyClearing.setColor("#999999");   
         polyClearing.setFillColor("#00ff00");
         polyClearing.setFillColorAlpha( .18 );
         polyClearing.setKey("Clearing");
    
         var shapesClearing = new MQA.LatLngCollection();
          shapesClearing.add(new MQA.LatLng(41.785471,-87.741177));   
          shapesClearing.add(new MQA.LatLng(41.784473,-87.741285 ));
          shapesClearing.add(new MQA.LatLng(41.782448,-87.742399 )); 
          shapesClearing.add(new MQA.LatLng(41.771125,-87.741932 ))   
          shapesClearing.add(new MQA.LatLng(41.770783,-87.755233 ));   
          shapesClearing.add(new MQA.LatLng(41.774462,-87.755485 ));
          shapesClearing.add(new MQA.LatLng(41.773663,-87.800387 ));
          shapesClearing.add(new MQA.LatLng(41.784444,-87.800747 ));

      	    polyClearing.setShapePoints( shapesClearing );
      	    			myMap.addOverlay( polyClearing );	
      	    			
        myPOIClearing = new MQA.Poi(new MQA.LatLng( 41.781478,-87.770404 ));
	    myPOIClearing.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Clearing</td></tr></table>");
        myPOIClearing.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIClearing );
         
        //--west lawn--
        polyWestLawn = new MQA.PolygonOverlay();
        polyWestLawn.setBorderWidth(0);
        polyWestLawn.setColor("#999999");   
        polyWestLawn.setFillColor("#ffff00");
        polyWestLawn.setFillColorAlpha( .18 );
        polyWestLawn.setKey("WestLawn");
    
         var shapesWestLawn = new MQA.LatLngCollection();    
          shapesWestLawn.add(new MQA.LatLng( 41.785794,-87.722902 ));   
          shapesWestLawn.add(new MQA.LatLng(41.757928,-87.722183));
          shapesWestLawn.add(new MQA.LatLng(41.75773,-87.741344));
          shapesWestLawn.add(new MQA.LatLng(41.7824,-87.7421));
          shapesWestLawn.add(new MQA.LatLng(41.784396,-87.740949));
          shapesWestLawn.add(new MQA.LatLng(41.785509,-87.740985));

      	    polyWestLawn.setShapePoints( shapesWestLawn );
      	    			myMap.addOverlay( polyWestLawn );	
      	    			
        myPOIWestLawn = new MQA.Poi(new MQA.LatLng( 41.778521,-87.736491 ));
	    myPOIWestLawn.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>West Lawn</td></tr></table>");    
        myPOIWestLawn.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIWestLawn );
        
        //--chicago lawn--
        polyChicagoLawn = new MQA.PolygonOverlay();            
        polyChicagoLawn.setColor("#999999");
        polyChicagoLawn.setFillColor("#005500");
        polyChicagoLawn.setFillColorAlpha( .18 );
        polyChicagoLawn.setKey("ChicagoLawn");
    
        var shapesChicagoLawn = new MQA.LatLngCollection();
          shapesChicagoLawn.add(new MQA.LatLng( 41.785765,-87.722506 ));  
          shapesChicagoLawn.add(new MQA.LatLng( 41.786393,-87.683751 ));
          shapesChicagoLawn.add(new MQA.LatLng( 41.750246,-87.682408 ));
          shapesChicagoLawn.add(new MQA.LatLng( 41.749686,-87.721498 ));

      	    polyChicagoLawn.setShapePoints( shapesChicagoLawn );
      	    myMap.addOverlay( polyChicagoLawn );	
      	    			
        myPOIChicagoLawn = new MQA.Poi(new MQA.LatLng( 41.774442,-87.717329 ));
	    myPOIChicagoLawn.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Chicago Lawn</td></tr></table>");     
        myPOIChicagoLawn.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOIChicagoLawn ); 
         
        //--englewood--
        polyEnglewood = new MQA.PolygonOverlay();
        polyEnglewood.setBorderWidth(0);
        polyEnglewood.setColor("#999999"); 
        polyEnglewood.setFillColor("#00ff00");
        polyEnglewood.setFillColorAlpha( .18 );
        polyEnglewood.setKey("Englewood");
    
        var shapesEnglewood = new MQA.LatLngCollection();
          shapesEnglewood.add(new MQA.LatLng( 41.786336,-87.683392 ));  
          shapesEnglewood.add(new MQA.LatLng(41.787106,-87.635075 ));
          shapesEnglewood.add(new MQA.LatLng( 41.750826,-87.63421 ));
          shapesEnglewood.add(new MQA.LatLng( 41.750199,-87.682096 ));

      	    polyEnglewood.setShapePoints( shapesEnglewood );
      	    myMap.addOverlay( polyEnglewood);	
      	    			
       myPOIEnglewood = new MQA.Poi(new MQA.LatLng( 41.773262,-87.67209 ));
	   myPOIEnglewood.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap><a href=# onMouseOver=fn_color_over(polyEnglewood); onMouseOut=fn_color_out(polyEnglewood); onclick=fn_border('Englewood',polyEnglewood);>Englewood</a></td></tr></table>");     
       myPOIEnglewood.setValue('minZoomLevel', 9);
       myMap.addPoi( myPOIEnglewood );
       
       //--park manor--
       polyParkManor = new MQA.PolygonOverlay();
       polyParkManor.setBorderWidth(0);
       polyParkManor.setColor("#999999");      
       polyParkManor.setFillColor("#550000");
       polyParkManor.setFillColorAlpha( .18 );
       polyParkManor.setKey("ParkManor");
    
       var shapesParkManor = new MQA.LatLngCollection();
          shapesParkManor.add(new MQA.LatLng( 41.787077,-87.634821  ));   
          shapesParkManor.add(new MQA.LatLng(41.787333,-87.615731 ));
          shapesParkManor.add(new MQA.LatLng(41.785508,-87.615659 ));
          shapesParkManor.add(new MQA.LatLng(41.785622,-87.605845 ));
          shapesParkManor.add(new MQA.LatLng(41.751453,-87.605233 ));
          shapesParkManor.add(new MQA.LatLng(41.750854,-87.633958 ));

      	    polyParkManor.setShapePoints( shapesParkManor );
      	    myMap.addOverlay( polyParkManor);	
      	    			
        myPOIParkManor = new MQA.Poi(new MQA.LatLng( 41.763546,-87.630183 ));
        myPOIParkManor.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Park Manor</td></tr></table>");     
		myPOIParkManor.setValue('minZoomLevel', 9);
		myMap.addPoi( myPOIParkManor );
        
        //--grand crossing--
        polyGrandCrossing = new MQA.PolygonOverlay();
        polyGrandCrossing.setBorderWidth(0);
        polyGrandCrossing.setColor("#999999");
        polyGrandCrossing.setFillColor("#ffff00");
        polyGrandCrossing.setFillColorAlpha( .18 );
        polyGrandCrossing.setKey("GrandCrossing");
     
       var shapesGrandCrossing = new MQA.LatLngCollection();  
          shapesGrandCrossing.add(new MQA.LatLng( 41.773003,-87.605326 ));     
          shapesGrandCrossing.add(new MQA.LatLng( 41.773174,-87.586093 ));
          shapesGrandCrossing.add(new MQA.LatLng( 41.746906,-87.585518 ));
          shapesGrandCrossing.add(new MQA.LatLng( 41.746763,-87.604859 ));

      	  polyGrandCrossing.setShapePoints( shapesGrandCrossing );
      	  myMap.addOverlay( polyGrandCrossing );	
      	    			
        myPOIGrandCrossing = new MQA.Poi(new MQA.LatLng( 41.761138,-87.600078 ));
	    myPOIGrandCrossing.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Grand Crossing</td></tr></table>");     
	    myPOIGrandCrossing.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOIGrandCrossing );
        
        //--south shore--
        polySouthShore = new MQA.PolygonOverlay();
        polySouthShore.setBorderWidth(0);
        polySouthShore.setColor("#999999");
        polySouthShore.setFillColor("#fd8e17");
        polySouthShore.setFillColorAlpha( .18 );
        polySouthShore.setKey("SouthShore");
    
       var shapesSouthShore = new MQA.LatLngCollection();
           
          shapesSouthShore.add(new MQA.LatLng( 41.773185,-87.58571 )); 
          shapesSouthShore.add(new MQA.LatLng( 41.773271,-87.565829 ));
          shapesSouthShore.add(new MQA.LatLng( 41.752023,-87.540843 ));
          shapesSouthShore.add(new MQA.LatLng( 41.751595,-87.585172 ));

      	    polySouthShore.setShapePoints( shapesSouthShore );
      	    			myMap.addOverlay( polySouthShore );	
      	    			
        myPOISouthShore = new MQA.Poi(new MQA.LatLng( 41.766996,-87.580605 ));
        myPOISouthShore.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>South Shore</td></tr></table>");     
        myPOISouthShore.setValue('minZoomLevel', 9);
        myMap.addPoi( myPOISouthShore );
        
        //--south chicago--
        polySouthChicago = new MQA.PolygonOverlay();
        polySouthChicago.setBorderWidth(0);
        polySouthChicago.setColor("#999999");
        polySouthChicago.setFillColor("#ff00ff");
        polySouthChicago.setFillColorAlpha( .18 );
        polySouthChicago.setKey("SouthChicago");
    
       var shapesSouthChicago = new MQA.LatLngCollection();
          shapesSouthChicago.add(new MQA.LatLng(41.751196,-87.585099 ));
          shapesSouthChicago.add(new MQA.LatLng(41.751595,-87.539946 ));
          shapesSouthChicago.add(new MQA.LatLng(41.747944,-87.530311 ));
          shapesSouthChicago.add(new MQA.LatLng(41.728036,-87.5265 ));
          shapesSouthChicago.add(new MQA.LatLng(41.722788,-87.523624 ));
          shapesSouthChicago.add(new MQA.LatLng(41.72296,-87.548574 ));
          shapesSouthChicago.add(new MQA.LatLng(41.7241,-87.549724 ));
          shapesSouthChicago.add(new MQA.LatLng(41.749656,-87.585099 ));

      	polySouthChicago.setShapePoints( shapesSouthChicago );
      	myMap.addOverlay( polySouthChicago );	
      	    			
        myPOISouthChicago = new MQA.Poi(new MQA.LatLng( 41.738646,-87.559359 ));
	    myPOISouthChicago.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>South Chicago</td></tr></table>");     
	    myPOISouthChicago.setValue('minZoomLevel', 9);
	    myMap.addPoi( myPOISouthChicago );
      
       //--marynook-- 
       polyMarynook = new MQA.PolygonOverlay();
       polyMarynook.setBorderWidth(0);
       polyMarynook.setColor("#999999");
       polyMarynook.setFillColor("#00ffff");
       polyMarynook.setFillColorAlpha( .18 );
       polyMarynook.setKey("Marynook");

       var shapesMarynook = new MQA.LatLngCollection();
          shapesMarynook.add(new MQA.LatLng(41.746574,-87.604848 ));
          shapesMarynook.add(new MQA.LatLng( 41.746688,-87.585507 ));            
          shapesMarynook.add(new MQA.LatLng( 41.736934,-87.585435 ));              
          shapesMarynook.add(new MQA.LatLng( 41.73682,-87.60456 ));

      	  polyMarynook.setShapePoints( shapesMarynook );
      	  myMap.addOverlay( polyMarynook );	
      	    			
       myPOIMarynook = new MQA.Poi(new MQA.LatLng( 41.743465,-87.602259));
       myPOIMarynook.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Marynook</td></tr></table>");     
       myPOIMarynook.setValue('minZoomLevel', 9);
       myMap.addPoi( myPOIMarynook ); 
        
       //--stone island park--
       polyStoneIslandPark = new MQA.PolygonOverlay();
       polyStoneIslandPark.setBorderWidth(0);
       polyStoneIslandPark.setColor("#999999"); 
       polyStoneIslandPark.setFillColor("#0000ff");
       polyStoneIslandPark.setFillColorAlpha( .18 );
       polyStoneIslandPark.setKey("StoneIslandPark");
   
       var shapesStoneIslandPark = new MQA.LatLngCollection();
          shapesStoneIslandPark.add(new MQA.LatLng( 41.74911,-87.584961 ));
          shapesStoneIslandPark.add(new MQA.LatLng( 41.737017,-87.567921 )); 
          shapesStoneIslandPark.add(new MQA.LatLng( 41.73696,-87.584889 ));

     	    polyStoneIslandPark.setShapePoints( shapesStoneIslandPark );
     	    myMap.addOverlay( polyStoneIslandPark );	

       myPOIStoneIslandPark = new MQA.Poi(new MQA.LatLng( 41.743465,-87.58118));
	   myPOIStoneIslandPark.setValue('HTMLContent', "<table cellpadding=0 cellspacing=0 class=text_map><tr><td style='padding-left:2px;padding-right:2px;' nowrap>Stone Island Park</td></tr></table>");     
	   myPOIStoneIslandPark.setValue('minZoomLevel', 9);
	   myMap.addPoi( myPOIStoneIslandPark);
        
		   initDE();
 
    }

//----------------------------fn_POI_mouseOver-------------------------------

function fn_POI_mouseOver(e)
 {

  this.showInfoWindow();
  
 }
 
//----------------------------fn_POI_mouseOut--------------------------------

function fn_POI_mouseOut()
 {
 
  myMap.getInfoWindow().hide();
  
 }
 

 //----------------------------fn_show_wait-----------------------------------
 
 function fn_show_wait()
  {    
  document.getElementById('divLoading_data').style.display='';
  setTimeout('document.images["pbar"].src = "/images/indicator-preview.gif"', 100); 
  }   
 
 
//-----------------------------fn_hide_wait-----------------------------------

 function fn_hide_wait()
  {
    document.getElementById('divLoading_data').style.display='none'; 
  }
   
   
//---------------------------showMapDetails---------------------------------

function showMapDetail(url)
	{
		document.getElementById('searchSettingsTable').style.display = 'none';
		document.getElementById('leftpanel').style.display = '';
		document.getElementById('detailIframe').src = url;	
	}
	
//----------------------------fn_back_to_map---------------------------------

 function fn_back_to_map()
   {
    
      if(getCookie("listView") == "on")
        {
            setCookie("mapView", 'on', expdate );
            setCookie("listView", 'off', expdate );
        
        }
       
        parent.document.getElementById('leftpanel').style.display='none';
        parent.document.getElementById('searchSettingsTable').style.display = '';
        
   }
   
//----------------------------fn_list_view------------------------------------
     
    function fn_list_view()
   {   
    document.getElementById('searchSettingsTable').style.display = 'none';
	document.getElementById('leftpanel').style.display = ''; 
    parent.document.getElementById('detailIframe').src='/re/map_list.aspx';
   }
   
//----fn_toggle_view--------------------------------

function fn_toggle_view( obj )
 {
 
  if( obj == "divList_view")
   {
    document.getElementById("divList_view").style.display='';
    document.getElementById("mapDiv").style.display='none';
    document.getElementById("divBtn_list_view").className='map_highlight';
    document.getElementById("divBtn_map_view").className='map_normal';
     
   }
  else
   {
    document.getElementById("divList_view").style.display='none';
    document.getElementById("mapDiv").style.display='';
    document.getElementById("divBtn_map_view").className='map_highlight';
    document.getElementById("divBtn_list_view").className='map_normal';
   }
  
 }

//----fn_toggle_options()---------------------------------

function fn_toggle_options( obj )
 {
 
    if (obj.style.display == "none") 
      {
        obj.style.display = "";
        divShow.style.display = "none";
        divHide.style.display = "";
        setCookie("show_options" , 'yes', expdate );
        
      }
      else
      {
        obj.style.display = "none";
        divShow.style.display = "";
        divHide.style.display = "none";
        setCookie("show_options" , 'no', expdate );
    
      }
      
 } 
 
 //----fn_submit_click-------------------------------------
 
 function fn_submit_click()
  {
      fn_show_wait();
      setCookie("cookieScroll", parent.document.body.scrollTop , expdate );
      window.document.forms[0].submit(); 
  }
   
     
   
 
   
                          
                    
       
        
        
	
 


