rem: icon = 	var a = BitMap.MapData[this.index].IconStyles[i].icon; 
add: icon = BitMap.MapData[this.index].IconStyles[i].icon; 
context: BitMap.Map.prototype.defineGMarker = function(n, i){	var a = this.markers;  var point = new GPoint(parseFloat(a[n].lon), parseFloat(a[n].lat));	var icon = null;	if (i != null){		icon = 	var a = BitMap.MapData[this.index].IconStyles[i].icon;	}  a[n].marker = new GMarker(point, icon);  a[n].marker.style_id = 0;	var imgLink ='';	if (a[n].marker_type == 1){		var urlSrc = a[n].photo_url;		var pos = urlSrc.lastIndexOf('.');		var str_1 = urlSrc.substring(0, pos);		var str_2 = urlSrc.substring(pos, urlSrc.length); 		var medUrl = str_1 + "_medium" + str_2;		var imgLink = "<p><a onClick=\"javascript: window.open('"+urlSrc+"','TodoADDROOTHERE')\"><img src='"+medUrl+"'></a></p>"	}  a[n].marker.my_html = "<div style='white-space: nowrap;'><h1 class='markertitle'>"+a[n].title+"</h1>" + imgLink + "<p>"+a[n].parsed_data+"</p></div>";  this.map.addOverlay(a[n].marker);  //add the marker label if it exists  if (typeof(a[n].label_data) != 'undefined'){  	var topElement = a[n].marker.iconImage;    if (a[n].marker.transparentIcon) {topElement = a[n].marker.transparentIcon;}    if (a[n].marker.imageMap) {topElement = a[n].marker.imageMap;}    topElement.setAttribute( "title" , a[n].label_data );  }}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/0d6acc91f4b0cb06b2f5873cd7231330ed24388e/BitMap.js/buggy/templates/BitMap.js