markerArray[POI_NUM] = [];
markerDataArray[POI_NUM] = [];
markerEnabledArray[POI_NUM] = [];

clickable[POI_NUM] = true;

/*---------------------------------------------------------------------------------*/
/*                      Chicago Office                                             */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(41.884682,-87.624899);
    marker = new GMarker(point, {icon:poiIcon, title:"Chicago Office"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Chicago Office",
		id: "chicago_office",
		abrv: "fdn",
		html: "<div class='infoBox'><h2>Chicago Office</h2><img src='/images/thumbs/chicagoOfficeThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/chicago_office.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);


/*---------------------------------------------------------------------------------*/
/*                      Ewing Manor                                                */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.49381660497959, -88.96571338176727);
    marker = new GMarker(point, {icon:poiIcon, title:"Ewing Manor"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Ewing Manor (EWI)",
		id: "ewingManor",
		abrv: "ewi",
		html: "<div class='infoBox'><h2>Ewing Manor (EWI)</h2><img src='/images/thumbs/ewingManorThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/ewing_cultural_center.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);
	
/*---------------------------------------------------------------------------------*/
/*                      In Exchange                                                */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.508072982577445, -88.98948848247528);
    marker = new GMarker(point, {icon:poiIcon,title:"In Exchange"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "In Exchange (INX)",
		id: "in_exchange_inx",
		abrv: "inx",
		html: "<div class='infoBox'><h2>In Exchange (INX)</h2><img src='/images/thumbs/inExchangeThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/in_exchange_inx.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);


/*---------------------------------------------------------------------------------*/
/*                      The Quad marker                                            */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.50839111609762, -88.99129629135132);
    marker = new GMarker(point, {icon:poiIcon, title:"The Quad"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Quad",
		id: "quad",
		abrv: "quad",
		html: "<div class='infoBox'><h2>Quad</h2><img src='/images/thumbs/quadThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/quad_qd.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);


/*---------------------------------------------------------------------------------*/
/*                      The Planetarium                                            */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.510177530142165, -88.9901053905487);
    marker = new GMarker(point, {icon:poiIcon, title:"The Planetarium"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Planetarium",
		id: "planetarium",
		abrv: "pla",
		html: "<div class='infoBox'><h2>Planetarium</h2><img src='/images/thumbs/planetariumThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/planetarium.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);

/*---------------------------------------------------------------------------------*/
/*                      Eyestone School Museum                                     */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.5105731450811, -89.00126874446869);
    marker = new GMarker(point, {icon:poiIcon, title:"Eyestone School Museum"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Eyestone School Museum (ES)",
		id: "eyestone_school_museum_es",
		abrv: "es",
		html: "<div class='infoBox'><h2>Eyestone School Museum (ES)</h2><img src='/images/thumbs/eyestoneThumb.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/eyestone_school_museum_es.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);

/*---------------------------------------------------------------------------------*/
/*                 Horticulture Center											   */
/*---------------------------------------------------------------------------------*/
    point = new GLatLng(40.53181872431075, -89.00324285030365);
    marker = new GMarker(point, {icon:poiIcon, title:"Horticulture Center"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Horticulture Center",
		id: "horticulture_center",
		abrv: "hc",
		html: "<div class='infoBox'><h2>Horticulture Center</h2><img src='/images/thumbs/horticulture_center.jpg'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/horticulture_center.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML);
	markerEnabledArray[POI_NUM].push(0);

	//Alumni Center
	point = new GLatLng(40.52500537662988, -88.99678945541382);
    marker = new GMarker(point, {icon:poiIcon, title:"Alumni Center"});
	markerArray[POI_NUM].push(marker);
	infoHTML = {
		name: "Alumni Center (ALUM)",
		id: "alumni_center_poi",
		abrv: "ac_poi",
		html: "<div class='infoBox'><h2>Alumni Center (ALUM)</h2><img src='/images/thumbs/alumni_center.jpg' align='left'><p>Point of Interest<br><a href=javascript:showMoreInformation('/locations/alumni_center.shtml')>More Information</a></p></div>"
	}
	markerDataArray[POI_NUM].push(infoHTML); 
	markerEnabledArray[POI_NUM].push(0);


function poiCheck(chkBox, link)
{
	layersChecked[POI_NUM] = true;

	var num = getIDnum(chkBox);

	if ( markerEnabledArray[POI_NUM][num]==1)
	{
		markerEnabledArray[POI_NUM][num] = 1;
		enableMarker(POI_NUM, num);

		if (!printMap)
			locationClick(POI_NUM, num, markerDataArray[POI_NUM][num].html);
	}
	else
	{
		markerEnabledArray[POI_NUM][num] = 0;
		disableMarker(POI_NUM, num);
	}

	if (!printMap)
		allNoneCheck(markerArray[POI_NUM].length, POI_NUM, 'chkAllPOI', 'chkPOI');

}

function poi()
{

	if(layersChecked[POI_NUM] == true)
	{
		if (!printMap && !mapLoad && outsideBoundsCenter())
				map.panTo(layerCenterArray[POI_NUM]);

		for(i = 0; i < markerArray[POI_NUM].length; i++)
		{
			markerEnabledArray[POI_NUM][i] = 3;
			enableMarker(POI_NUM, i);
		}
	}
	else
	{
		for(i = 0; i < markerArray[POI_NUM].length; i++)
		{
			markerEnabledArray[POI_NUM][i] = 0;
			disableMarker(POI_NUM, i);
		}
	}

	if (!printMap)
		allCheckUncheck('chkAllPOI', 'chkPOI', markerArray[POI_NUM].length);
}
