function KTAInfoWindow() 
{
	this._point = new GLatLng(54.600386, -3.136322);
}

KTAInfoWindow.prototype = new GOverlay();

KTAInfoWindow.prototype.initialize = function(map) 
{
	var div = document.createElement('div');
	div.id = 'iw';
	div.style.position = 'absolute';
	div.style.zIndex = 9999;
	
	div.onclick = function() { this.style.display = 'none'; }

	map.getPane(G_MAP_FLOAT_PANE).appendChild(div);

	this._map = map;
	this._div = div;
	
	this._div.style.display = 'none';
}

KTAInfoWindow.prototype.remove = function() 
{
	this._div.parentNode.removeChild(this._div);
}

KTAInfoWindow.prototype.copy = function() 
{
	return new KTAInfoWindow();
}

KTAInfoWindow.prototype.redraw = function(force) 
{
	if(!force) return;
	
	var p = this._map.fromLatLngToDivPixel(this._point);
	
    this._div.style.left = (p.x + 8) + "px";
    this._div.style.top = ((p.y - (this._div.offsetHeight / 2)) - 15) + "px"; 
}

KTAInfoWindow.prototype.set = function(content, point) 
{
	// Could replace this with DOM methods but this is faster
	this._point = point;
	this._div.innerHTML = '<div><div>' + content + '</div></div>';
	this._div.style.display = 'block';
	
	// Force redraw
	this.redraw(true);
}