function createMarker2(point,place,desc){
	        
	        //var marker = new GMarker(point, icon); 		
	        var marker = new GMarker(point); 		
	        var html = '<p><h1>'+place+'</h1></p><p>'+desc+'</p>'; //put here the contents of the HtmlInfoWindow
			if(browser.ie){
				html+="<br />";
			}		
	        GEvent.addListener(marker, 'click', function() {		
		        marker.openInfoWindowHtml(html,{maxWidth:500});
		        map.setCenter(marker.getPoint());
	        });		
	        return marker;
        }
        function setMapObject(path, newString, newString_array, index, returnDescription) {
            // TODO: set mapObject and return description
            var description;
            if (path === kmlPath+'/Bus_Routes.xml') {
                //<b>Route Number: </b>13<br /><b>Route Name: </b>Main Street/North Avenue<br /><b>Direction: </b>Outbound<br /><b>View Schedule: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Main-Street-North-Avenue.aspx
                mapObject[path]['routeNumber'][index] = trim(newString_array[0]);
                mapObject[path]['routeName'][index] = newString_array[1];
                mapObject[path]['direction'][index] = trim(newString_array[2]);
                mapObject[path]['viewSchedule'][index] = newString_array[3];
            } else if (path === kmlPath+'/Time_Points.xml') {
                //<b>Route Number: </b>1<br /><b>Route Name: </b>Lawrence-Methuen-Haverhill<br /><b>Time Point Number: </b>1<br /><b>Time Point Name: </b>Bus Starts at Buckley Transportation Center<br /><b>View Schedule Link: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Lawrence-Methuen-Haverhill.aspx
                mapObject[path]['routeNumber'][index] = trim(newString_array[0]);
                mapObject[path]['routeName'][index] = newString_array[1];
                mapObject[path]['timePointNumber'][index] = newString_array[2];
                mapObject[path]['timePointName'][index] = newString_array[3];
                mapObject[path]['viewScheduleLink'][index] = newString_array[4];
            } else if (path === kmlPath+'/No_Stop_Zone.xml') {
                //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Outbound
                mapObject[path]['routeNumber'][index] = trim(newString_array[0]);
                mapObject[path]['routeName'][index] = newString_array[1];
                mapObject[path]['direction'][index] = trim(newString_array[2]);
            } else if (path === kmlPath+'/Snow_Route.xml') {
                //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Inbound
                mapObject[path]['routeNumber'][index] = trim(newString_array[0]);
                mapObject[path]['routeName'][index] = newString_array[1];
                mapObject[path]['direction'][index] = trim(newString_array[2]);
            }
            if (returnDescription) {
                var url_match = /((http|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+\.[^#?\s]+)(#[\w\-]+)?/;
                
                var link = newString.match(url_match);
                if (link) {
                    link = [];
                    link[0] = trim(newString); 
                }
                if (path === kmlPath+'/Bus_Routes.xml') {
                    //<b>Route Number: </b>13<br /><b>Route Name: </b>Main Street/North Avenue<br /><b>Direction: </b>Outbound<br /><b>View Schedule: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Main-Street-North-Avenue.aspx
                    description = '<b>Route Number: </b><span  class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction: </b>' + newString_array[2] + '<br />';
                    if (link) {
                        description += '<b>View Schedule: </b><a class="redFont" href="' + link[0] + '" target="_blank">Link</a>';
                        //description += '<b>View Schedule: </b><a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" target="_blank">Link</a>';
						if(browser.ie){
							description+="<br />";
						}	
                    }
                } else if (path === kmlPath+'/Time_Points.xml') {
                    //<b>Route Number: </b>1<br /><b>Route Name: </b>Lawrence-Methuen-Haverhill<br /><b>Time Point Number: </b>1<br /><b>Time Point Name: </b>Bus Starts at Buckley Transportation Center<br /><b>View Schedule Link: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Lawrence-Methuen-Haverhill.aspx
                description = '<b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Time Point Number: </b>' + newString_array[2] + '<br /><b>Time Point Name: </b>' + newString_array[3] + '<br />';
                    if (link) {
                        description += '<b>View Schedule: </b><a class="redFont" href="' + link[0] + '" target="_blank">Link</a>';
                        //description += '<b>View Schedule: </b><a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" target="_blank">Link</a>';
						if(browser.ie){
							description+="<br />";
						}
                    }
                } else if (path === kmlPath+'/No_Stop_Zone.xml') {
                    //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Outbound
                description = '<b class="blueFont">No Stop Zone</b><br/><b>Route Number: </b><span  class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction:</b> ' + newString_array[2] + '<br />';
                    if (link) {
                        description += '<a class="redFont" href="' + link[0] + '" targer"_blank">Link</a>';
                        //description += '<a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" targer"_blank">Link</a>';
						if(browser.ie){
							description+="<br />";
						}						
                    }
                } else if (path === kmlPath+'/Snow_Route.xml') {
                    //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Inbound
                description = '<b class="blueFont">Snow Route</b><br/><b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction: </b>' + newString_array[2] + '<br />';
                    if (link) {
                        description += '<a class="redFont" href="' + link[0] + '" targer"_blank">Link</a>';
                        //description += '<a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" targer"_blank">Link</a>';
						if(browser.ie){
							description+="<br />";
						}						
                    }
                }
                return description;
            }
        }
        function parseXml(path, map, color, routeThickness, opacity, markers){
           var i, j;
           var request = GXmlHttp.create();
			// define the path
			//KMLparser(kmlPath+'/Bus_Routes.xml',map, "#f90404", 4, 0.8, false);
			//KMLparser(kmlPath+'/TimePoints.xml',map, "#FF0000", 4, 1.0, false);
			//KMLparser(kmlPath+'/No_Stop_Zones.xml',map, "#FFB273", 4, 1.0, false);
			//KMLparser(kmlPath+'/Snow_Routes.xml',map, "#BFFFFF", 4, 1.0, false);
			if(path.match('Bus_Routes')){
				path = kmlPath+'/Bus_Routes.xml';
			}else if(path.match('Time_Points')){
				path = kmlPath+'/Time_Points.xml';
			}else if(path.match('No_Stop_Zone')){
				path = kmlPath+'/No_Stop_Zone.xml';
			}else if(path.match('Snow_Route')){
				path = kmlPath+'/Snow_Route.xml';
			}
           request.open('GET', path, true);
           request.onreadystatechange = function() {
               if (request.readyState == 4) {
                   data = request.responseXML;
                   root = XMLObjectifier.xmlToJSON(request.responseXML); //Converts xml dom object to JSON

                   mapObject[path] = [];
                   mapObject[path]['marker'] = [];
                   mapObject[path]['polyline'] = [];
                   mapObject[path]['descriptionContent'] = [];
                   mapObject[path]['routeNumber'] = [];
                   mapObject[path]['routeName'] = [];
                   mapObject[path]['direction'] = [];
                   mapObject[path]['viewSchedule'] = [];
                   mapObject[path]['timePointNumber'] = [];
                   mapObject[path]['timePointName'] = [];
                   mapObject[path]['viewScheduleLink'] = [];

                   // initialize Event Listeners
                   eventListener[path] = [];

                   var descriptionContent = '';
                   var thisDescription = '';
                   var newString = '';
                   var newString_array;
                   var point, name, desc, url_match;
                   var link;
                   mapObject[path]['placemarks'] = root.Document[0].Folder[0].Placemark; //data.documentElement.getElementsByTagName("Placemark");
                   placemarks = mapObject[path]['placemarks'];

                   for (i = 0; i < placemarks.length; i++) {

                       //var coordinates;
                       mapObject[path]['coordinates'] = [];
                       mapObject[path]['coordinates'][i] = (placemarks[i].LineString) ? placemarks[i].LineString[0].coordinates[0].Text : placemarks[i].Point[0].coordinates[0].Text; //placemarks[i].getElementsByTagName("coordinates")[0].childNodes[0].nodeValue;
                       coordinates = mapObject[path]['coordinates'][i]; //placemarks[i].getElementsByTagName("coordinates")[0].childNodes[0].nodeValue;



                       coordinatesValues = coordinates.split("\n");

                       for (j = 0; j < coordinatesValues.length; j++) {
                           coordinatesValues[j] = coordinatesValues[j].split(",");
                       }

                       mapObject[path].coordinates[i] = coordinatesValues;
                       coordinates = mapObject[path].coordinates[i];

                       if (coordinates.length == 1) {
                           point = new google.maps.LatLng(parseFloat(coordinates[0][1]), parseFloat(coordinates[0][0]));
                           name = (placemarks[i].name[0]) ? placemarks[i].name[0].Text : ''; //(placemarks[i].getElementsByTagName("name")[0].childNodes[0]) ? placemarks[i].getElementsByTagName("name")[0].childNodes[0].nodeValue : '';
                           desc = placemarks[i].description[0].Text; //placemarks[i].getElementsByTagName("description")[0].childNodes[0].nodeValue;
                           //var thisDescription = '';
                           //<description><![CDATA[<b>Route Number:</b>  13<br /><b>Route Name:</b>  Main Street/North Avenue<br /><b>Direction:</b>  Outbound<br /><b>View Schedule Link:</b>  http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Main-Street-North-Avenue.aspx]]></description>
                           newString = desc;
                           newString = str_replace('<b>Route Number:</b> ', '', newString); //desc.replace('<b>Route Number:</b>', '');
                           newString = str_replace('<br /><b>Route Name:</b>', ' |', newString); //newString.replace('<br /><b>Route Name:</b>', ' |');
                           newString = str_replace('<br /><b>Direction:</b>', ' |', newString); //newString.replace('<br /><b>Direction:</b>', ' |');
                           newString = str_replace('<br /><b>View Schedule:</b>', ' |', newString); //newString.replace('<br /><b>View Schedule:</b>', ' |');

                           // TimePoint string
                           //<description><![CDATA[<b>Route Number:</b>  1<br /><b>Route Name:</b>  Lawrence-Methuen-Haverhill, Haverhill-Methuen-Lawrence<br /><b>Time Point Number:</b>  1, 13<br /><b>Time Point Name:</b>  Bus Starts at Buckley Transportation Center<br /><b>View Schedule Link:</b>  http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Lawrence-Methuen-Haverhill.aspx]]></description>

                           newString = str_replace('<br /><b>Time Point Number:</b>', ' |', newString); //newString.replace('<br /><b>Time Point Number:</b>', ' |');
                           newString = str_replace('<br /><b>Time Point Name:</b>', ' |', newString); //newString.replace('<br /><b>Time Point Name:</b>', ' |');
                           newString = str_replace('<br /><b>View Schedule Link:</b>', ' |', newString); //newString.replace('<br /><b>View Schedule Link:</b>', ' |');

                           newString_array = newString.split("|");

                           url_match = /((http|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+\.[^#?\s]+)(#[\w\-]+)?/;
                           link = newString.match(url_match);
                           if (link) {
                               link = [];
                               link[0] = trim(newString_array[newString_array.length - 1]);
                           } 
                           //link = newString.match(url_match); //newString.match(url_match);

                           setMapObject(path, newString, newString_array, i, false);

                           //var thisDescription = '';
                           if (!browser.ie) {
                               for (j = 0; j < newString_array.length; j++) {
                                   if (newString_array[j].match('http') && link[0]) {
                                       thisDescription += " <a class='redFont' href='" + link[0] + "' target='_blank' >Link</a>";
                                       descriptionContent += " <a class='redFont' href='" + link[0] + "' target='_blank' >Link</a>";
//                                       thisDescription += " <a class='redFont' href='http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules" + link[0] + "' target='_blank' >Link</a>";
//                                       descriptionContent += " <a class='redFont' href='http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules" + link[0] + "' target='_blank' >Link</a>";
                                   } else {
                                       thisDescription += "<span class=\"link\" onclick=\"showChosenRoute('" + path + "', '" + i + "');\">" + newString_array[j] + "</span> ";
                                       descriptionContent += "<span class=\"link\" onclick=\"showChosenRoute('" + path + "', '" + i + "');\">" + newString_array[j] + "</span> ";
                                   }
                               }
                               descriptionContent += "<br />";
                           }
                           if (markers) {

                               var markerDesc;
                               if (path === kmlPath+'/Bus_Routes.xml') {
                                   //<b>Route Number: </b>13<br /><b>Route Name: </b>Main Street/North Avenue<br /><b>Direction: </b>Outbound<br /><b>View Schedule: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Main-Street-North-Avenue.aspx
                                   markerDesc = '<b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction: </b>' + newString_array[2] + '<br />';
                                   if (link) {
                                       markerDesc += '<b>View Schedule: </b><a class="redFont" href="' + link[0] + '" target="_blank">Link</a>';
//                                       markerDesc += '<b>View Schedule: </b><a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" target="_blank">Link</a>';
                                   }
                               } else if (path === kmlPath+'/Time_Points.xml') {
                                   //<b>Route Number: </b>1<br /><b>Route Name: </b>Lawrence-Methuen-Haverhill<br /><b>Time Point Number: </b>1<br /><b>Time Point Name: </b>Bus Starts at Buckley Transportation Center<br /><b>View Schedule Link: </b>http://merrimack.dev.edats.com/merrimack/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Lawrence-Methuen-Haverhill.aspx
                                   markerDesc = '<b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Time Point Number: </b>' + newString_array[2] + '<br /><b>Time Point Name: </b>' + newString_array[3] + '<br />';
                                   if (link) {
                                       markerDesc += '<b>View Schedule: </b><a class="redFont" href="' + link[0] + '" target="_blank">Link</a>';
//                                       markerDesc += '<b>View Schedule: </b><a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" target="_blank">Link</a>';
                                   }
                               } else if (path === kmlPath+'/No_Stop_Zone.xml') {
                                   //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Outbound
                                   markerDesc = '<b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '</span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction: </b>';
                                   if (link) {
                                       markerDesc += '<a class="redFont" href="' + link[0] + '" targer"_blank">Link</a>';
//                                       markerDesc += '<a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" targer"_blank">Link</a>';
                                   }
                               } else if (path === kmlPath+'/Snow_Route.xml') {
                                   //<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Inbound
                                   markerDesc = '<b>Route Number: </b><span class="blueFont boldFont">' + newString_array[0] + '<span><br /><b>Route Name: </b>' + newString_array[1] + '<br /><b>Direction: </b>';
                                   if (link) {
                                       markerDesc += '<a class="redFont" href="' + link[0] + '" targer"_blank">Link</a>';
//                                       markerDesc += '<a class="redFont" href="http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules' + link[0] + '" targer"_blank">Link</a>';
                                   }
                               }



                               //var marker = createMarker2(point, name, desc);
                               var marker = createMarker2(point, '', markerDesc);
                               mapObject[path]['marker'][i] = marker;
                               //map.addOverlay(marker);
                               /*marker = null;
                               markerDesc = null;
                               point = null;
                               name = null;
                               thisDescription = null;
                               descriptionContent = null;
                               newString = null;
                               newString_array = null;*/


                           }

                           mapObject[path]['descriptionContent'][i] = (thisDescription) ? thisDescription : '';
                       } else {
                           points = new Array();
                           var thisDescription = '';
                           for (j = 0; j < coordinates.length; j++) {

                               points.push(new google.maps.LatLng(parseFloat(coordinates[j][1]), parseFloat(coordinates[j][0])));
                           }
                           var description = (function() {
                               return placemarks[i].description[0].Text; //placemarks[i].getElementsByTagName("description")[0].childNodes[0].nodeValue; 
                           })();

                           if (description.match('Outbound') && path == kmlPath+'/Bus_Routes.xml') {
                               //var polyline = new google.maps.Polyline(points, '#3cb806', routeThickness, opacity);
                               polyline = new google.maps.Polyline(points, '#3cb806', routeThickness, opacity);
                           } else {
                               //var polyline = new google.maps.Polyline(points, color, routeThickness, opacity);
                               polyline = new google.maps.Polyline(points, color, 8, opacity);
                           }

                           (function() {

                               var desc2 = (function() {

                                   //bus_route ex.:<description><![CDATA[<b>Route Number:</b>  13<br /><b>Route Name:</b>  Main Street/North Avenue<br /><b>Direction:</b>  Outbound<br /><b>View Schedule Link:</b>  http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Main-Street-North-Avenue.aspx]]></description>
                                   // snowRoute ex: <description><![CDATA[<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Inbound]]></description>
                                   // noStop zones ex: <description><![CDATA[<b>Route Number: </b>18<br /><b>Route Name: </b>Riverside<br /><b>Direction: </b>Outbound]]></description>
                                   newString = placemarks[i].description[0].Text.replace('<b>Route Number:</b>', ''); //placemarks[i].getElementsByTagName("description")[0].childNodes[0].nodeValue.replace('<b>Route Number: </b>', '');
                                   newString = newString.replace('<br /><b>Route Name:</b>', ' |');
                                   newString = newString.replace('<br /><b>Direction:</b>', ' |');
                                   newString = newString.replace('<br /><b>View Schedule:</b>', ' |');

                                   // TimePoint string
                                   //<description><![CDATA[<b>Route Number:</b>  1<br /><b>Route Name:</b>  Lawrence-Methuen-Haverhill, Haverhill-Methuen-Lawrence<br /><b>Time Point Number:</b>  1, 13<br /><b>Time Point Name:</b>  Bus Starts at Buckley Transportation Center<br /><b>View Schedule Link:</b>  http://merrimack.dev.edats.com/Our-Services/Fixed-Routes---Schedules/All-Routes-Listed/Lawrence-Methuen-Haverhill.aspx]]></description>
                                   newString = newString.replace('<br /><b>Time Point Number:</b>', ' |');
                                   newString = newString.replace('<br /><b>Time Point Name:</b>', ' |');
                                   newString = newString.replace('<br /><b>View Schedule Link:</b>', ' |');

                                   newString_array = newString.split("|");

                                   var url_match = /((http|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+\.[^#?\s]+)(#[\w\-]+)?/;
                                   var link = newString_array[newString_array.length - 1]; //newString.match(url_match);

                                   return setMapObject(path, link, newString_array, i, true);  //return setMapObject(path, newString, newString_array, i, true);
                               })();

                               google.maps.Event.addListener(polyline, "click", function(latlng) {
                                   mapObject[path]['descriptionContent'][i] = desc2;
                                   var desc = desc2;
                                   var imgHTML = desc + "<br />";
                                   map.openInfoWindowHtml(latlng, imgHTML);

                                   /*desc = null;
                                   imgHTML = null;
                                   desc2 = null;*/
                               });

                           })();
                           if (path == kmlPath+'/Bus_Routes.xml') {
                               //map.addOverlay(polyline);
                           }

                           mapObject[path]['polyline'][i] = polyline;
                           /*points = null;
                           polyline = null;	
                           description = null;	
                           newString = null;
                           newString_array = null*/
                       }

                   } // end for loop

                   if (path == kmlPath+'/Bus_Routes.xml') {
                       // TODO:
                       // 1.) get unique bus route into an array.
                       // 2.) show unique bus route in div
                       uniqueBusRoutes = [];
                       tempBusRouteArray = [];
                       var tempBusRoute;
                       var descriptionContent2 = '';

                       for (i = 0; i < mapObject[path]['routeNumber'].length; i++) {
                           tempBusRoute = mapObject[path]['routeNumber'][i];
                           if (!in_array(tempBusRoute, tempBusRouteArray)) {
                               tempBusRouteArray[tempBusRouteArray.length] = tempBusRoute;
                               uniqueBusRoutes[uniqueBusRoutes.length] = { 'index': i, 'routeNumber': tempBusRoute };
                           }
                       }
                       // TODO: Sort unique routes by routeNumber

                       for (i = 0; i < uniqueBusRoutes.length; i++) {
                           //descriptionContent2 += '<span onclick=\'showChosenRoute("' + path + '", "' + uniqueBusRoutes[i].routeNumber + '");\'>' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + ' ' + mapObject[path]['routeName'][uniqueBusRoutes[i].index] + ' ' + mapObject[path]['direction'][uniqueBusRoutes[i].index] + '</span><br />';
                           //                          if(!browser.ie){
                           descriptionContent2 += '<input id="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '_checkbox" type="checkbox" onclick=\'toggleRouteSelection(this.checked, "busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '", "' + path + '", "' + uniqueBusRoutes[i].routeNumber + '");\' /><label for="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '_checkbox"><span id="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '"><b>' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '</b> ' + mapObject[path]['routeName'][uniqueBusRoutes[i].index] + '</span><label><br />';
                           //                           }else{
                           //                                descriptionContent2 += '<span class="routeDisplaySwitch redFont" id="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '_checkbox" onclick=\'toggleRouteSelection(true, "busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '", "' + path + '", "' + uniqueBusRoutes[i].routeNumber + '");\'>Show</span><span class="seperator">|</span><span class="routeDisplaySwitch redFont" id="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '_checkbox" onclick=\'toggleRouteSelection(false, "busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '", "' + path + '", "' + uniqueBusRoutes[i].routeNumber + '");\'>Hide</span><span id="busRoute_' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '"><b>' + mapObject[path]['routeNumber'][uniqueBusRoutes[i].index] + '</b> ' + mapObject[path]['routeName'][uniqueBusRoutes[i].index] + '</span><label><br />';
                           //                          }
                       }

                       document.getElementById('parseResults').innerHTML = descriptionContent2;
                   }

               }
           }
            request.send(null);
        }