rem: var display = true; 
add: display = true; 
context: 	"attachSideMarkers": function(){		var center = this.map.getCenter();		var display = false;		var setscount = this.markersets.length;				var panel = $('gmap-sidepanel');		for (var n=0; n<setscount; n++){			var set = this.markersets[n];			//if show set			if ( set.side_panel == true ){				$('gmap-map').style.marginRight = '300px';				BitMap.show('gmap-sidepanel');				var display = true;				//get the set icon style				var iconSrc = "http://www.google.com/mapfiles/marker.png";				var iconW = "20";				var iconH = "34";								for (var i=0; i<this.iconstyles.length; i++){					if ( this.iconstyles[i].icon_id == set.icon_id ){						iconSrc = this.iconstyles[i].image;						iconW = this.iconstyles[i].icon_w;						iconH = this.iconstyles[i].icon_h;											}				}				//add set container to side				var setDiv = DIV({"id":"sideset_" + set.set_id, "class":"module box"}, 									H3({"class":"gmapsidetitle"}, set.name),									DIV({"class":"gmapsidedesc"}, 										IMG({"src":iconSrc, "width":iconW + "px", "height":iconH + "px"}), 										SPAN(null, set.description),										DIV({"id":"listset_" + set.set_id, "class":"boxcontent gmapsidelist", "clear":"both"}, null)										)								);					panel.appendChild(setDiv);			}		}		if ( display == true ){						//go through all markers			var markercount = this.markers.length;			for ( var n=0; n<markercount; n++ ){				//if show set == y and show marker == y				var Marker = this.markers[n];				if ( Marker.side_panel == true && Marker.explode == true ) {					if (Marker.marker_type == 1){						var urlSrc = Marker.photo_url;						var pos = urlSrc.lastIndexOf('.');						var str_1 = urlSrc.substring(0, pos);						var str_2 = urlSrc.substring(pos, urlSrc.length); 						var thumbUrl = str_1 + "_thumb" + str_2;						var imgLink = SPAN( null, BR(), IMG({"src":thumbUrl}) );					}else{						var imgLink = null;					}					//add marker to side list					var newLink = A({"href":"javascript: BitMap.MapData[0].Map.markers["+n+"].gmarker.openInfoWindowHtml(BitMap.MapData[0].Map.markers["+n+"].gmarker.my_html);"}, SPAN(null, Marker.title), imgLink );					var container = $('listset_' + Marker.set_id);					container.appendChild(newLink);					container.appendChild( BR() );	  				//if marker is set to init					if ( Marker.plot_on_load == true ) {						//set loaded to true					}else{						//set loaded to false					}				}			}		}		this.map.checkResize();		this.map.setCenter(center);	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/ae216922af47e395eedabbbd40672e980ab0ff50/Display.js/clean/templates/Display.js