rem: if (request.readyState == 4 && request.status == 200) { var node = document.createElement('div'); node.innerHTML = request.responseText; var divs = node.getElementsByTagName('div'); for (var i=0; i<divs.length; i++) { if (divs[i].className=='post') { geoPost.appendChild(divs[i]); break; 
add: if (request.readyState == 4) { if (request.status == 200) { var node = document.createElement('div'); node.innerHTML = request.responseText; var divs = node.getElementsByTagName('div'); for (var i=0; i<divs.length; i++) { if (divs[i].className=='post') { geoPost.appendChild(divs[i]); break; } 
context: GeoMashup.showPost = function (url) {	if (this.showing_url == url) {		return false;	}	var geoPost = document.getElementById('geoPost');	if (!geoPost) {		this.showPostHere = false;		return false;	}	this.showing_url = url;	var request = new GXmlHttp.create();	if (geoPost.firstChild) {		geoPost.removeChild(geoPost.firstChild);	}	request.open('GET',url,true);	request.onreadystatechange = function() {		if (request.readyState == 4 && request.status == 200) {			var node = document.createElement('div');			node.innerHTML = request.responseText;			var divs = node.getElementsByTagName('div');			for (var i=0; i<divs.length; i++) {				if (divs[i].className=='post') { 					geoPost.appendChild(divs[i]);					break;				}			}		}	}	request.send(null);}
meta: 6742	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6742/b30fddde902bbdcd632a599a4f167a398d023252/geo-mashup.js/clean/geo-mashup/geo-mashup.js