';
htmltxt += '
' + this.result_.title + '';
htmltxt += this.result_.streetAddress + ", ";
htmltxt += this.result_.city + "," + this.result_.region + "
";
if(this.result_.phoneNumbers) {
for (var i=0; i < this.result_.phoneNumbers.length; i++) {
if(this.result_.phoneNumbers[i].type == "main") {
htmltxt += this.result_.phoneNumbers[i].number + "
";
}
}
}
htmltxt += '
Directions: ';
htmltxt += "From here";
htmltxt += " - To here";
htmltxt += "
";
container.innerHTML += htmltxt;
this.container_ = container;
return container;
}
function openMarkerWindow(num,elem) {
gCurrentResults[num-1].marker().openInfoWindow(gCurrentResults[num-1].InfoHtml());
highlightResult(num);
}
function highlightResult(num) {
for(var i=0;i