var listCoordsLat = new Array(100);
var listCoordsLong = new Array(100);
var coordNum = 0;
var startCapture = false;
window.onbeforeunload = function (oEvent) {
	if(!oEvent) oEvent = window.event;
	// nb MUST have some return text otherwise firefox fails!
    oEvent.returnValue = "This will move you away from your current position on the map and lose any data you are capturing";
}

