// JavaScript Document
function showTooltip(about) {
      	tooltip.innerHTML = about.tooltip;
	var point=map.getCurrentMapType().getProjection().fromLatLngToPixel(map.getBounds().getSouthWest(),map.getZoom());
	var offset=map.getCurrentMapType().getProjection().fromLatLngToPixel(about.getPoint(),map.getZoom());
	var anchor=about.getIcon().iconAnchor;
	var width=about.getIcon().iconSize.width;
	var pos = new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(offset.x - point.x - anchor.x + width - 150,- offset.y + point.y +anchor.y-180)); 
	pos.apply(tooltip);
	tooltip.style.visibility="visible";
      }
function createMarker(point, icon, mo, dy, yr, watertemp, behavior, marks, comments, landfall) {
      var marker = new GMarker(point, icon);
	  var html='';
	  if ((mo != '') && (dy !='') && (yr !='')) {
	  html= html + mo + '/' + dy + '/' + yr + ' &nbsp;';
	  }
	  if (landfall != '') {
	  html= html + ' near ' + landfall + ' &nbsp;';
	  }
	  if((watertemp !='') && (watertemp !='0')) {
	 html= html + ' &nbsp; water: ' + watertemp + ' C  <br />';
	  }
	  if(marks !='') {
	  html= html + ' &nbsp;  marks: ' + marks + '<br />';
	  }
	  if(comments !='') {
	  html= html + comments;
	  }
	  html=html.replace(/\\/g, "");
      GEvent.addListener(marker, 'click', function() {
        marker.openInfoWindowHtml(html);
      });
      return marker;
    }