var ServerRoot = "http://www.square-mile.net/";
//var ServerRoot = "http://86.54.101.110/";

var ConnectionMinLengthAtZoom = new Array();
ConnectionMinLengthAtZoom[0] = 700;
ConnectionMinLengthAtZoom[1] = 600;
ConnectionMinLengthAtZoom[2] = 350;
ConnectionMinLengthAtZoom[3] = 200;
ConnectionMinLengthAtZoom[4] = 100;
ConnectionMinLengthAtZoom[5] = 40;
ConnectionMinLengthAtZoom[6] = 25;
ConnectionMinLengthAtZoom[7] = 15;
ConnectionMinLengthAtZoom[8] = 4;
ConnectionMinLengthAtZoom[9] = 2;
ConnectionMinLengthAtZoom[10] = 1;
ConnectionMinLengthAtZoom[11] = 0;
ConnectionMinLengthAtZoom[12] = 0;
ConnectionMinLengthAtZoom[13] = 0;
ConnectionMinLengthAtZoom[14] = 0;
ConnectionMinLengthAtZoom[15] = 0;
ConnectionMinLengthAtZoom[16] = 0;
ConnectionMinLengthAtZoom[17] = 0;

var SquareMileIcon = new GIcon();
SquareMileIcon.image = "/images/mapicons/square.png";
SquareMileIcon.size = new GSize(14,13);
SquareMileIcon.iconAnchor = new GPoint(7,7);
SquareMileIcon.infoWindowAnchor = new GPoint(7,7);

var SquareMileActiveIcon = new GIcon();
SquareMileActiveIcon.image = "/images/mapicons/cross.png";
SquareMileActiveIcon.size = new GSize(14,13);
SquareMileActiveIcon.iconAnchor = new GPoint(7,7);
SquareMileActiveIcon.infoWindowAnchor = new GPoint(7,7);

var VideoIcon = new GIcon();
VideoIcon.image = "/images/mapicons/Video.png";
VideoIcon.size = new GSize(14,13);
VideoIcon.iconAnchor = new GPoint(7,7);
VideoIcon.infoWindowAnchor = new GPoint(7,7);

var AudioIcon = new GIcon();
AudioIcon.image = "/images/mapicons/Audio.png";
AudioIcon.size = new GSize(14,13);
AudioIcon.iconAnchor = new GPoint(7,7);
AudioIcon.infoWindowAnchor = new GPoint(7,7);

var WrittenIcon = new GIcon();
WrittenIcon.image = "/images/mapicons/Written.png";
WrittenIcon.size = new GSize(14,13);
WrittenIcon.iconAnchor = new GPoint(7,7);
WrittenIcon.infoWindowAnchor = new GPoint(7,7);

var PhotoIcon = new GIcon();
PhotoIcon.image = "/images/mapicons/Photo.png";
PhotoIcon.size = new GSize(14,13);
PhotoIcon.iconAnchor = new GPoint(7,7);
PhotoIcon.infoWindowAnchor = new GPoint(7,7);
