var iw = new KTAInfoWindow();
var markers = new Array();

// For some reason if we don't explicitly set this all the markers
// are opaque rather than PNG's ??
var icon = null;

var m = new Array();

function mi(isrc)
{
	var i = new Image();
	i.src = isrc;
	return i;
}

m['shadow'] = mi('img/map/shadow.png');
m['marker'] = mi('img/map/marker.png');
m['blue'] = mi('img/map/markerblue.png');
m['brown'] = mi('img/map/markerbrown.png');
m['green'] = mi('img/map/markergreen.png');
m['pink'] = mi('img/map/markerpink.png');
m['orange'] = mi('img/map/markerorange.png');
m['white'] = mi('img/map/markerwhite.png');
m['yellow'] = mi('img/map/markeryellow.png');
m['red'] = mi('img/map/markerred.png');

function Establishment(id, name, postcode, lat, lng)
{
	this.ID = id;
	this.Name = name;
	this.Postcode = postcode;
	this.Latitude = lat;
	this.Longitude = lng;
}

function Place(id, name, description, lat, lng, colour)
{
	this.ID = id;
	this.Name = name;
	this.Description = description;
	this.Latitude = lat;
	this.Longitude = lng;
	this.IconColour = colour;
}