rem: if(civicNumber == 1) 
add: if(civicNumber.length == 1) 
context: function createHtmlFromHotspot(hotspot_element, icon){	var html = "<table><tr><td><img src='" + icon.image + "'></td><td>";		var name = hotspot_element.getElementsByTagName("name");	if(name.length == 1)		html += "<b>" + name[0].firstChild.nodeValue + "</b><br/>";			/* Too long ... ?!	var desc = hotspot_element.getElementsByTagName("description");	if(desc.length == 1)		html += "<i>" + desc[0].firstChild.nodeValue + "</i><br/>";*/		var civicNumber = hotspot_element.getElementsByTagName("civicNumber");	if(civicNumber == 1)		html += "<i>" + civicNumber[0].firstChild.nodeValue + ",&nbsp;</i>";				var streetAddress = hotspot_element.getElementsByTagName("streetAddress");	if(streetAddress.length == 1)		html += "<i>" + streetAddress[0].firstChild.nodeValue + ",&nbsp;</i><br/>";			var city = hotspot_element.getElementsByTagName("city");	if(city.length == 1)		html += "<i>" + city[0].firstChild.nodeValue + ",&nbsp;</i>";		var province = hotspot_element.getElementsByTagName("province");	if(province.length == 1)		html += "<i>" + province[0].firstChild.nodeValue + ",&nbsp;</i>";			var postalCode = hotspot_element.getElementsByTagName("postalCode");	if(postalCode.length == 1)		html += "<i>" + postalCode[0].firstChild.nodeValue + ",&nbsp;</i>";		var country = hotspot_element.getElementsByTagName("country");	if(country.length == 1)		html += "<i>" + country[0].firstChild.nodeValue + "</i><br/>";			var phone = hotspot_element.getElementsByTagName("contactPhoneNumber");	if(phone.length == 1)		html += "<i>" + phone[0].firstChild.nodeValue + "</i><br/>";			var transit = hotspot_element.getElementsByTagName("massTransitInfo");	if(transit.length == 1)		html += "<b>" + transit[0].firstChild.nodeValue + "</b><br/>";			var websiteUrl = hotspot_element.getElementsByTagName("webSiteUrl");	if(websiteUrl.length == 1)		html += "<a href='" + websiteUrl[0].firstChild.nodeValue + "'>URL (WWW)</a>";		html += "</td></tr></table>";		return html;}
meta: 6169	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6169/e575f7b7d205ee229497638f45df9b07057fec76/gmaps_hotspots_status_map.js/buggy/wifidog/js/gmaps_hotspots_status_map.js