﻿

 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() 

{

 myMap = new MQA.TileMap( document.getElementById('mapDiv'),9,new MQA.LatLng(41.920000,-87.692128),"map",null);
	
	//-87.706128
    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 style='vertical-align:middle;'><img src='http://v2.nufrontiers.com/nf_fav_2.ico' alt='Nu Frontiers' /></td>" +
                  "<td style='vertical-align:middle;'><a href='http://www.nufrontiers.com'/>Nu Frontiers Enterprises, Inc.</a></td></tr></table>";
	
	
	myMap.addControl(new MQA.LargeZoomControl());
	myVControl = new MQA.ViewControl(myMap);
	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 );
    	
//------------------------East Rodgers 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;'><a href='#' onMouseOver=fn_color_over(polyEastRogersPark); onMouseOut=fn_color_out(polyEastRogersPark); onclick=fn_border('EastRogersPark',polyEastRogersPark);>E. Rogers Park</a></td></tr></table>");
		myMap.addPoi( myPOIEastRogersPark );

          
//-----------------------West Rodgers 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><a href=# onMouseOver=fn_color_over(polyWestRogersPark); onMouseOut=fn_color_out(polyWestRogersPark); onclick=fn_border('WestRogersPark',polyWestRogersPark);>West Rogers Park</a></td></tr></table>");
        myMap.addPoi( myPOIWestRogersPark );
				
	          	
//-----------------------Edgewater------------------------------

    polyEdgewater = new MQA.PolygonOverlay();
    polyEdgewater.setBorderWidth(0);
    polyEdgewater.setColor("#999999");
    polyEdgewater.setFillColor("#550000");
    polyEdgewater.setFillColorAlpha( .18 );
    polyEdgewater.setKey("Edgewater");
    polyEdgewater.setAltColor("#00C8FF");
	polyEdgewater.setAltFillColor("#00C8FF");
	polyEdgewater.setAltFillColorAlpha(0.25);
    
         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><a href=# onMouseOver=fn_color_over(polyEdgewater); onMouseOut=fn_color_out(polyEdgewater); onclick=fn_border('Edgewater',polyEdgewater);>Edgewater</a></td></tr></table>");
        myMap.addPoi( myPOIEdgewater );
		      		
//-----------------------Andersonville------------------------------

    polyAndersonville = new MQA.PolygonOverlay();
    polyAndersonville.setBorderWidth(0);
    polyAndersonville.setColor("#999999");
    polyAndersonville.setFillColor("#555500");
    polyAndersonville.setFillColorAlpha( .18 );
    polyAndersonville.setKey("Andersonville");
    polyAndersonville.setAltColor("#00C8FF");
	polyAndersonville.setAltFillColor("#00C8FF");
	polyAndersonville.setAltFillColorAlpha(0.25);
    
         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><a href=# onMouseOver=fn_color_over(polyAndersonville); onMouseOut=fn_color_out(polyAndersonville); onclick=fn_border('Andersonville',polyAndersonville);>Andersonville</a></td></tr></table>");
        myMap.addPoi( myPOIAndersonville );
				
		     
             	
//-----------------------Peterson------------------------------

    polyPeterson = new MQA.PolygonOverlay();
    polyPeterson.setBorderWidth(0);
    polyPeterson.setColor("#999999"); 
    polyPeterson.setFillColor("#ff00ff");
    polyPeterson.setFillColorAlpha( .18 );
    polyPeterson.setKey("Peterson");
    
         var shapesPeterson = new MQA.LatLngCollection();
            shapesPeterson.add( new MQA.LatLng( 41.99066 , -87.67505 ));
            shapesPeterson.add( new MQA.LatLng( 41.990204 , -87.708843 ));
            shapesPeterson.add( new MQA.LatLng( 41.975943 , -87.704529 ));
            shapesPeterson.add( new MQA.LatLng( 41.976114 , -87.688998 ));
            shapesPeterson.add( new MQA.LatLng( 41.977768 , -87.688926 ));
            shapesPeterson.add( new MQA.LatLng( 41.983244 , -87.679004 ));
            shapesPeterson.add( new MQA.LatLng( 41.98353 , -87.674834 ));
            
	   	    polyPeterson.setShapePoints( shapesPeterson );
			myMap.addOverlay( polyPeterson );	

	    myPOIPeterson = new MQA.Poi(new MQA.LatLng( 41.983644 ,-87.698921 ));
		myPOIPeterson.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(polyPeterson); onMouseOut=fn_color_out(polyPeterson); onclick=fn_border('Peterson',polyPeterson);>Peterson</a></td></tr></table>");
        myMap.addPoi( myPOIPeterson );
				
		   
//-----------------------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><a href=# onMouseOver=fn_color_over(polyUptown); onMouseOut=fn_color_out(polyUptown); onclick=fn_border('Uptown',polyUptown);>Uptown</a></td></tr></table>");
	    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><a href=# onMouseOver=fn_color_over(polyRavenswood); onMouseOut=fn_color_out(polyRavenswood); onclick=fn_border('Ravenswood',polyRavenswood);>Ravenswood</a></td></tr></table>");
    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><a href=# onMouseOver=fn_color_over(polyLincolnSquare); onMouseOut=fn_color_out(polyLincolnSquare); onclick=fn_border('LincolnSquare',polyLincolnSquare);>Lincoln Square</a></td></tr></table>");
	    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><a href=# onMouseOver=fn_color_over(polyWrigleyville); onMouseOut=fn_color_out(polyWrigleyville); onclick=fn_border('Wrigleyville',polyWrigleyville);>Wrigleyville</a></td></tr></table>");
        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><a href=# onMouseOver=fn_color_over(polyNorthCenter); onMouseOut=fn_color_out(polyNorthCenter); onclick=fn_border('NorthCenter',polyNorthCenter);>North<br>Center</a></td></tr></table>");				
	    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><a href=# onMouseOver=fn_color_over(polyNorthPark); onMouseOut=fn_color_out(polyNorthPark); onclick=fn_border('NorthPark',polyNorthPark);>North Park</a></td></tr></table>");
	    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><a href=# onMouseOver=fn_color_over(polySauganash); onMouseOut=fn_color_out(polySauganash); onclick=fn_border('Sauganash',polySauganash);>Sauganash</a></td></tr></table>");
	    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><a href=# onMouseOver=fn_color_over(polyEdgebrook); onMouseOut=fn_color_out(polyEdgebrook); onclick=fn_border('Edgebrook',polyEdgebrook);>Edgebrook</a></td></tr></table>");
        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><a href=# onMouseOver=fn_color_over(polyJeffersonPark); onMouseOut=fn_color_out(polyJeffersonPark); onclick=fn_border('JeffersonPark',polyJeffersonPark);>Jefferson Park</a></td></tr></table>");
       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><a href=# onMouseOver=fn_color_over(polyNorwoodPark); onMouseOut=fn_color_out(polyNorwoodPark); onclick=fn_border('NorwoodPark',polyNorwoodPark);>Norwood Park</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyEdisonPark); onMouseOut=fn_color_out(polyEdisonPark); onclick=fn_border('EdisonPark',polyEdisonPark);>Edison Park</a></td></tr></table>");
        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><a href=# onMouseOver=fn_color_over(polyPortagePark); onMouseOut=fn_color_out(polyPortagePark); onclick=fn_border('PortagePark',polyPortagePark);>Portage Park</a></td></tr></table>");
    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><a href=# onMouseOver=fn_color_over(polyAlbanyPark); onMouseOut=fn_color_out(polyAlbanyPark); onclick=fn_border('AlbanyPark',polyAlbanyPark);>Albany Park</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyIrvingPark); onMouseOut=fn_color_out(polyIrvingPark); onclick=fn_border('IrvingPark',polyIrvingPark);>Irving Park</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyAvondalePark); onMouseOut=fn_color_out(polyAvondalePark); onclick=fn_border('AvondalePark',polyAvondalePark);>Avondale</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyRoscoeVillage); onMouseOut=fn_color_out(polyRoscoeVillage); onclick=fn_border('RoscoeVillage',polyRoscoeVillage);>Roscoe<br>Village</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyLakeview); onMouseOut=fn_color_out(polyLakeview); onclick=fn_border('Lakeview',polyLakeview);>Lakeview</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyLincolnPark); onMouseOut=fn_color_out(polyLincolnPark); onclick=fn_border('LincolnPark',polyLincolnPark);>Lincoln Park</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyDePaul); onMouseOut=fn_color_out(polyDePaul); onclick=fn_border('DePaul',polyDePaul);>De Paul</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyWickerPark); onMouseOut=fn_color_out(polyWickerPark); onclick=fn_border('WickerPark',polyWickerPark);>Wicker<br>Park</a></td></tr></table>");
    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><a href=# onMouseOver=fn_color_over(polyBucktown); onMouseOut=fn_color_out(polyBucktown); onclick=fn_border('Bucktown',polyBucktown);>Bucktown</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyLoganSquare); onMouseOut=fn_color_out(polyLoganSquare); onclick=fn_border('LoganSquare',polyLoganSquare);>Logan Square</a></td></tr></table>");
		myMap.addPoi( myPOILoganSquare )
			
//----------------------Hermosa-----------------------------

    polyHermosa = new MQA.PolygonOverlay();
    polyHermosa.setBorderWidth(0);
    polyHermosa.setColor("#999999");
    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><a href=# onMouseOver=fn_color_over(polyHermosa); onMouseOut=fn_color_out(polyHermosa); onclick=fn_border('Hermosa',polyHermosa);>Hermosa</a></td></tr></table>");
				
		myIconHermosa = new MQA.Icon("",1,1);
		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><a href=# onMouseOver=fn_color_over(polyCragin); onMouseOut=fn_color_out(polyCragin); onclick=fn_border('Cragin',polyCragin);>Belmont<br>Cragin</a></td></tr></table>");
		myMap.addPoi( myPOICragin )										
											  												

//----------------------Austin-----------------------------

   polyAustin = new MQA.PolygonOverlay();
   polyAustin.setBorderWidth(0);
   polyAustin.setColor("#666666");   
   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><a href=# onMouseOver=fn_color_over(polyAustin); onMouseOut=fn_color_out(polyAustin); onclick=fn_border('Austin',polyAustin);>Austin</a></td></tr></table>");			
		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><a href=# onMouseOver=fn_color_over(polyHumboldtPark); onMouseOut=fn_color_out(polyHumboldtPark); onclick=fn_border('HumboldtPark',polyHumboldtPark);>Humboldt Park</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyUkrainianVillage); onMouseOut=fn_color_out(polyUkrainianVillage); onclick=fn_border('UkrainianVillage',polyUkrainianVillage);>Ukrainian<br>Village</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyRiverWest); onMouseOut=fn_color_out(polyRiverWest); onclick=fn_border('RiverWest',polyRiverWest);>River West</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyOldTown); onMouseOut=fn_color_out(polyOldTown); onclick=fn_border('OldTown',polyOldTown);>Old Town</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyGoldCoast); onMouseOut=fn_color_out(polyGoldCoast); onclick=fn_border('GoldCoast',polyGoldCoast);>Gold Coast</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyRiverNorth); onMouseOut=fn_color_out(polyRiverNorth); onclick=fn_border('RiverNorth',polyRiverNorth);>River North</a></td></tr></table>");
		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><a href=#  onMouseOver=fn_color_over(polyLoop); onMouseOut=fn_color_out(polyLoop); onclick=fn_border('Loop',polyLoop);>Loop</a></td></tr></table>");
		myMap.addPoi( myPOILoop )
	        		       
//----------------------West Loop-----------------------------

    polyWestLoop = new MQA.PolygonOverlay();  
    polyWestLoop.setBorderWidth(0);
    polyWestLoop.setColor("#999999");
    polyWestLoop.setFillColor("#00ffff");
    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><a href=# onMouseOver=fn_color_over(polyWestLoop); onMouseOut=fn_color_out(polyWestLoop); onclick=fn_border('WestLoop',polyWestLoop);>West Loop</a></td></tr></table>");
		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><a href=# onMouseOver=fn_color_over(polyWestTown); onMouseOut=fn_color_out(polyWestTown); onclick=fn_border('WestTown',polyWestTown);>West Town</a></td></tr></table>");
		myMap.addPoi( myPOIWestTown )	

//----------------------East Village-----------------------------

    polyEastVillage = new MQA.PolygonOverlay();    
    polyEastVillage.setBorderWidth(0);
    polyEastVillage.setColor("#666666");
    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><a href=# onMouseOver=fn_color_over(polyEastVillage); onMouseOut=fn_color_out(polyEastVillage); onclick=fn_border('EastVillage',polyEastVillage);>East Village</a></td></tr></table>");
		myMap.addPoi( myPOIEastVillage )		

//----------------------Garfield Park-----------------------------

    polyGarfieldPark = new MQA.PolygonOverlay();
   
    polyGarfieldPark.setBorderWidth(0);
    polyGarfieldPark.setColor("#666666");  
    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><a href=# onMouseOver=fn_color_over(polyGarfieldPark); onMouseOut=fn_color_out(polyGarfieldPark); onclick=fn_border('GarfieldPark',polyGarfieldPark);>Garfield Park</a></td></tr></table>");
		myMap.addPoi( myPOIGarfieldPark )		

//------------------------------------south side-------------------------------------
//-----------------------------------------------------------------------------------	

//----------------------Lawndale-----------------------------


    polyLawndale = new MQA.PolygonOverlay() ;  
    polyLawndale.setBorderWidth(0); 
    polyLawndale.setColor("#666666");  
    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><a href=# onMouseOver=fn_color_over(polyLawndale); onMouseOut=fn_color_out(polyLawndale); onclick=fn_border('Lawndale',polyLawndale);>Lawndale</a></td></tr></table>");
		
	    myMap.addPoi( myPOILawndale );

       MQA.EventManager.addListener( polyLawndale,'click', function(){if(myMap.getZoomLevel() < 9){fn_border_2('Lawndale',polyLawndale,41.885395,-87.719547)};});	
       MQA.EventManager.addListener( polyLawndale,'mouseOver', function(){if(myMap.getZoomLevel() < 9){fn_show_name(polyLawndale,myPOILawndale);}});			    				 
	

//----------------------Tri-Taylor-----------------------------


    polyTriTaylor = new MQA.PolygonOverlay();
    polyTriTaylor.setBorderWidth(0); 
    polyTriTaylor.setColor("#666666");  
    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><a href=# onMouseOver=fn_color_over(polyTriTaylor); onMouseOut=fn_color_out(polyTriTaylor); onclick=fn_border('TriTaylor',polyTriTaylor);>Tri Taylor</a></td></tr></table>");
		
	    myMap.addPoi( myPOITriTaylor );
    
       MQA.EventManager.addListener( polyTriTaylor,'click', function(){if(myMap.getZoomLevel() < 9){fn_border_2('TriTaylor',polyTriTaylor,41.885395,-87.719547)};});	
       MQA.EventManager.addListener( polyTriTaylor,'mouseOver', function(){if(myMap.getZoomLevel() < 9){fn_show_name(polyTriTaylor,myPOITriTaylor);}});			    				 
	                
//----------------------Medical Village-----------------------------

    polyMedicalVillage = new MQA.PolygonOverlay();
    polyMedicalVillage.setBorderWidth(0); 
    polyMedicalVillage.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyMedicalVillage); onMouseOut=fn_color_out(polyMedicalVillage); onclick=fn_border('MedicalVillage',polyMedicalVillage);>Medical Village</a></td></tr></table>");
		
	    myMap.addPoi( myPOIMedicalVillage );
                    
	   	MQA.EventManager.addListener( polyMedicalVillage,'click', function(){if(myMap.getZoomLevel() < 9){fn_border_2('MedicalVillage',polyMedicalVillage,41.885395,-87.719547)};});	
        MQA.EventManager.addListener( polyMedicalVillage,'mouseOver', function(){if(myMap.getZoomLevel() < 9){fn_show_name(polyMedicalVillage,myPOIMedicalVillage);}});			    				 

//----------------------Pilsen-----------------------------

    polyPilsen = new MQA.PolygonOverlay();
    polyPilsen.setBorderWidth(0); 
    polyPilsen.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyPilsen); onMouseOut=fn_color_out(polyPilsen); onclick=fn_border('Pilsen',polyPilsen);>Pilsen</a></td></tr></table>");
        myMap.addPoi( myPOIPilsen );
                   	               
//----------------------Chinatown-----------------------------

    polyChinatown = new MQA.PolygonOverlay();
    polyChinatown.setBorderWidth(0); 
    polyChinatown.setColor("#666666");   
    polyChinatown.setFillColor("#0000ff");
    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><a href=# onMouseOver=fn_color_over(polyChinatown); onMouseOut=fn_color_out(polyChinatown); onclick=fn_border('Chinatown',polyChinatown);>Chinatown</a></td></tr></table>");
        myMap.addPoi( myPOIChinatown );


 //----------------------South_Loop-----------------------------

    polySouthLoop = new MQA.PolygonOverlay();
    polySouthLoop.setBorderWidth(0); 
    polySouthLoop.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polySouthLoop); onMouseOut=fn_color_out(polySouthLoop); onclick=fn_border('SouthLoop',polySouthLoop);>South Loop</a></td></tr></table>");
        myMap.addPoi( myPOISouthLoop );
 		
 		
//----------------------McKinley_Park-----------------------------


    polyMcKinleyPark = new MQA.PolygonOverlay();
    polyMcKinleyPark.setBorderWidth(0); 
    polyMcKinleyPark.setColor("#666666");           
    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><a href=# onMouseOver=fn_color_over(polyMcKinleyPark); onMouseOut=fn_color_out(polyMcKinleyPark); onclick=fn_border('McKinleyPark',polyMcKinleyPark);>McKinley Park</a></td></tr></table>");
		    myMap.addPoi( myPOIMcKinleyPark );
    
    
//----------------------Bridgeport-----------------------------
 
    polyBridgeport = new MQA.PolygonOverlay();
    polyBridgeport.setBorderWidth(0); 
    polyBridgeport.setColor("#666666");          
    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><a href=# onMouseOver=fn_color_over(polyBridgeport); onMouseOut=fn_color_out(polyBridgeport); onclick=fn_border('Bridgeport',polyBridgeport);>Bridgeport</a></td></tr></table>");
		   myMap.addPoi( myPOIBridgeport );
                    

//----------------------Bronzeville-----------------------------
 
    polyBronzeville = new MQA.PolygonOverlay();
    polyBronzeville.setBorderWidth(0); 
    polyBronzeville.setColor("#666666");        
    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><a href=# onMouseOver=fn_color_over(polyBronzeville); onMouseOut=fn_color_out(polyBronzeville); onclick=fn_border('Bronzeville',polyBronzeville);>Bronzeville</a></td></tr></table>");
		 myMap.addPoi( myPOIBronzeville );
  

//----------------------Oakland-----------------------------

    polyOakland = new MQA.PolygonOverlay();
    polyOakland.setBorderWidth(0); 
    polyOakland.setColor("#666666");        
    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><a href=# onMouseOver=fn_color_over(polyOakland); onMouseOut=fn_color_out(polyOakland); onclick=fn_border('Oakland',polyOakland);>Oakland</a></td></tr></table>");
		myMap.addPoi( myPOIOakland );
  
 //----------------------Brighton Park-----------------------------


    polyBrightonPark = new MQA.PolygonOverlay();
    polyBrightonPark.setBorderWidth(0); 
    polyBrightonPark.setColor("#666666");        
    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><a href=# onMouseOver=fn_color_over(polyBrightonPark); onMouseOut=fn_color_out(polyBrightonPark); onclick=fn_border('BrightonPark',polyBrightonPark);>Brighton Park</a></td></tr></table>");
		myMap.addPoi( myPOIBrightonPark );
            
            
//----------------------Archer Heights-----------------------------


    polyArcherHeights = new MQA.PolygonOverlay();
    polyArcherHeights.setBorderWidth(0); 
    polyArcherHeights.setColor("#666666");     
    polyArcherHeights.setFillColor("#ff00ff");
    polyArcherHeights.setFillColorAlpha( .18 );
    polyArcherHeights.setKey("Archer_Heights");
    
        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><a href=# onMouseOver=fn_color_over(polyArcherHeights); onMouseOut=fn_color_out(polyArcherHeights); onclick=fn_border('ArcherHeights',polyArcherHeights);>Archer Heights</a></td></tr></table>");
	    myMap.addPoi( myPOIArcherHeights );
     
 
 //----------------------Back of the Yards-----------------------------

    polyBackoftheYards = new MQA.PolygonOverlay();
    polyBackoftheYards.setBorderWidth(0); 
    polyBackoftheYards.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyBackoftheYards); onMouseOut=fn_color_out(polyBackoftheYards); onclick=fn_border('BackoftheYards',polyBackoftheYards);>Back of the Yards</a></td></tr></table>");
		myMap.addPoi( myPOIBackoftheYards );
                    
	
//----------------------Canaryville-----------------------------

    polyCanaryville = new MQA.PolygonOverlay();
    polyCanaryville.setBorderWidth(0); 
    polyCanaryville.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyCanaryville); onMouseOut=fn_color_out(polyCanaryville); onclick=fn_border('Canaryville',polyCanaryville);>Canaryville</a></td></tr></table>");
	    myMap.addPoi( myPOICanaryville );
 
 
 //----------------------Fuller Park-----------------------------


    polyFullerPark = new MQA.PolygonOverlay();
    polyFullerPark.setBorderWidth(0); 
    polyFullerPark.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyFullerPark); onMouseOut=fn_color_out(polyFullerPark); onclick=fn_border('FullerPark',polyFullerPark);>Fuller Park</a></td></tr></table>");
        myMap.addPoi( myPOIFullerPark );
       
       
 //----------------------Grand Boulevard-----------------------------


    polyGrandBoulevard = new MQA.PolygonOverlay();
    polyGrandBoulevard.setBorderWidth(0); 
    polyGrandBoulevard.setColor("#666666");   
    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><a href=# onMouseOver=fn_color_over(polyGrandBoulevard); onMouseOut=fn_color_out(polyGrandBoulevard); onclick=fn_border('GrandBoulevard',polyGrandBoulevard);>Grand Boulevard</a></td></tr></table>");
		myMap.addPoi( myPOIGrandBoulevard );
 
 
//----------------------Kenwood-----------------------------


    polyKenwood = new MQA.PolygonOverlay();
    polyKenwood.setBorderWidth(0); 
    polyKenwood.setColor("#666666");       
    polyKenwood.setFillColor("#fd8e17");
    polyKenwood.setFillColorAlpha( .18 );
    polyKenwood.setKey("Fuller_Park");
    
        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><a href=# onMouseOver=fn_color_over(polyKenwood); onMouseOut=fn_color_out(polyKenwood); onclick=fn_border('Kenwood',polyKenwood);>Kenwood</a></td></tr></table>");
		myMap.addPoi( myPOIKenwood );
 
 //--------------------Hyde Park-----------------------------


    polyHydePark = new MQA.PolygonOverlay();
    polyHydePark.setBorderWidth(0); 
    polyHydePark.setColor("#666666");           
    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><a href=# onMouseOver=fn_color_over(polyHydePark); onMouseOut=fn_color_out(polyHydePark); onclick=fn_border('HydePark',polyHydePark);>Hyde Park</a></td></tr></table>");
		myMap.addPoi( myPOIHydePark );
                    
//--------------------Washington Park-----------------------------

 polyWashingtonPark = new MQA.PolygonOverlay();
    polyWashingtonPark.setBorderWidth(0); 
    polyWashingtonPark.setColor("#666666");        
    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><a href=# onMouseOver=fn_color_over(polyWashingtonPark); onMouseOut=fn_color_out(polyWashingtonPark); onclick=fn_border('WashingtonPark',polyWashingtonPark);>Washington Park</a></td></tr></table>");
        myMap.addPoi( myPOIWashingtonPark );
                    
		
//--------------------Woodlawn-----------------------------

 polyWoodlawn = new MQA.PolygonOverlay();
 polyWoodlawn.setBorderWidth(0); 
 polyWoodlawn.setColor("#666666");        
 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><a href=# onMouseOver=fn_color_over(polyWoodlawn); onMouseOut=fn_color_out(polyWoodlawn); onclick=fn_border('Woodlawn',polyWoodlawn);>Woodlawn</a></td></tr></table>");
	    myMap.addPoi( myPOIWoodlawn );
                    

//--------------------Gage Park-----------------------------


   polyGagePark = new MQA.PolygonOverlay();
   polyGagePark.setBorderWidth(0); 
   polyGagePark.setColor("#666666");          
   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><a href=# onMouseOver=fn_color_over(polyGagePark); onMouseOut=fn_color_out(polyGagePark); onclick=fn_border('GagePark',polyGagePark);>Gage Park</a></td></tr></table>");
	myMap.addPoi( myPOIGagePark );
                    
	   
//--------------------West Elsdon-----------------------------


    polyWestElsdon = new MQA.PolygonOverlay();
    polyWestElsdon.setBorderWidth(0); 
    polyWestElsdon.setColor("#666666");     
    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><a href=# onMouseOver=fn_color_over(polyWestElsdon); onMouseOut=fn_color_out(polyWestElsdon); onclick=fn_border('WestElsdon',polyWestElsdon);>West Elsdon</a></td></tr></table>");
   	myMap.addPoi( myPOIWestElsdon );
                    

//--------------------Garfield Ridge-----------------------------


    polyGarfieldRidge = new MQA.PolygonOverlay();
    polyGarfieldRidge.setBorderWidth(0); 
    polyGarfieldRidge.setColor("#666666");     
    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><a href=# onMouseOver=fn_color_over(polyGarfieldRidge); onMouseOut=fn_color_out(polyGarfieldRidge); onclick=fn_border('GarfieldRidge',polyGarfieldRidge);>Garfield Ridge</a></td></tr></table>");
    myMap.addPoi( myPOIGarfieldRidge );
                    
	   	    polyGarfieldRidge.setShapePoints( shapesGarfieldRidge );
			myMap.addOverlay( polyGarfieldRidge );
			
			
//--------------------Clearing-----------------------------


    polyClearing = new MQA.PolygonOverlay();
    polyClearing.setBorderWidth(0); 
    polyClearing.setColor("#666666");      
    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><a href=# onMouseOver=fn_color_over(polyClearing); onMouseOut=fn_color_out(polyClearing); onclick=fn_border('Clearing',polyClearing);>Clearing</a></td></tr></table>");
    myMap.addPoi( myPOIClearing );
                    

//--------------------West Lawn-----------------------------


    polyWestLawn = new MQA.PolygonOverlay();
    polyWestLawn.setBorderWidth(0); 
    polyWestLawn.setColor("#666666");             
    polyWestLawn.setFillColor("#ffff00");
    polyWestLawn.setFillColorAlpha( .18 );
    polyWestLawn.setKey("West_Lawn");
    
         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><a href=# onMouseOver=fn_color_over(polyWestLawn); onMouseOut=fn_color_out(polyWestLawn); onclick=fn_border('WestLawn',polyWestLawn);>West Lawn</a></td></tr></table>");    
    myMap.addPoi( myPOIWestLawn );
                    

 //--------------------Chicago Lawn-----------------------------

    polyChicagoLawn = new MQA.PolygonOverlay();
    polyChicagoLawn.setBorderWidth(0); 
    polyChicagoLawn.setColor("#666666");              
    polyChicagoLawn.setFillColor("#005500");
    polyChicagoLawn.setFillColorAlpha( .18 );
    polyChicagoLawn.setKey("Chicago_Lawn");
    
       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><a href=# onMouseOver=fn_color_over(polyChicagoLawn); onMouseOut=fn_color_out(polyChicagoLawn); onclick=fn_border('ChicagoLawn',polyChicagoLawn);>Chicago Lawn</a></td></tr></table>");     
     myMap.addPoi( myPOIChicagoLawn );
                    	   
//--------------------Englewood-----------------------------

    polyEnglewood = new MQA.PolygonOverlay();
    polyEnglewood.setBorderWidth(0); 
    polyEnglewood.setColor("#666666");    
    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>");     
       myMap.addPoi( myPOIEnglewood );
  

//--------------------Park Manor-----------------------------
    polyParkManor = new MQA.PolygonOverlay();
    polyParkManor.setBorderWidth(0); 
    polyParkManor.setColor("#666666");       
    polyParkManor.setFillColor("#550000");
    polyParkManor.setFillColorAlpha( .18 );
    polyParkManor.setKey("Park_Manor");
    
       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><a href=# onMouseOver=fn_color_over(polyParkManor); onMouseOut=fn_color_out(polyParkManor); onclick=fn_border('ParkManor',polyParkManor);>Park Manor</a></td></tr></table>");     
		myMap.addPoi( myPOIParkManor );
                    
	  
	//--------------------Grand Crossing-----------------------------


    polyGrandCrossing = new MQA.PolygonOverlay();
    polyGrandCrossing.setBorderWidth(0); 
    polyGrandCrossing.setColor("#666666");      
    polyGrandCrossing.setFillColor("#ffff00");
    polyGrandCrossing.setFillColorAlpha( .18 );
    polyGrandCrossing.setKey("Grand_Crossing");
    
       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><a href=# onMouseOver=fn_color_over(polyGrandCrossing); onMouseOut=fn_color_out(polyGrandCrossing); onclick=fn_border('GrandCrossing',polyGrandCrossing);>Grand Crossing</a></td></tr></table>");     
	   myMap.addPoi( myPOIGrandCrossing );
                    
//--------------------South Shore-----------------------------

    polySouthShore = new MQA.PolygonOverlay();
    polySouthShore.setBorderWidth(0); 
    polySouthShore.setColor("#666666");          
    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><a href=# onMouseOver=fn_color_over(polySouthShore); onMouseOut=fn_color_out(polySouthShore); onclick=fn_border('SouthShore',polySouthShore);>South Shore</a></td></tr></table>");     
    myMap.addPoi( myPOISouthShore );
                    
//--------------------South Chicago-----------------------------

    polySouthChicago = new MQA.PolygonOverlay();
    polySouthChicago.setBorderWidth(0); 
    polySouthChicago.setColor("#666666");          
    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><a href=# onMouseOver=fn_color_over(polySouthChicago); onMouseOut=fn_color_out(polySouthChicago); onclick=fn_border('SouthChicago',polySouthChicago);>South Chicago</a></td></tr></table>");     
	myMap.addPoi( myPOISouthChicago );
                    
	
//--------------------Marynook-----------------------------


    polyMarynook = new MQA.PolygonOverlay();
    polyMarynook.setBorderWidth(0); 
    polyMarynook.setColor("#666666");            
    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><a href=# onMouseOver=fn_color_over(polyMarynook); onMouseOut=fn_color_out(polyMarynook); onclick=fn_border('Marynook',polyMarynook);>Marynook</a></td></tr></table>");     
    myMap.addPoi( myPOIMarynook );
       
      
 //--------------------Stone Island Park-----------------------------

    polyStoneIslandPark = new MQA.PolygonOverlay();
    polyStoneIslandPark.setBorderWidth(0); 
    polyStoneIslandPark.setColor("#666666");        
    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><a href=# onMouseOver=fn_color_over(polyStoneIslandPark); onMouseOut=fn_color_out(polyStoneIslandPark); onclick=fn_border('StoneIslandPark',polyStoneIslandPark);>Stone Island Park</a></td></tr></table>");     
	   myMap.addPoi( myPOIStoneIslandPark);
                    
	   	   													
   fn_hide_wait();
   
}

//------------------------------fn_border----------------------------
 
 function fn_border( strNei , strPoly )
   {
   
   //--'GarfieldRidge',polyGarfieldRidge

     //--update checkboxes--
     
      var borderWidth = strPoly.getBorderWidth();
      
      var strInt;
        
       if( strNei == "AlbanyPark")
        {
          strInt = "0";
        }
        else if( strNei == "Andersonville")
        {
          strInt = "1"; 
        }
        else if( strNei == "ArcherHeights")
        {
          strInt = "2"; 
        }
        else if( strNei == "AvondalePark")
        {
          strInt = "3"; 
        }
        else if( strNei == "Austin")
        {
          strInt = "4"; 
        }
        else if( strNei == "BackoftheYards")
        {
          strInt = "5"; 
        }
        else if( strNei == "Bridgeport")
        {
          strInt = "6"; 
        }
        else if( strNei == "BrightonPark")
        {
          strInt = "7"; 
        }
        else if( strNei == "Bronzeville")
        {
          strInt = "8"; 
        }     
        else if( strNei == "Bucktown")
        {
          strInt = "9"; 
        }
        else if( strNei == "Cragin")
        {
          strInt = "10";
        }
         else if( strNei == "Canaryville")
        {
          strInt = "11";  
        }
         else if( strNei == "ChicagoLawn")
        {
          strInt = "12";  
        }
         else if( strNei == "Chinatown")
        {
          strInt = "13";  
        }
         else if( strNei == "Clearing")
        {
          strInt = "14";  
        }
        else if( strNei == "DePaul")
        {
          strInt = "15";  
        }
        else if( strNei == "EastRogersPark")
        {
          strInt = "16"; 
        }
        else if( strNei == "EastVillage")
        {
          strInt = "17"; 
        }
        else if( strNei == "Edgebrook")
        {
          strInt = "18"; 
        }
        else if( strNei == "Edgewater")
        {
          strInt = "19"; 
        }
        else if( strNei == "EdisonPark")
        {
          strInt = "20"; 
        }
        else if( strNei == "Englewood")
        {
          strInt = "21"; 
        }
        else if( strNei == "FullerPark")
        {
          strInt = "22"; 
        }
        else if( strNei == "GagePark")
        {
          strInt = "23"; 
        }
        else if( strNei == "GarfieldPark")
        {
          strInt = "24"; 
        }
        else if( strNei == "GarfieldRidge")
        {
          strInt = "25"; 
        } 
        else if( strNei == "GoldCoast")
        {
          strInt = "26";
        }
        else if( strNei == "GrandBoulevard")
        {
          strInt = "27"; 
        }
        else if( strNei == "GrandCrossing")
        {
          strInt = "28"; 
        }
        else if( strNei == "Hermosa")
        {
          strInt = "29"; 
        }
        else if( strNei == "HumboldtPark")
        {
          strInt = "30"; 
        }
        else if( strNei == "HydePark")
        {
          strInt = "31"; 
        }
        else if( strNei == "IrvingPark")
        {
          strInt = "32"; 
        }
        else if( strNei == "JeffersonPark")
        {
          strInt = "33"; 
        }
        else if( strNei == "Kenwood")
        {
          strInt = "34"; 
        }
        else if( strNei == "Lakeview")
        {
          strInt = "35"; 
        }
        else if( strNei == "Lawndale")
        {
          strInt = "36"; 
        }
         else if( strNei == "LincolnSquare")
        {
          strInt = "37"; 
        }
        else if( strNei == "LincolnPark")
        {
          strInt = "38"; 
        }
         else if( strNei == "LoganSquare")
        {
          strInt = "39"; 
        }
         else if( strNei == "Loop")
        {
          strInt = "40"; 
        }
        else if( strNei == "Marynook")
        {
          strInt = "41"; 
        }
        else if( strNei == "McKinleyPark")
        {
          strInt = "42"; 
        }
        else if( strNei == "MedicalVillage")
        {
          strInt = "43"; 
        }  
         else if( strNei == "NorthCenter")
        {
          strInt = "44";  
        }
         else if( strNei == "NorthPark")
        {
          strInt = "45"; 
        }
          else if( strNei == "NorwoodPark")
        {
          strInt = "46"; 
        }
        else if( strNei == "Oakland")
        {
          strInt = "47"; 
        }
          else if( strNei == "OldTown")
        {
          strInt = "48"; 
        }
        else if( strNei == "ParkManor")
        {
          strInt = "49"; 
        }
          else if( strNei == "Peterson")
        {
          strInt = "50"; 
        }
        else if( strNei == "Pilsen")
        {
          strInt = "51";
        }       
          else if( strNei == "PortagePark")
        {
          strInt = "52"; 
        }
          else if( strNei == "Ravenswood")
        {
          strInt = "53"; 
        }
          else if( strNei == "RiverNorth")
        {
          strInt = "54"; 
        }
          else if( strNei == "RiverWest")
        {
          strInt = "55"; 
        }
          else if( strNei == "RoscoeVillage")
        {
          strInt = "56"; 
        }
          else if( strNei == "Sauganash")
        {
          strInt = "57"; 
        }
        else if( strNei == "SouthChicago")
        {
          strInt = "58"; 
        }
        else if( strNei == "SouthLoop")
        {
          strInt = "59"; 
        }
        else if( strNei == "SouthShore")
        {
          strInt = "60"; 
        }
        else if( strNei == "StoneIslandPark")
        {
          strInt = "61"; 
        }
          else if( strNei == "UkrainianVillage")
        {
          strInt = "62";   
        }
          else if( strNei == "Uptown")
        {
          strInt = "63";   
        }
        else if( strNei == "TriTaylor")
        {
          strInt = "64"; 
        }
        else if( strNei == "WashingtonPark")
        {
          strInt = "65"; 
        }
        else if( strNei == "WestElsdon")
        {
          strInt = "66"; 
        }
        else if( strNei == "WestLawn")
        {
          strInt = "67"; 
        }
          else if( strNei == "WestLoop")
        {
          strInt = "68";    
        }
          else if( strNei == "WestRogersPark")
        {
          strInt = "69";    
        }
          else if( strNei == "WestTown")
        {
          strInt = "70";   
        }
          else if( strNei == "WickerPark")
        {
          strInt = "71";       
        }
        else if( strNei == "Woodlawn")
        {
          strInt = "72";
        }
          else if( strNei == "Wrigleyville")
        {
          strInt = "73";
        }
       

      if(borderWidth == 0)
       {
         strPoly.setBorderWidth(2); 
         strPoly.setColor("#005500");
         document.getElementById('cblNeighborhoods_'+ strInt).checked=true;
        }      
      else       
         {            
         strPoly.setBorderWidth(0);  
         strPoly.setColor("#666666");    
         document.getElementById('cblNeighborhoods_'+ strInt).checked=false; 
        }
         
      setCookie("cookieScroll", parent.document.body.scrollTop , expdate ); 
      setCookie("cookieCenter", myMap.getCenter() , expdate );
      setCookie("cookieZoom" , myMap.getZoomLevel() , expdate );
      
   }
   
  //----------------------------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';
  
  }
  
//-----------------------------fn_show_name-----------------------------------

 function fn_show_name(obj,POI)
  {
 
   //fn_update_ar();
    
    obj.setFillColorAlpha(.36);
    
    var borderWidth = obj.getBorderWidth();
    
    if(borderWidth == 0)
     {
      POI.setValue('visible',true);
     } 

  }
  
//-----------------------------fn_color_over----------------------------------

 function fn_color_over(obj)
  {
  
       var borderWidth = obj.getBorderWidth();
       
          if(borderWidth == 0)
           {
             obj.setFillColorAlpha(.36);
           }
     
  }

//-----------------------------fn_color_out----------------------------------

 function fn_color_out(obj)
  {
  
        var borderWidth = obj.getBorderWidth();
       
          if(borderWidth == 0)
           {
             obj.setFillColorAlpha(.18);
           }
  
  }  
  

//-----------------------------fn_update_ar()--------------------------------

function fn_update_ar()
 {
 
    if (getCookie("myPOIEast_Rogers_Park") != "yes")
     {
        myPOIEast_Rogers_Park.setValue('visible',false);  
     }
    polyEast_Rogers_Park.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIWest_Rogers_Park") != "yes")
     {
       myPOIWest_Rogers_Park.setValue('visible',false);  
     }
    polyWest_Rogers_Park.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIEdgewater") != "yes")
     {
         myPOIEdgewater.setValue('visible',false); 
     }
    polyEdgewater.setFillColorAlpha( .18 );
    
     if (getCookie("myPOIAndersonville") != "yes")
     {
         myPOIAndersonville.setValue('visible',false);
     }
    polyAndersonville.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIUptown") != "yes")
     {
         myPOIUptown.setValue('visible',false);
     }
    polyUptown.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIRavenswood") != "yes")
     {
        myPOIRavenswood.setValue('visible',false);
     }
    polyRavenswood.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIPeterson") != "yes")
     {
        myPOIPeterson.setValue('visible',false);
     }
    polyPeterson.setFillColorAlpha( .18 );
    
    if (getCookie("myPOILincolnSquare") != "yes")
     {
         myPOILincolnSquare.setValue('visible',false);
     }
    polyLincolnSquare.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIWrigleyville") != "yes")
     {
        myPOIWrigleyville.setValue('visible',false);
     }
    polyWrigleyville.setFillColorAlpha( .18 );
    
    if (getCookie("myPOINorthCenter") != "yes")
     {
         myPOINorthCenter.setValue('visible',false);
     }
    polyNorthCenter.setFillColorAlpha( .18 );
    
    if (getCookie("myPOINorthPark") != "yes")
     {
        myPOINorthPark.setValue('visible',false);
     }
    polyNorthPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOISauganash") != "yes")
     {
       myPOISauganash.setValue('visible',false);
     }
    polySauganash.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIEdgebrook") != "yes")
     {
       myPOIEdgebrook.setValue('visible',false);
     }
    polyEdgebrook.setFillColorAlpha( .18 );
    
     if (getCookie("myPOIJeffersonPark") != "yes")
     {
        myPOIJeffersonPark.setValue('visible',false);
     }
    polyJeffersonPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOINorwoodPark") != "yes")
     {
       myPOINorwoodPark.setValue('visible',false);
     }
    polyNorwoodPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIEdisonPark") != "yes")
     {
       myPOIEdisonPark.setValue('visible',false);
     }
    polyEdisonPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIPortagePark") != "yes")
     {
      myPOIPortagePark.setValue('visible',false);
     } 
    polyPortagePark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIAlbanyPark") != "yes")
     {
       myPOIAlbanyPark.setValue('visible',false);
     } 
    polyAlbanyPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIIrvingPark") != "yes")
     {
        myPOIIrvingPark.setValue('visible',false);
     } 
    polyIrvingPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIAvondalePark") != "yes")
     {
       myPOIAvondalePark.setValue('visible',false);
     } 
    polyAvondalePark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIRoscoeVillage") != "yes")
     {
        myPOIRoscoeVillage.setValue('visible',false);
     } 
    polyRoscoeVillage.setFillColorAlpha( .18 );
    
    if (getCookie("myPOILakeview") != "yes")
     {
         myPOILakeview.setValue('visible',false);
     } 
    polyLakeview.setFillColorAlpha( .18 );
   
   if (getCookie("myPOILincolnPark") != "yes")
     {
          myPOILincolnPark.setValue('visible',false);
     } 
    polyLincolnPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIDePaul") != "yes")
     {
        myPOIDePaul.setValue('visible',false);
     } 
    polyDePaul.setFillColorAlpha( .18 );
   
    if (getCookie("myPOIWickerPark") != "yes")
     {
        myPOIWickerPark.setValue('visible',false);
     } 
    polyWickerPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIBucktown") != "yes")
     {
        myPOIBucktown.setValue('visible',false);
     } 
    polyBucktown.setFillColorAlpha( .18 );
    
    if (getCookie("myPOILoganSquare") != "yes")
     {
        myPOILoganSquare.setValue('visible',false);
     } 
    polyLoganSquare.setFillColorAlpha( .18 );       
    
    if (getCookie("myPOIHermosa") != "yes")
     {
        myPOIHermosa.setValue('visible',false);
     } 
    polyHermosa.setFillColorAlpha( .18 );
    
    if (getCookie("myPOICragin") != "yes")
     {
       myPOICragin.setValue('visible',false);;
     } 
    polyCragin.setFillColorAlpha( .18 ); 
    
    if (getCookie("myPOIAustin") != "yes")
     {
        myPOIAustin.setValue('visible',false);
     }
    polyAustin.setFillColorAlpha( .18 ); 
    
    if (getCookie("myPOIHumboldtPark") != "yes")
     {
        myPOIHumboldtPark.setValue('visible',false);
     }
    polyHumboldtPark.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIUkrainianVillage") != "yes")
     {
       myPOIUkrainianVillage.setValue('visible',false);
     } 
    polyUkrainianVillage.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIRiverWest") != "yes")
     {
        myPOIRiverWest.setValue('visible',false);
     }  
    polyRiverWest.setFillColorAlpha( .18 );
    
    if (getCookie("myPOIOldTown") != "yes")
     {
       myPOIOldTown.setValue('visible',false);
     }  
    polyOldTown.setFillColorAlpha( .18 );
    
     if (getCookie("myPOIGoldCoast") != "yes")
     {
        myPOIGoldCoast.setValue('visible',false);
     }  
    polyGoldCoast.setFillColorAlpha( .18 ); 

     if (getCookie("myPOIRiverNorth") != "yes")
     {
         myPOIRiverNorth.setValue('visible',false);
     }  
    polyRiverNorth.setFillColorAlpha( .18 );  
    
    if (getCookie("myPOILoop") != "yes")
     {
        myPOILoop.setValue('visible',false);
     }  
    polyLoop.setFillColorAlpha( .18 );  
    
    if (getCookie("myPOIWestLoop") != "yes")
     {
        myPOIWestLoop.setValue('visible',false);
     }  
    polyWestLoop.setFillColorAlpha( .18 );  
    
    if (getCookie("myPOIWestTown") != "yes")
     {
        myPOIWestTown.setValue('visible',false);
     }  
    polyWestTown.setFillColorAlpha( .18 ); 
    
    if (getCookie("myPOIEastVillage") != "yes")
     {
        myPOIEastVillage.setValue('visible',false);
     } 
    polyEastVillage.setFillColorAlpha( .18 );
    
    if( getCookie("myPOIGarfieldPark") != "yes") 
     {
        myPOIGarfieldPark.setValue('visible',false);
     }
    polyGarfieldPark.setFillColorAlpha( .18 );

    
 }
 
 
//--------------------------------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_update_map------------------------------------
 
 function fn_update_map( obj )
  {
  
   var strPoly = obj.getKey();
  
    if( obj.getBorderWidth() == 0)
     {
    
     if( strPoly == "EastRogersPark" )
       {
        setCookie("myPOIEast_Rogers_Park", "yes", expdate );
        setCookie("polyEast_Rogers_Park", "yes", expdate ); 
        myPOIEast_Rogers_Park.setValue('visible',true);  
      }
      else if( strPoly == "WestRogersPark" )
       {
        setCookie("myPOIWest_Rogers_Park", "yes", expdate );
        setCookie("polyWest_Rogers_Park", "yes", expdate ); 
        myPOIWest_Rogers_Park.setValue('visible',true);  
      }
       else if( strPoly == "Edgewater" )
       {
        setCookie("myPOIEdgewater", "yes", expdate );
        setCookie("polyEdgewater", "yes", expdate ); 
        myPOIEdgewater.setValue('visible',true);  
      }
       else if( strPoly == "Andersonville" )
       {
        setCookie("myPOIAndersonville", "yes", expdate );
        setCookie("polyAndersonville", "yes", expdate ); 
        myPOIAndersonville.setValue('visible',true);  
      }
      
     obj.setBorderWidth(2); 
     obj.setFillColorAlpha( .36 );
     obj.setColor("#005500");
     
   }
   else
   {
     
    if( strPoly == "EastRogersPark")
      {
        setCookie("myPOIEast_Rogers_Park", "no", expdate );
        setCookie("polyEast_Rogers_Park", "no", expdate );
        
        if(myMap.getZoomLevel() < 9)
         {
           myPOIEast_Rogers_Park.setValue('visible',false);  
         }
      }
    else if( strPoly == "WestRogersPark")
      {
        setCookie("myPOIWest_Rogers_Park", "no", expdate );
        setCookie("polyWest_Rogers_Park", "no", expdate );
        
        if(myMap.getZoomLevel() < 9)
         {
          myPOIWest_Rogers_Park.setValue('visible',false);  
         }
      }
       else if( strPoly == "Edgewater")
      {
        setCookie("myPOIEdgewater", "no", expdate );
        setCookie("polyEdgewater", "no", expdate );
        
        if(myMap.getZoomLevel() < 9)
         {
          myPOIEdgewater.setValue('visible',false);  
         }
      }
       else if( strPoly == "Andersonville")
      {
        setCookie("myPOIAndersonville", "no", expdate );
        setCookie("polyAndersonville", "no", expdate );
        
        if(myMap.getZoomLevel() < 9)
         {
          myPOIAndersonville.setValue('visible',false);  
         }
      }
     
     obj.setBorderWidth(0); 
     obj.setFillColorAlpha( .18 );
     obj.setColor("#999999");
     
    }
      
  }  
  
  
  //----fn_toggle_options()---------------------------------

function fn_toggle_options( obj )
 {
 
    if (obj.style.display == "none") 
      {
        obj.style.display = "";
        divShow.style.display = "none";
        divHide.style.display = "";
        
      }
      else
      {
        obj.style.display = "none";
        divShow.style.display = "";
        divHide.style.display = "none";
    
      }
      
 } 
   
   

 
 


   
   
     
   
 
   
                          
                    
       
        
        
	
 


