add: GeoMashup.log('This is the only post here, use the XML as it is'); 
context: GeoMashup.createMarker = function(point) {	var marker;	if (this.marker_icon) {		marker = new GMarker(point, this.marker_icon);	} else {		marker = new GMarker(point);	}	// Show this markers index in the info window when it is clicked	GEvent.addListener(marker, "click", function() {		// The loading window is late to show up - may replace it 		// with a message div 		marker.openInfoWindowHtml('Loading...');		GeoMashup.loading = true;	});	GEvent.addListener(marker, "infowindowopen", function() {		if (GeoMashup.loading) {			var request = new GXmlHttp.create();			// Load all posts at the marker location			for(var i=0; i<GeoMashup.locations[point].posts.length; i++) {				var post_id = GeoMashup.locations[point].posts[i];				if (!GeoMashup.locations[point].loaded[post_id]) {					// The post RSS XML has not been loaded yet, request it					var url = GeoMashup.linkDir + '/geo-query.php?post_id=' + post_id;					// Use a synchronous request to simplify multiple posts at a location					request.open('GET', url, false);					try {						request.send(null);						if (!GeoMashup.locations[point].xmlDoc) {							// This is the only post, use the XML as it is							GeoMashup.locations[point].xmlDoc = request.responseXML;						} else {							// There are multiple posts here, append this one to the others							var newItem = request.responseXML.getElementsByTagName('item')[0];							var channel = GeoMashup.locations[point].xmlDoc.getElementsByTagName('channel')[0];							channel.appendChild(newItem);						} 						GeoMashup.locations[point].loaded[post_id] = true;					} catch (e) {						alert('Request for ' + url + ' failed: ' + e);					}				} // end if not loaded			} // end location posts loop			GeoMashup.loading = false;			var html = GeoMashup.renderRss(GeoMashup.locations[point].xmlDoc);			marker.openInfoWindowHtml(html);		} 	}); // end marker infowindowopen	GEvent.addListener(marker, 'infowindowclose', function() {		var geoPost = document.getElementById('geoPost');		if (geoPost && geoPost.firstChild) {			geoPost.removeChild(geoPost.firstChild);			GeoMashup.showing_url = '';		}	});	return marker;}
meta: 6742	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6742/f084fe9ffe2221cf9c8df93a4325a4d4b918d9b4/geo-mashup.js/buggy/geo-mashup/geo-mashup.js