var TEXT_NO_LOCATION_FOUND = '-';

var KEY_TAB = 9;
var KEY_ESC = 27;
var KEY_ARROW_UP = 38;
var KEY_ARROW_DOWN = 40;
var KEY_HOME = 36;
var KEY_SHIFT = 16;
var KEY_ENTER = 13;

function LocationLookup(inputObj, locationLookupDiv, isCityClosestResortMode) {

	this.noLocationFound = false;
	var thisObj = this;
	this.inputObj = inputObj;
	this.inputText = null;
	this.matchingLocations = new Array();
	this.currentSelectedIdx = -1;
	this.currentSelectedIdxMouseEvent = -1;
	this.matchingLocationsDivObj = document.getElementById(locationLookupDiv);
	this.inputObj.setAttribute("autocomplete", "off");
	this.isCityClosestResortMode = (isCityClosestResortMode);
	inputObj.onfocus = function() {
									thisObj.inputObj.select();
									this.style.fontStyle="normal";
									this.style.color="#000";
								  }

	inputObj.onblur = function() {
//		if (thisObj.isSelectionDivVisible())
//			thisObj.selectLocation();
		thisObj.resetInput();
	}

	inputObj.onkeypress = function(e) {
		var keyCode = thisObj.getKeyCode(e);
		switch(keyCode) {
			case KEY_ENTER:
				return false;
		}
	}

	inputObj.onkeydown = function(e) {
		var keyCode = thisObj.getKeyCode(e);
		switch(keyCode) {
			case KEY_TAB:
				thisObj.selectLocation();
				break;
			case KEY_ENTER:
				if (thisObj.isSelectionDivVisible()){
					thisObj.selectLocation();
//					thisObj.resetInput();
				}
				return false;
			case KEY_ESC:
				thisObj.resetInput();
				break;
			case KEY_ARROW_UP:
				if (thisObj.currentSelectedIdx > 0)
					thisObj.currentSelectedIdx--;
				else if (thisObj.currentSelectedIdx == 0 && thisObj.matchingLocations.length > 0)
					thisObj.currentSelectedIdx = thisObj.matchingLocations.length-1;
				thisObj.markSelectedLocation();
				break;
			case KEY_ARROW_DOWN:
				if (thisObj.currentSelectedIdx < (thisObj.matchingLocations.length - 1))
					thisObj.currentSelectedIdx++;
				else if (thisObj.currentSelectedIdx == (thisObj.matchingLocations.length-1))
					thisObj.currentSelectedIdx = 0;
				thisObj.markSelectedLocation();
				break;
		}
	};

	inputObj.onkeyup = function(e) {
		var keyCode = thisObj.getKeyCode(e);
		switch(keyCode) {
			case KEY_ENTER:
				return false;
			case KEY_TAB:
				return false;
			case KEY_ESC:
				return false;
			case KEY_ARROW_UP:
				return false;
			case KEY_ARROW_DOWN:
				return false;
			case KEY_HOME:
				return false;
			case KEY_SHIFT:
				return false;
			default:
				if (this.value.length > 0) {
					thisObj.inputText = this.value;
					thisObj.searchLocations();
				} else
					thisObj.resetInput();
		}
	};

	this.getKeyCode = function(ev) {
		if (ev)
			return ev.keyCode;
		if (window.event)
			return window.event.keyCode;
	};

	this.getEventSource = function(ev) {
		if (ev)
			return ev.target;

		if (window.event)
			return window.event.srcElement;
	};

	this.cancelEvent = function(ev) {
		if (ev) {
			ev.preventDefault();
			ev.stopPropagation();
		}
		if (window.event)
			window.event.returnValue = false;
	}

	this.showSelectionDiv = function() {
		this.matchingLocationsDivObj.style.display = 'block';
	};

	this.resetInput = function() {
		this.inputText = '';
		this.matchingLocationsDivObj.style.display = 'none';
		this.currentSelectedIdx = -1;
		this.currentSelectedIdxMouseEvent = -1;
	};

	this.isSelectionDivVisible = function() {
		return (this.matchingLocationsDivObj.style.display == 'block');
	};

	this.positionSelectionDiv = function() {
		var el = this.inputObj;
		var x = 0;
		var y = el.offsetHeight;

		while (el.offsetParent && el.tagName.toUpperCase() != 'BODY') {
			x += el.offsetLeft;
			y += el.offsetTop;
			// if a parent div is positioned absolute we need to substract the top and left to get the correct position
			if (el.tagName.toUpperCase() == 'DIV' && el.style.position.toUpperCase() == 'ABSOLUTE') {
				x -= parseInt(el.style.left);
				y -= parseInt(el.style.top);
			}
			el = el.offsetParent;
		}

		x += el.offsetLeft;
		y += el.offsetTop;

		this.matchingLocationsDivObj.style.left = x + 'px';
		this.matchingLocationsDivObj.style.top = y + 'px';
	};

	this.createSelectionDiv = function() {
		if (!this.matchingLocations || this.matchingLocations.length == 0) {
			this.noLocationFound = true;
			this.createNoLocationFoundDiv();
		} else {
			this.noLocationFound = false;
			var ul = document.createElement('ul');

			var divHeader = document.createElement('div');
			this.matchingLocationsDivObj.replaceChild(divHeader, this.matchingLocationsDivObj.childNodes[0]);

			for (var i=0;i < this.matchingLocations.length; i++) {
				var word = this.highlightSearchWord(this.matchingLocations[i].DISPLAY_NAME, this.inputObj.value);

				var li = document.createElement('li');
				var a = document.createElement('a');
				a.href = 'javascript:void(0)';
				a.innerHTML = word;
				li.appendChild(a);
				li.className = 'matchingLocationsListSelected';

				ul.appendChild(li);
			}

			this.matchingLocationsDivObj.replaceChild(ul,this.matchingLocationsDivObj.childNodes[1]);

			ul.onmouseover = function(ev) {
				//Walk up from target until you find the LI.
				var target = thisObj.getEventSource(ev);
				while (target.parentNode && target.tagName.toUpperCase() != 'LI')
				{
					target = target.parentNode;
				}

				var lis = thisObj.matchingLocationsDivObj.getElementsByTagName('LI');

				// NOTE! looping "i in [OBJECT_ARRAY]" does not work in Safari, changed for release 4.8
				//for (i in lis) {
				for (i=0; i < lis.length; i++) {
					var li = lis[i];
					if(li == target) {
						thisObj.currentSelectedIdx = i;
						thisObj.currentSelectedIdxMouseEvent = i;
						break;
					}
				}
				thisObj.markSelectedLocation(true);
			};

			/* NOTE! Using all click events here since different browser behaves differntly (and onclick is not working properly for some reason...) */
			ul.onmousedown = function(ev) {
				thisObj.selectLocation(true);
				thisObj.resetInput();
				thisObj.cancelEvent(ev);
				return false;
			};
			ul.onmouseup = function(ev) {
				thisObj.selectLocation(true);
				thisObj.resetInput();
				thisObj.cancelEvent(ev);
				return false;
			};
			ul.onclick = function(ev) {
				thisObj.selectLocation(true);
				thisObj.resetInput();
				thisObj.cancelEvent(ev);
				return false;
			};

			this.matchingLocationsDivObj.className = 'matchingLocationsList';
			this.matchingLocationsDivObj.style.position = 'absolute';
		}
	};

	this.createNoLocationFoundDiv = function () {
		if (TEXT_NO_LOCATION_FOUND) {
			var ul = document.createElement('ul');
			var li = document.createElement('li');
			var i = document.createElement('span');
			i.innerHTML = TEXT_NO_LOCATION_FOUND;
			li.appendChild(i);
			li.className = 'matchingLocationsListSelected';
			ul.appendChild(li);

			this.matchingLocationsDivObj.replaceChild(document.createElement('div'), this.matchingLocationsDivObj.childNodes[0]);
			this.matchingLocationsDivObj.replaceChild(ul, this.matchingLocationsDivObj.childNodes[1]);
			this.matchingLocationsDivObj.className = "matchingLocationsList";
			this.matchingLocationsDivObj.style.position = 'absolute';
		}
	}

	// -----------------------------------
	// Handling destinations functions
	// -----------------------------------
	this.selectLocation = function() {
		if (!this.noLocationFound) {
			var selectedIdx = (this.currentSelectedIdx == -1 ? this.currentSelectedIdxMouseEvent : this.currentSelectedIdx);
			if (selectedIdx > -1) {
				this.resetInput();
				if (this.isCityClosestResortMode) {
					// gotoDrivingInstructions is declared in JSP
					gotoDrivingInstructions(this.matchingLocations[selectedIdx].URL);
				} else
					document.location.href = this.matchingLocations[selectedIdx].URL+"?i=1";
			}
		}
	};

	this.markSelectedLocation = function() {
		if (!this.noLocationFound) {
			var selectedIdx = (this.currentSelectedIdx == -1 ? this.currentSelectedIdxMouseEvent : this.currentSelectedIdx);
			var lis = this.matchingLocationsDivObj.getElementsByTagName('LI');
			// NOTE! looping "i in [OBJECT_ARRAY]" does not work in Safari, changed for release 4.8
			//for (i in lis) {
			for (var i=0;i<lis.length; i++) {
				var li = lis[i];
				// this is to prevent an annoying firefox bug
				if (!li)
					continue;
				if (selectedIdx == i)
					li.className = 'matchingLocationsListSelected';
				else if (li && li.className)
					li.className = '';
			}
		}
	};

	this.highlightSearchWord = function(name, searchStr) {
		var startIdx = name.toLowerCase().indexOf(searchStr.toLowerCase())
		return name.substring(0, startIdx)+'<b>'+name.substring(startIdx, startIdx+searchStr.length)+'</b>'+name.substr(startIdx+searchStr.length);
	}

	this.searchLocations = function() {
		// reset any previous selections
		// Note! The ajaxDestinationsFromInput function will call the closeSearch function
		findLocation(this);
	}

	this.closeSearch = function() {
		if (this.matchingLocations.length < 1)
			this.resetInput();
		else {
			this.createSelectionDiv();
			this.positionSelectionDiv();
			this.showSelectionDiv();
			this.currentSelectedIdx = 0;
			this.currentSelectedIdxMouseEvent = 0;
			this.markSelectedLocation();
		}
	}
}

function findLocation(locLookup) {
	var thisMatchingLocations = new Array();
	for (var i=0; i < LOC_ARR.length; i++) {
		if (LOC_ARR[i].SEARCH_NAME.toLowerCase().indexOf(locLookup.inputText.toLowerCase()) == 0 || (locLookup.inputText.length > 1 && LOC_ARR[i].SEARCH_NAME.toLowerCase().indexOf(locLookup.inputText.toLowerCase()) > -1)) {
			if (locLookup.isCityClosestResortMode && (LOC_ARR[i].TYPE != 5 || !LOC_ARR[i].IS_EUROPE))
				continue;
			thisMatchingLocations[thisMatchingLocations.length] = LOC_ARR[i];
		}
	}
	
	locLookup.matchingLocations = thisMatchingLocations;
	locLookup.closeSearch();
}


// GENERATED
function Location(locationSearchName, locationDisplayName, locationURL, locationType, locationIsEurope) {
	this.SEARCH_NAME = locationSearchName;
	this.DISPLAY_NAME = locationDisplayName;
	this.URL = locationURL;
	this.TYPE = locationType;
	this.IS_EUROPE = locationIsEurope;
}

function sortLocation(a, b) {
	return (a.DISPLAY_NAME < b.DISPLAY_NAME ? -1 : 1);
}

var LOC_ARR = new Array();
LOC_ARR[LOC_ARR.length] = new Location("Andorra","Andorra <i>(land)</i>","/andorra",3,true);
LOC_ARR[LOC_ARR.length] = new Location("El Tarter","El Tarter, Andorra","/el_tarter",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pal Arinsal","Pal Arinsal, Andorra","/pal_arinsal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pas de la Casa","Pas de la Casa, Andorra","/pas_de_la_casa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Soldeu","Soldeu, Andorra","/soldeu",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Argentina","Argentina <i>(land)</i>","/argentina",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Caviahue","Caviahue, Argentina","/caviahue",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Cerro Bayo","Cerro Bayo, Argentina","/cerro_bayo",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Cerro Castor","Cerro Castor, Argentina","/cerro_castor",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Cerro Catedral","Cerro Catedral, Argentina","/cerro_catedral",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Chapelco","Chapelco, Argentina","/chapelco",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Los Penitentes","Los Penitentes, Argentina","/los_penitentes",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Valle de Las Lenas","Valle de Las Lenas, Argentina","/valle_de_las_lenas",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Australien","Australien <i>(land)</i>","/australien",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Falls Creek","Falls Creek, Australien","/falls_creek",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Baw Baw","Mount Baw Baw, Australien","/mount_baw_baw",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Buffalo","Mount Buffalo, Australien","/mount_buffalo",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Buller","Mount Buller, Australien","/mount_buller",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Hotham","Mount Hotham, Australien","/mount_hotham",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Perisher Blue","Perisher Blue, Australien","/perisher_blue",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Selwyn Snowfields","Selwyn Snowfields, Australien","/selwyn_snowfields",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Thredbo","Thredbo, Australien","/thredbo",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Bolivia","Bolivia <i>(land)</i>","/bolivia",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Chacaltaya","Chacaltaya","/chacaltaya",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Bosnien och Hercegovina","Bosnien och Hercegovina <i>(land)</i>","/bosnien_och_hercegovina",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bjelasnica","Bjelasnica, Bosnien och Hercegovina","/bjelasnica",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jahorina","Jahorina, Bosnien och Hercegovina","/jahorina",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kupres","Kupres, Bosnien och Hercegovina","/kupres",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vlasic","Vlasic, Bosnien och Hercegovina","/vlasic",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bulgarien","Bulgarien <i>(land)</i>","/bulgarien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bansko","Bansko, Bulgarien","/bansko",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Borovets","Borovets, Bulgarien","/borovets",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pamporovo","Pamporovo, Bulgarien","/pamporovo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vitosha","Vitosha, Bulgarien","/vitosha",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Chile","Chile <i>(land)</i>","/chile",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Antillanca","Antillanca, Chile","/antillanca",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Chapa Verde","Chapa Verde, Chile","/chapa_verde",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Portillo","Portillo, Chile","/portillo",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Termas de Chillan","Termas de Chillan, Chile","/termas_de_chillan",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Valle Nevado","Valle Nevado, Chile","/valle_nevado",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Cypern","Cypern <i>(land)</i>","/cypern",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Mount Olympus (Troodos)","Mount Olympus (Troodos), Cypern","/mount_olympus__troodos_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Finland","Finland <i>(land)</i>","/finland",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Levi","Levi, Finland","/levi",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pyhä-Luosto","Pyhä-Luosto, Finland","/pyha-luosto",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ruka","Ruka, Finland","/ruka",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Salla","Salla, Finland","/salla",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ylläs","Ylläs, Finland","/yllas",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Frankrike","Frankrike, franska alperna <i>(land)</i>","/frankrike",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Abondance","Abondance, Frankrike","/abondance",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Alpe d'Huez","Alpe d'Huez, Frankrike","/alpe_dhuez",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Areches Beaufort","Areches Beaufort, Frankrike","/areches_beaufort",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Argentičre","Argentičre, Frankrike","/argentiere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Avoriaz","Avoriaz, Frankrike","/avoriaz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Brides-les-Bains","Brides-les-Bains, Frankrike","/brides-les-bains",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cauterets","Cauterets, Frankrike","/cauterets",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Chamonix","Chamonix, Frankrike","/chamonix",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Champagny en Vanoise","Champagny en Vanoise, Frankrike","/champagny_en_vanoise",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Chamrousse","Chamrousse, Frankrike","/chamrousse",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Chatel","Chatel, Frankrike","/chatel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Combloux","Combloux, Frankrike","/combloux",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Courchevel","Courchevel, Frankrike","/courchevel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Dévoluy","Dévoluy, Frankrike","/devoluy",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Flaine","Flaine, Frankrike","/flaine",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Isola 2000","Isola 2000, Frankrike","/isola_2000",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Chapelle d'Abondance","La Chapelle d'Abondance, Frankrike","/la_chapelle_dabondance",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Clusaz","La Clusaz, Frankrike","/la_clusaz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Grave","La Grave, Frankrike","/la_grave",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Norma","La Norma, Frankrike","/la_norma",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Plagne","La Plagne, Frankrike","/la_plagne",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Rosiere","La Rosiere, Frankrike","/la_rosiere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Tania","La Tania, Frankrike","/la_tania",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Le Mont-Dore","Le Mont-Dore, Frankrike","/le_mont-dore",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Arcs","Les Arcs, Frankrike","/les_arcs",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Carroz","Les Carroz, Frankrike","/les_carroz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Contamines","Les Contamines, Frankrike","/les_contamines",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Deux Alpes","Les Deux Alpes, Frankrike","/les_deux_alpes",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Gets","Les Gets, Frankrike","/les_gets",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Menuires","Les Menuires, Frankrike","/les_menuires",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Orres","Les Orres, Frankrike","/les_orres",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Luz Ardiden","Luz Ardiden, Frankrike","/luz_ardiden",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Megeve","Megeve, Frankrike","/megeve",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Meribel","Meribel, Frankrike","/meribel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Montchavin-Les Coches","Montchavin-Les Coches, Frankrike","/montchavin-les_coches",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Montgenčvre","Montgenčvre, Frankrike","/montgenevre",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Montriond","Montriond, Frankrike","/montriond",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Morillon","Morillon, Frankrike","/morillon",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Morzine","Morzine, Frankrike","/morzine",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Oz-en-Oisans","Oz-en-Oisans, Frankrike","/oz-en-oisans",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Peisey-Vallandry","Peisey-Vallandry, Frankrike","/peisey-vallandry",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Piau Engaly","Piau Engaly, Frankrike","/piau_engaly",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Risoul","Risoul, Frankrike","/risoul",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saint Gervais","Saint Gervais, Frankrike","/saint_gervais",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saint Jean de Sixt","Saint Jean de Sixt, Frankrike","/saint_jean_de_sixt",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saint Lary Soulan","Saint Lary Soulan, Frankrike","/saint_lary_soulan",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saint Martin de Belleville","Saint Martin de Belleville, Frankrike","/saint_martin_de_belleville",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saint-Sorlin d'Arves","Saint-Sorlin d'Arves, Frankrike","/saint-sorlin_darves",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Samoëns","Samoëns, Frankrike","/samoens",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Serre Chevalier","Serre Chevalier, Frankrike","/serre_chevalier",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sixt Fer ā Cheval","Sixt Fer ā Cheval","/sixt_fer_a_cheval",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St Jean d'Aulps","St Jean d'Aulps, Frankrike","/st_jean_daulps",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tignes","Tignes, Frankrike","/tignes",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tignes och Val d'Isere","Tignes och Val d'Isere, Frankrike","/tignes_och_val_disere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Val Cenis","Val Cenis, Frankrike","/val_cenis",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Val Thorens","Val Thorens, Frankrike","/val_thorens",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valfrejus","Valfrejus, Frankrike","/valfrejus",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valloire","Valloire, Frankrike","/valloire",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valmeinier","Valmeinier, Frankrike","/valmeinier",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valmorel","Valmorel, Frankrike","/valmorel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vars","Vars, Frankrike","/vars",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vaujany","Vaujany, Frankrike","/vaujany",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Villard Reculas","Villard Reculas, Frankrike","/villard_reculas",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grekland","Grekland <i>(land)</i>","/grekland",3,true);
LOC_ARR[LOC_ARR.length] = new Location("3-5 Pigadia","3-5 Pigadia, Grekland","/3-5_pigadia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kaimaktsalan","Kaimaktsalan, Grekland","/kaimaktsalan",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kalavryta","Kalavryta, Grekland","/kalavryta",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kelaria (Parnassos)","Kelaria (Parnassos), Grekland","/kelaria__parnassos_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Seli","Seli, Grekland","/seli",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Indien","Indien <i>(land)</i>","/indien",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Auli (Garhwal)","Auli (Garhwal), Indien","/auli__garhwal_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Gulmarg","Gulmarg, Indien","/gulmarg",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Manali","Manali, Indien","/manali",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Iran","Iran <i>(land)</i>","/iran",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Ab Ali","Ab Ali, Iran","/ab_ali",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Darbandsar","Darbandsar, Iran","/darbandsar",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Dizin och Shemshak","Alborzbergen med Dizin och Shemshak, Iran","/dizin_och_shemshak",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Tochal","Tochal, Iran","/tochal",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Italien","Italien, italienska alperna <i>(land)</i>","/italien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Alagna Valsesia","Alagna Valsesia, Italien","/alagna_valsesia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Alleghe/Civetta","Alleghe/Civetta, Italien","/alleghe/civetta",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Alpe di Siusi","Alpe di Siusi, Italien","/alpe_di_siusi",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Alta Badia","Alta Badia, Italien","/alta_badia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Alta Pusteria/Hochpustertal","Alta Pusteria/Hochpustertal, Italien","/alta_pusteria/hochpustertal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Antagnod","Antagnod, Italien","/antagnod",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Aprica","Aprica, Italien","/aprica",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Arabba","Arabba, Italien","/arabba",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bardonecchia","Bardonecchia, Italien","/bardonecchia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bormio","Bormio, Italien","/bormio",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Breuil-Cervinia","Breuil-Cervinia, Italien","/breuil-cervinia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Brusson","Brusson, Italien","/brusson",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Campitello","Campitello, Italien","/campitello",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Canazei","Canazei, Italien","/canazei",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cavalese","Cavalese, Italien","/cavalese",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cesana Torinese","Cesana Torinese, Italien","/cesana_torinese",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Champoluc","Champoluc, Italien","/champoluc",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Chiesa","Chiesa, Italien","/chiesa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Claviere","Claviere, Italien","/claviere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cortina d'Ampezzo","Cortina d'Ampezzo, Italien","/cortina_dampezzo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Corvara","Corvara, Italien","/corvara",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Courmayeur","Courmayeur, Italien","/courmayeur",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Folgaria","Folgaria, Italien","/folgaria",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gressoney","Gressoney, Italien","/gressoney",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kronplatz","Kronplatz, Italien","/kronplatz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Polsa","La Polsa, Italien","/la_polsa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Thuile","La Thuile, Italien","/la_thuile",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Limone Piemonte","Limone Piemonte, Italien","/limone_piemonte",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Livigno","Livigno, Italien","/livigno",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Macugnaga","Macugnaga, Italien","/macugnaga",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Madesimo","Madesimo, Italien","/madesimo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Madonna di Campiglio","Madonna di Campiglio, Italien","/madonna_di_campiglio",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Moena","Moena, Italien","/moena",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mount Etna Linguaglossa","Mount Etna Linguaglossa, Italien","/mount_etna_linguaglossa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mount Etna Nicolosi","Mount Etna Nicolosi, Italien","/mount_etna_nicolosi",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Obereggen/Val di Fiemme","Obereggen/Val di Fiemme, Italien","/obereggen/val_di_fiemme",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ortisei","Ortisei, Italien","/ortisei",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Passo Rolle","Passo Rolle, Italien","/passo_rolle",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Passo San Pellegrino-Falcade","Passo San Pellegrino-Falcade, Italien","/passo_san_pellegrino-falcade",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Passo Tonale","Passo Tonale, Italien","/passo_tonale",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pejo","Pejo, Italien","/pejo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Piancavallo","Piancavallo, Italien","/piancavallo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pila","Pila, Italien","/pila",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ponte di Legno","Ponte di Legno, Italien","/ponte_di_legno",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pragelato","Pragelato, Italien","/pragelato",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Prato Nevoso","Prato Nevoso, Italien","/prato_nevoso",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Predazzo","Predazzo, Italien","/predazzo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Roccaraso","Roccaraso, Italien","/roccaraso",5,true);
LOC_ARR[LOC_ARR.length] = new Location("San Cassiano","San Cassiano, Italien","/san_cassiano",5,true);
LOC_ARR[LOC_ARR.length] = new Location("San Martino di Castrozza","San Martino di Castrozza, Italien","/san_martino_di_castrozza",5,true);
LOC_ARR[LOC_ARR.length] = new Location("San Sicario","San Sicario, Italien","/san_sicario",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Santa Caterina Valfurva","Santa Caterina Valfurva, Italien","/santa_caterina_valfurva",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sauze d'Oulx","Sauze d'Oulx, Italien","/sauze_doulx",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Selva (Val Gardena)","Selva (Val Gardena), Italien","/selva__val_gardena_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sestriere","Sestriere, Italien","/sestriere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tarvisio","Tarvisio, Italien","/tarvisio",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Val di Fassa","Val di Fassa, Italien","/val_di_fassa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valtournenche","Valtournenche, Italien","/valtournenche",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Japan","Japan <i>(land)</i>","/japan",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Furano","Furano, Japan","/furano",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Hakuba","Hakuba, Japan","/hakuba",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Niseko","Niseko, Japan","/niseko",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Nozawa Onsen","Nozawa Onsen, Japan","/nozawa_onsen",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Rusutsu","Rusutsu, Japan","/rusutsu",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sahoro","Sahoro, Japan","/sahoro",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Shiga Kogen","Shiga Kogen, Japan","/shiga_kogen",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Tomamu","Tomamu, Japan","/tomamu",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Zao Onsen","Zao Onsen, Japan","/zao_onsen",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kanada","Kanada <i>(land)</i>","/kanada",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Alberta","Alberta, Kanada <i>(delstat/landskap/län)</i>","/alberta",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Banff","Banff, Alberta, Kanada","/banff",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Lake Louise","Lake Louise, Alberta, Kanada","/lake_louise",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Marmot Basin Jasper","Marmot Basin Jasper, Alberta, Alberta, Kanada","/marmot_basin_jasper",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Nakiska","Nakiska, Alberta, Kanada","/nakiska",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sunshine Village","Sunshine Village, Alberta, Kanada","/sunshine_village",5,false);
LOC_ARR[LOC_ARR.length] = new Location("British Columbia","British Columbia, Kanada <i>(delstat/landskap/län)</i>","/british_columbia",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Apex","Apex, British Columbia, Kanada","/apex",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Big White","Big White, British Columbia, Kanada","/big_white",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Fernie","Fernie, British Columbia, Kanada","/fernie",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kicking Horse","Kicking Horse, British Colombia, British Colombia, Kanada","/kicking_horse",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kimberley","Kimberley, British Columbia, Kanada","/kimberley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Washington","Mount Washington, British Colombia, Kanada","/mount_washington",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Panorama","Panorama, British Columbia, Kanada","/panorama",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Revelstoke Mountain Resort","Revelstoke Mountain Resort, British Columbia, Kanada","/revelstoke_mountain_resort",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Silver Star","Silver Star, British Columbia, Kanada","/silver_star",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sun Peaks","Sun Peaks, British Columbia, Kanada","/sun_peaks",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Whistler","Whistler, British Columbia, Kanada","/whistler",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Whitewater","Whitewater, British Colombia, Kanada","/whitewater",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Quebec","Quebec, Kanada <i>(delstat/landskap/län)</i>","/quebec",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Le Massif","Le Massif, Quebec, Kanada","/le_massif",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mont Sainte-Anne","Mont Sainte-Anne, Quebec, Kanada","/mont_sainte-anne",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Red Mountain","Red Mountain, Quebec, Kanada","/red_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Stoneham","Stoneham, Quebec, Kanada","/stoneham",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Tremblant","Tremblant, Quebec, Kanada","/tremblant",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kosovo","Kosovo <i>(land)</i>","/kosovo",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Brezovica","Brezovica, Kosovo","/brezovica",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kroatien","Kroatien <i>(land)</i>","/kroatien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bjelolasica","Bjelolasica, Kroatien","/bjelolasica",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Platak","Platak, Kroatien","/platak",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zagreb (Mount Sljeme)","Zagreb (Mount Sljeme), Kroatien","/zagreb__mount_sljeme_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lesotho","Lesotho <i>(land)</i>","/lesotho",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Afri-ski","Afri-ski, Lesotho","/afri-ski",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Club Maluti","Club Maluti, Lesotho","/club_maluti",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Libanon","Libanon <i>(land)</i>","/libanon",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Cedars","Cedars, Libanon","/cedars",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Laqlouq","Laqlouq, Libanon","/laqlouq",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mzaar (Faraya)","Mzaar (Faraya), Libanon","/mzaar__faraya_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Zaarour","Zaarour, Libanon","/zaarour",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Liechtenstein","Liechtenstein <i>(land)</i>","/liechtenstein",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Malbun (Triesenberg)","Malbun (Triesenberg), Liechtenstein","/malbun__triesenberg_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Marocko","Marocko <i>(land)</i>","/marocko",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Mischliffen","Mischliffen, Marocko","/mischliffen",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Oukaimeden","Oukaimeden, Marocko","/oukaimeden",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Norge","Norge <i>(land)</i>","/norge",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Beitostølen","Beitostølen, Norge","/beitostolen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Björli","Björli, Norge","/bjorli",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gaustablikk","Gaustablikk, Norge","/gaustablikk",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gautefall","Gautefall, Norge","/gautefall",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Geilo","Geilo, Norge","/geilo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grong","Grong, Norge","/grong",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gålå","Gålå, Norge","/gala",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hafjell (Lillehammer)","Hafjell (Lillehammer), Norge","/hafjell__lillehammer_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hallingskarvet","Hallingskarvet, Norge","/hallingskarvet",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hemsedal","Hemsedal, Norge","/hemsedal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Holmenkollen","Holmenkollen, Norge","/holmenkollen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hovden","Hovden, Norge","/hovden",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jotunheimen","Jotunheimen, Norge","/jotunheimen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kvitfjell","Kvitfjell, Norge","/kvitfjell",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Narvik","Narvik, Norge","/narvik",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Norefjell","Norefjell, Norge","/norefjell",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Oppdal","Oppdal, Norge","/oppdal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Rauland","Rauland, Norge","/rauland",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sirdal","Sirdal, Norge","/sirdal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Skeikampen","Skeikampen, Norge","/skeikampen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Stranda","Stranda, Norge","/stranda",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Stryn","Stryn, Norge","/stryn",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Trysil","Trysil, Norge","/trysil",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Voss","Voss, Norge","/voss",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Nya Zeeland","Nya Zeeland <i>(land)</i>","/nya_zeeland",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Broken River","Broken River, Nya Zeeland","/broken_river",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Cardrona","Cardrona, Nya Zeeland","/cardrona",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Coronet Peak","Coronet Peak, Nya Zeeland","/coronet_peak",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Craigieburn Valley","Craigieburn Valley, Nya Zeeland","/craigieburn_valley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Hutt","Mount Hutt, Nya Zeeland","/mount_hutt",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Temple Basin","Temple Basin, Nya Zeeland","/temple_basin",5,false);
LOC_ARR[LOC_ARR.length] = new Location("The Remarkables","The Remarkables, Nya Zeeland","/the_remarkables",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Treble Cone","Treble Cone, Nya Zeeland","/treble_cone",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Turoa (Mount Ruapehu)","Turoa (Mount Ruapehu), Nya Zeeland","/turoa__mount_ruapehu_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Whakapapa (Mount Ruapehu)","Whakapapa (Mount Ruapehu), Nya Zeeland","/whakapapa__mount_ruapehu_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Polen","Polen <i>(land)</i>","/polen",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Szklarska Poreba","Szklarska Poreba, Polen","/szklarska_poreba",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zakopane","Zakopane, Polen","/zakopane",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Portugal","Portugal <i>(land)</i>","/portugal",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Serra da Estrela (Vodafone Ski Resort)","Serra da Estrela (Vodafone Ski Resort), Portugal","/serra_da_estrela__vodafone_ski_resort_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Rumänien","Rumänien <i>(land)</i>","/rumanien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Azuga","Azuga, Rumänien","/azuga",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Busteni","Busteni, Rumänien","/busteni",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Poiana Brasov","Poiana Brasov, Rumänien","/poiana_brasov",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Predeal","Predeal, Rumänien","/predeal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sinaia","Sinaia, Rumänien","/sinaia",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ryssland","Ryssland <i>(land)</i>","/ryssland",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Elbrus och Cheget","Elbrus och Cheget, Ryssland","/elbrus_och_cheget",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Krasnaya Polyana","Krasnaya Polyana, Ryssland","/krasnaya_polyana",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Zavjalikha","Zavjalikha, Ryssland","/zavjalikha",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Schweiz","Schweiz, schweiziska alperna <i>(land)</i>","/schweiz",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Adelboden","Adelboden, Schweiz","/adelboden",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Airolo","Airolo, Schweiz","/airolo",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Andermatt","Andermatt, Schweiz","/andermatt",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Anzere","Anzere, Schweiz","/anzere",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Arosa","Arosa, Schweiz","/arosa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Brig","Brig, Schweiz","/brig",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bruson","Bruson, Schweiz","/bruson",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Champery","Champery, Schweiz","/champery",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Château d'Oex","Château d'Oex, Schweiz","/chateau_doex",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Crans Montana","Crans Montana, Schweiz","/crans_montana",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Davos","Davos, Schweiz","/davos",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Disentis","Disentis, Schweiz","/disentis",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Engelberg","Engelberg, Schweiz","/engelberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Evolčne","Evolčne, Schweiz","/evolene",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Fiesch","Fiesch, Schweiz","/fiesch",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Flims / Laax","Flims / Laax, Schweiz","/flims_/_laax",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Flumserberg","Flumserberg, Schweiz","/flumserberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grindelwald","Grindelwald, Schweiz","/grindelwald",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grächen","Grächen, Schweiz","/grachen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gstaad","Gstaad, Schweiz","/gstaad",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Interlaken","Interlaken, Schweiz","/interlaken",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Klosters","Klosters, Schweiz","/klosters",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lauterbrunnen","Lauterbrunnen, Schweiz","/lauterbrunnen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Le Châble","Le Châble, Schweiz","/le_chable",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lenzerheide","Lenzerheide, Schweiz","/lenzerheide",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Les Diablerets","Les Diablerets, Schweiz","/les_diablerets",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Leukerbad","Leukerbad, Schweiz","/leukerbad",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Leysin","Leysin, Schweiz","/leysin",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Meiringen-Hasliberg","Meiringen-Hasliberg, Schweiz","/meiringen-hasliberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Morgins","Morgins, Schweiz","/morgins",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mürren","Mürren, Schweiz","/murren",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Nendaz","Nendaz, Schweiz","/nendaz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pontresina","Pontresina, Schweiz","/pontresina",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saas-Fee","Saas-Fee, Schweiz","/saas-fee",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Samnaun","Samnaun, Schweiz","/samnaun",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Savognin","Savognin, Schweiz","/savognin",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Scuol","Scuol, Schweiz","/scuol",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sedrun Oberalp","Sedrun Oberalp, Schweiz","/sedrun_oberalp",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St. Moritz","St. Moritz, Schweiz","/st._moritz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Thyon les Collons","Thyon les Collons, Schweiz","/thyon_les_collons",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Torgon","Torgon, Schweiz","/torgon",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Val-d'Illiez-Les Crosets-Champoussin","Val-d'Illiez-Les Crosets-Champoussin, Schweiz","/val-dilliez-les_crosets-champoussin",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Verbier","Verbier, Schweiz","/verbier",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Veysonnaz","Veysonnaz, Schweiz","/veysonnaz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Villars","Villars, Schweiz","/villars",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Wengen","Wengen, Schweiz","/wengen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zermatt","Zermatt, Schweiz","/zermatt",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zinal","Zinal, Schweiz","/zinal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Serbien","Serbien <i>(land)</i>","/serbien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Kopaonik","Kopaonik, Serbien","/kopaonik",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Skottland","Skottland, Storbritannien <i>(land)</i>","/skottland",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Cairngorm","Cairngorm, Skottland, Storbritannien","/cairngorm",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Glencoe","Glencoe, Skottland, Storbritannien","/glencoe",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Glenshee","Glenshee, Skottland, Storbritannien","/glenshee",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Nevis Range","Nevis Range, Skottland, Storbritannien","/nevis_range",5,true);
LOC_ARR[LOC_ARR.length] = new Location("The Lecht","The Lecht, Skottland, Storbritannien","/the_lecht",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Slovakien","Slovakien <i>(land)</i>","/slovakien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Donovaly","Donovaly, Slovakien","/donovaly",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jasna","Jasna, Slovakien","/jasna",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Podbanske","Podbanske, Slovakien","/podbanske",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Strbske Pleso","Strbske Pleso, Slovakien","/strbske_pleso",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tatranska Lomnica","Tatranska Lomnica, Slovakien","/tatranska_lomnica",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Slovenien","Slovenien <i>(land)</i>","/slovenien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bled","Bled, Slovenien","/bled",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bohinj","Bohinj, Slovenien","/bohinj",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cerkno","Cerkno, Slovenien","/cerkno",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kranjska Gora","Kranjska Gora, Slovenien","/kranjska_gora",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Krvavec","Krvavec, Slovenien","/krvavec",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mariborsko Pohorje (Maribor)","Mariborsko Pohorje (Maribor), Slovenien","/mariborsko_pohorje__maribor_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Rogla","Rogla, Slovenien","/rogla",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vogel","Vogel, Slovenien","/vogel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Spanien","Spanien <i>(land)</i>","/spanien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Astún","Astún, Spanien","/astun",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Baqueira Beret","Baqueira Beret, Spanien","/baqueira_beret",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Candanchú","Candanchú, Spanien","/candanchu",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Cerler","Cerler, Spanien","/cerler",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Formigal","Formigal, Spanien","/formigal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Javalambre","Javalambre, Spanien","/javalambre",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Covatilla","La Covatilla, Spanien","/la_covatilla",5,true);
LOC_ARR[LOC_ARR.length] = new Location("La Molina","La Molina, Spanien","/la_molina",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Masella","Masella, Spanien","/masella",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Panticosa","Panticosa, Spanien","/panticosa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("San Isidro","San Isidro, Spanien","/san_isidro",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sierra Nevada","Sierra Nevada, Spanien","/sierra_nevada",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valdezcaray","Valdezcaray, Spanien","/valdezcaray",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sverige","Sverige <i>(land)</i>","/sverige",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Dalarna","Dalarna, Sverige <i>(delstat/landskap/län)</i>","/dalarna",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Bjursås Skicenter","Bjursås Skicenter, Dalarna, Sverige","/bjursas_skicenter",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Fjätervålen","Fjätervålen, Sverige","/fjatervalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gesundaberget","Gesundaberget, Sverige","/gesundaberget",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grövelsjön","Grövelsjön, Sverige","/grovelsjon",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hundfjället","Hundfjället, Sälenfjällen","/hundfjallet",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Idre","Idre, Sverige","/idre",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kläppen","Kläppen, Sälenfjällen","/klappen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lindvallen","Lindvallen, Sälen","/lindvallen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Orsa Grönklitt","Orsa Grönklitt, Sverige","/orsa_gronklitt",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Romme Alpin","Romme Alpin, Dalarna, Sverige","/romme_alpin",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Stöten","Stöten, Sälenfjällen","/stoten",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Säfsen","Säfsen, Dalarna, Sverige","/safsen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sälen","Sälen, Sverige","/salen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tandådalen","Tandådalen, Sälen","/tandadalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gästrikland","Gästrikland, Sverige <i>(delstat/landskap/län)</i>","/gastrikland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Kungsberget, Gävle","Kungsberget, Gävle, Sverige","/kungsberget,_gavle",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Halland","Halland, Sverige <i>(delstat/landskap/län)</i>","/halland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Vallåsen","Vallåsen, Sverige","/vallasen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hälsingland","Hälsingland, Sverige <i>(delstat/landskap/län)</i>","/halsingland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Hassela","Hassela, Sverige","/hassela",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Järvsö","Järvsö, Sverige","/jarvso",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Härjedalen","Härjedalen, Sverige <i>(delstat/landskap/län)</i>","/harjedalen",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Funäsdalen","Funäsdalen, Härjedalen, Sverige","/funasdalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lofsdalen","Lofsdalen, Sverige","/lofsdalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ramundberget","Ramundberget, Sverige","/ramundberget",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tänndalen","Tänndalen","/tanndalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Vemdalen","Vemdalen, Sverige","/vemdalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jämtland","Jämtland, Sverige <i>(delstat/landskap/län)</i>","/jamtland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Bydalsfjällen (Bydalen)","Bydalsfjällen (Bydalen), Sverige","/bydalsfjallen__bydalen_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Duved","Duved","/duved",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Edsåsdalen","Edsåsdalen, Sverige","/edsasdalen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gruvbacken i Huså","Gruvbacken i Huså","/gruvbacken_i_husa",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Storlien","Storlien, Sverige","/storlien",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Trillevallen","Trillevallen, Sverige","/trillevallen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Åre","Åre, Sverige","/are",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Åre Björnen","Åre Björnen","/are_bjornen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lappland","Lappland, Sverige <i>(delstat/landskap/län)</i>","/lappland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Abisko","Abisko, Sverige","/abisko",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Björkliden","Björkliden, Sverige","/bjorkliden",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Borgafjäll","Borgafjäll, Sverige","/borgafjall",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Dundret (Gällivare)","Dundret (Gällivare), Sverige","/dundret__gallivare_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hemavan-Tärnaby","Hemavan-Tärnaby, Sverige","/hemavan-tarnaby",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kittelfjäll","Kittelfjäll, Sverige","/kittelfjall",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Riksgränsen","Riksgränsen, Sverige","/riksgransen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Svanstein_Ski","Svanstein Ski","/svanstein_ski",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Småland","Småland, Sverige <i>(delstat/landskap/län)</i>","/smaland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Isaberg","Isaberg, Sverige","/isaberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Stockholm","Stockholm, Sverige <i>(delstat/landskap/län)</i>","/stockholm",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Flottsbro","Flottsbro, Sverige","/flottsbro",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hammarbybacken","Hammarbybacken, Sverige","/hammarbybacken",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Väsjöbacken","Väsjöbacken, Sverige","/vasjobacken",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Värmland","Värmland, Sverige <i>(delstat/landskap/län)</i>","/varmland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Branäs","Branäs, Sverige","/branas",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Hovfjället","Hovfjället, Sverige","/hovfjallet",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ski Sunne","Ski Sunne, Sverige","/ski_sunne",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Valfjället","Valfjället, Sverige","/valfjallet",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Västergötland","Västergötland, Sverige <i>(delstat/landskap/län)</i>","/vastergotland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Mullsjö Alpin","Mullsjö Alpin, Sverige","/mullsjo_alpin",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Östergötland","Östergötland, Sverige <i>(delstat/landskap/län)</i>","/ostergotland",4,true);
LOC_ARR[LOC_ARR.length] = new Location("Tolvmannabacken","Tolvmannabacken, Sverige","/tolvmannabacken",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Yxbacke (Norrköping)","Yxbacke (Norrköping), Sverige","/yxbacke__norrkoping_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sydafrika","Sydafrika <i>(land)</i>","/sydafrika",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Sani Pass","Sani Pass, Sydafrika","/sani_pass",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Tiffindell Ski Resort","Tiffindell Ski Resort, Sydafrika","/tiffindell_ski_resort",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Tjeckien","Tjeckien <i>(land)</i>","/tjeckien",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bedrichov","Bedrichov, Tjeckien","/bedrichov",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Harrachov","Harrachov, Tjeckien","/harrachov",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jested","Jested, Tjeckien","/jested",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pec pod Snezkou","Pec pod Snezkou, Tjeckien","/pec_pod_snezkou",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ramzova-Petrikov","Ramzova-Petrikov, Tjeckien","/ramzova-petrikov",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Spindleruv Mlyn","Spindleruv Mlyn, Tjeckien","/spindleruv_mlyn",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zadov","Zadov, Tjeckien","/zadov",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zelezna Ruda - Spicak","Zelezna Ruda - Spicak, Tjeckien","/zelezna_ruda_-_spicak",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Turkiet","Turkiet <i>(land)</i>","/turkiet",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Elmadag","Elmadag, Turkiet","/elmadag",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Erciyes","Erciyes, Turkiet","/erciyes",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ilgaz","Ilgaz, Turkiet","/ilgaz",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kartalkaya","Kartalkaya, Turkiet","/kartalkaya",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Palandöken","Palandöken, Turkiet","/palandoken",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saklikent (Antalya)","Saklikent (Antalya), Turkiet","/saklikent__antalya_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sarikamis","Sarikamis, Turkiet","/sarikamis",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Uludag","Uludag, Turkiet","/uludag",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Tyskland","Tyskland <i>(land)</i>","/tyskland",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Berchtesgadener","Berchtesgadener, Tyskland","/berchtesgadener",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Garmisch-Partenkirchen ","Garmisch-Partenkirchen , Tyskland","/garmisch-partenkirchen_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lenggries","Lenggries, Tyskland","/lenggries",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mittenwald","Mittenwald, Tyskland","/mittenwald",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Oberammergau","Oberammergau, Tyskland","/oberammergau",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Oberstdorf-Nebelhorn","Oberstdorf-Nebelhorn, Tyskland","/oberstdorf-nebelhorn",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ofterschwang-Gunzesried","Ofterschwang-Gunzesried, Tyskland","/ofterschwang-gunzesried",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Spitzingsee","Spitzingsee, Tyskland","/spitzingsee",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Sudelfeld-Bayrischzell","Sudelfeld-Bayrischzell, Tyskland","/sudelfeld-bayrischzell",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ukraina","Ukraina <i>(land)</i>","/ukraina",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bukovel","Bukovel, Ukraina","/bukovel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Drahobrat","Drahobrat, Ukraina","/drahobrat",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Slavsko","Slavsko, Ukraina","/slavsko",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ungern","Ungern <i>(land)</i>","/ungern",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Bükk (Bankút)","Bükk (Bankút), Ungern","/bukk__bankut_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Dobogķko Sícentrum","Dobogķko Sícentrum, Ungern","/dobogoko_sicentrum",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Matra","Matra, Ungern","/matra",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Visegradi-Hegyseg","Visegradi-Hegyseg, Ungern","/visegradi-hegyseg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("USA","USA <i>(land)</i>","/usa",3,false);
LOC_ARR[LOC_ARR.length] = new Location("Alaska","Alaska, USA <i>(delstat/landskap/län)</i>","/alaska",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Alpenglow","Alpenglow, Alaska, USA","/alpenglow",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Alyeska Resort","Alyeska Resort, Alaska, USA","/alyeska_resort",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Eaglecrest Ski Area","Eaglecrest Ski Area, Alaska, USA","/eaglecrest_ski_area",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Colorado","Colorado, USA <i>(delstat/landskap/län)</i>","/colorado",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Arapahoe Basin","Arapahoe Basin, Colorado, USA","/arapahoe_basin",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Aspen","Aspen, Colorado, USA","/aspen",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Beaver Creek","Beaver Creek, Colorado, USA","/beaver_creek",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Breckenridge","Breckenridge, Colorado, USA","/breckenridge",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Copper Mountain","Copper Mountain, Colorado, USA","/copper_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Crested Butte","Crested Butte, Colorado, USA","/crested_butte",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Keystone","Keystone, Colorado, USA","/keystone",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Loveland","Loveland, Colorado, USA","/loveland",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Purgatory (Durango)","Purgatory (Durango), Colorado, USA","/purgatory__durango_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Silverton","Silverton, Colorado, USA","/silverton",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Steamboat","Steamboat, Colorado, USA","/steamboat",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Telluride","Telluride, Colorado, USA","/telluride",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Vail","Vail, Colorado, USA","/vail",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Winter Park","Winter Park, Colorado, USA","/winter_park",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Wolf Creek","Wolf Creek, Colorado, USA","/wolf_creek",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Idaho","Idaho, USA <i>(delstat/landskap/län)</i>","/idaho",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Bogus Basin","Bogus Basin, Idaho, USA","/bogus_basin",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sun Valley","Sun Valley, Idaho, USA","/sun_valley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kalifornien","Kalifornien, USA <i>(delstat/landskap/län)</i>","/kalifornien",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Boreal Mountain","Boreal Mountain, Kalifornien, USA","/boreal_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Dodge Ridge","Dodge Ridge, Kalifornien, USA","/dodge_ridge",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Heavenly","Heavenly, Kalifornien, USA","/heavenly",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Kirkwood","Kirkwood, Kalifornien, USA","/kirkwood",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mammoth Mountain","Mammoth Mountain, Kalifornien, USA","/mammoth_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Northstar At Tahoe","Northstar At Tahoe, Kalifornien, USA","/northstar_at_tahoe",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sierra At Tahoe","Sierra At Tahoe, Kalifornien, USA","/sierra_at_tahoe",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Squaw Valley","Squaw Valley, Kalifornien, USA","/squaw_valley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sugar Bowl","Sugar Bowl, Kalifornien, USA","/sugar_bowl",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Maine","Maine, USA <i>(delstat/landskap/län)</i>","/maine",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Sugarloaf","Sugarloaf, Maine, USA","/sugarloaf",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Sunday River","Sunday River, Maine, USA","/sunday_river",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Michigan","Michigan, USA <i>(delstat/landskap/län)</i>","/michigan",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Boyne Mountain","Boyne Mountain, Michigan, USA","/boyne_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Minnesota","Minnesota, USA <i>(delstat/landskap/län)</i>","/minnesota",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Lutsen Mountains","Lutsen Mountains, Minnesota, USA","/lutsen_mountains",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Montana","Montana, USA <i>(delstat/landskap/län)</i>","/montana",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Big Sky","Big Sky, Montana, USA","/big_sky",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Bridger Bowl","Bridger Bowl, Montana, USA","/bridger_bowl",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Nevada","Nevada, USA <i>(delstat/landskap/län)</i>","/nevada",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Rose","Mount Rose, Nevada, USA","/mount_rose",5,false);
LOC_ARR[LOC_ARR.length] = new Location("New Hampshire","New Hampshire, USA <i>(delstat/landskap/län)</i>","/new_hampshire",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Attitash","Attitash, New Hampshire, USA","/attitash",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Bretton Woods","Bretton Woods, New Hampshire, USA","/bretton_woods",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Waterville Valley","Waterville Valley, New Hampshire, USA","/waterville_valley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Wildcat","Wildcat, New Hampshire, USA","/wildcat",5,false);
LOC_ARR[LOC_ARR.length] = new Location("New Mexico","New Mexico, USA <i>(delstat/landskap/län)</i>","/new_mexico",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Santa Fe","Santa Fe, New Mexico, USA","/santa_fe",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Taos","Taos, New Mexico, USA","/taos",5,false);
LOC_ARR[LOC_ARR.length] = new Location("New York","New York, USA <i>(delstat/landskap/län)</i>","/new_york",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Whiteface Mountain (Lake Placid)","Whiteface Mountain (Lake Placid), New York, USA","/whiteface_mountain__lake_placid_",5,false);
LOC_ARR[LOC_ARR.length] = new Location("North Carolina","North Carolina, USA <i>(delstat/landskap/län)</i>","/north_carolina",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Beech Mountain","Beech Mountain, North Carolina, USA","/beech_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Oregon","Oregon, USA <i>(delstat/landskap/län)</i>","/oregon",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Bachelor","Mount Bachelor, Oregon, USA","/mount_bachelor",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Hood Meadows","Mount Hood Meadows, Oregon, USA","/mount_hood_meadows",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Timberline","Timberline, Oregon, USA","/timberline",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Pennsylvania","Pennsylvania, USA <i>(delstat/landskap/län)</i>","/pennsylvania",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Big Boulder","Big Boulder, Pennsylvania, USA","/big_boulder",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Elk Mountain","Elk Mountain, Pennsylvania, USA","/elk_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Jack Frost","Jack Frost, Pennsylvania, USA","/jack_frost",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Utah","Utah, USA <i>(delstat/landskap/län)</i>","/utah",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Alta","Alta, Utah, USA","/alta",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Brian Head","Brian Head, Utah, USA","/brian_head",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Brighton","Brighton, Utah, USA","/brighton",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Deer Valley","Deer Valley, Utah, USA","/deer_valley",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Park City","Park City, Utah, USA","/park_city",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Powder Mountain","Powder Mountain, Utah, USA","/powder_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Snowbasin","Snowbasin, Utah, USA","/snowbasin",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Snowbird","Snowbird, Utah, USA","/snowbird",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Solitude","Solitude, Utah, USA","/solitude",5,false);
LOC_ARR[LOC_ARR.length] = new Location("The Canyons","The Canyons, Utah, USA","/the_canyons",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Vermont","Vermont, USA <i>(delstat/landskap/län)</i>","/vermont",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Burke Mountain","Burke Mountain, Vermont, USA","/burke_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Jay Peak","Jay Peak, Vermont, USA","/jay_peak",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Killington Mountains","Killington Mountains, Vermont, USA","/killington_mountains",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Snow","Mount Snow, Vermont, USA","/mount_snow",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Okemo Mountain","Okemo Mountain, Vermont, USA","/okemo_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Smugglers Notch","Smugglers Notch, Vermont, USA","/smugglers_notch",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Stowe","Stowe, Vermont, USA","/stowe",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Stratton Mountain","Stratton Mountain, Vermont, USA","/stratton_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Virginia","Virginia, USA <i>(delstat/landskap/län)</i>","/virginia",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Massanutten","Massanutten, Virginia, USA","/massanutten",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Washington","Washington, USA <i>(delstat/landskap/län)</i>","/washington",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Crystal Mountain","Crystal Mountain, Washington, USA","/crystal_mountain",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Mount Baker","Mount Baker, Washington, USA","/mount_baker",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Stevens Pass","Stevens Pass, Washington, USA","/stevens_pass",5,false);
LOC_ARR[LOC_ARR.length] = new Location("West Virginia","West Virginia, USA <i>(delstat/landskap/län)</i>","/west_virginia",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Snowshoe","Snowshoe, West Virginia, USA","/snowshoe",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Wyoming","Wyoming, USA <i>(delstat/landskap/län)</i>","/wyoming",4,false);
LOC_ARR[LOC_ARR.length] = new Location("Grand Targhee","Grand Targhee, Wyoming, USA","/grand_targhee",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Jackson Hole","Jackson Hole, Wyoming, USA","/jackson_hole",5,false);
LOC_ARR[LOC_ARR.length] = new Location("Österrike","Österrike, österrikiska alperna <i>(land)</i>","/osterrike",3,true);
LOC_ARR[LOC_ARR.length] = new Location("Alpbachtal","Alpbachtal, Österrike","/alpbachtal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Axamer Lizum","Axamer Lizum, Österrike","/axamer_lizum",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bad Gastein","Bad Gastein, Österrike","/bad_gastein",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Bad Kleinkirchheim","Bad Kleinkirchheim, Österrike","/bad_kleinkirchheim",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Dienten","Dienten, Österrike","/dienten",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ehrwald","Ehrwald, Österrike","/ehrwald",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ellmau","Ellmau, Österrike","/ellmau",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Fieberbrunn","Fieberbrunn, Österrike","/fieberbrunn",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Filzmoos","Filzmoos, Österrike","/filzmoos",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Finkenberg","Finkenberg, Österrike","/finkenberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Flachau","Flachau, Österrike","/flachau",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Fulpmes","Fulpmes, Österrike","/fulpmes",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Fügen-Spieljoch","Fügen-Spieljoch, Österrike","/fugen-spieljoch",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Galtür (Silvapark)","Galtür (Silvapark), Österrike","/galtur__silvapark_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Gerlos","Gerlos, Österrike","/gerlos",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Grossarl-Dorfgastein","Grossarl-Dorfgastein, Österrike","/grossarl-dorfgastein",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Ischgl","Ischgl, Österrike","/ischgl",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Itter","Itter, Österrike","/itter",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Jochberg","Jochberg, Österrike","/jochberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kaprun","Kaprun, Österrike","/kaprun",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Katschberg-Aineck","Katschberg-Aineck, Österrike","/katschberg-aineck",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kaunertal","Kaunertal, Österrike","/kaunertal",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kirchberg","Kirchberg, Österrike","/kirchberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kitzbühel","Kitzbühel, Österrike","/kitzbuhel",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kreischberg","Kreischberg, Österrike","/kreischberg",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Kühtai","Kühtai, Österrike","/kuhtai",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Lech / Zürs","Lech / Zürs, Österrike","/lech_/_zurs",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Maria Alm","Maria Alm, Österrike","/maria_alm",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Matrei","Matrei, Österrike","/matrei",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mayrhofen","Mayrhofen, Österrike","/mayrhofen",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Montafon","Montafon, Österrike","/montafon",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mühlbach","Mühlbach, Österrike","/muhlbach",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Mölltaler Gletscher","Mölltaler Gletscher, Österrike","/molltaler_gletscher",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Nassfeld Hermagor","Nassfeld Hermagor, Österrike","/nassfeld_hermagor",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Nauders Reschenpass","Nauders Reschenpass, Österrike","/nauders_reschenpass",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Neukirchen (Wildkogel)","Neukirchen (Wildkogel), Österrike","/neukirchen__wildkogel_",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Neustift","Neustift, Österrike","/neustift",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Obergurgl / Sölden","Obergurgl / Sölden, Österrike","/obergurgl_/_solden",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Obertauern","Obertauern, Österrike","/obertauern",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Pitztal Gletscher","Pitztal Gletscher, Österrike","/pitztal_gletscher",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Rauris","Rauris, Österrike","/rauris",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Rohrmoos","Rohrmoos, Österrike","/rohrmoos",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Saalbach","Saalbach, Österrike","/saalbach",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Scheffau","Scheffau, Österrike","/scheffau",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Schladming","Schladming, Österrike","/schladming",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Seefeld","Seefeld, Österrike","/seefeld",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Semmering","Semmering, Österrike","/semmering",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Serfaus - Fiss - Ladis","Serfaus - Fiss - Ladis, Österrike","/serfaus_-_fiss_-_ladis",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St Johann","St Johann, Österrike","/st_johann",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St Wolfgang","St Wolfgang, Österrike","/st_wolfgang",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St. Anton","St. Anton, Österrike","/st._anton",5,true);
LOC_ARR[LOC_ARR.length] = new Location("St. Christoph","St. Christoph, Österrike","/st._christoph",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Stubai Gletscher","Stubai Gletscher, Österrike","/stubai_gletscher",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Söll","Söll, Österrike","/soll",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Wagrain","Wagrain, Österrike","/wagrain",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Waidring","Waidring, Österrike","/waidring",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Werfenweng","Werfenweng, Österrike","/werfenweng",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Westendorf","Westendorf, Österrike","/westendorf",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Wildschönau","Wildschönau, Österrike","/wildschonau",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zauchensee","Zauchensee, Österrike","/zauchensee",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zell am See","Zell am See, Österrike","/zell_am_see",5,true);
LOC_ARR[LOC_ARR.length] = new Location("Zell am Ziller","Zell am Ziller, Österrike","/zell_am_ziller",5,true);
LOC_ARR[LOC_ARR.length] = new Location("4 Vallees","4 Vallees, Schweiz <i>(skidområde)</i>","/4_vallees",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Arlberg","Arlberg, Österrike <i>(skidområde)</i>","/arlberg",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Hochkönig","Hochkönig, Österrike <i>(skidområde)</i>","/hochkonig",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Jungfrau Region","Jungfrau Region, Schweiz <i>(skidområde)</i>","/jungfrau_region",6,false);
LOC_ARR[LOC_ARR.length] = new Location("L'espace Killy","L'espace Killy, Frankrike <i>(skidområde)</i>","/lespace_killy",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Le Grand Massif","Le Grand Massif, Frankrike <i>(skidområde)</i>","/le_grand_massif",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Les Portes du Soleil","Les Portes du Soleil, Frankrike/Schweiz <i>(skidområde)</i>","/les_portes_du_soleil",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Les Trois Vallees","Les Trois Vallees, Frankrike <i>(skidområde)</i>","/les_trois_vallees",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Monterosa","Monterosa, Italien <i>(skidområde)</i>","/monterosa",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Paradiski","Paradiski, Frankrike <i>(skidområde)</i>","/paradiski",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Sella Ronda","Sella Ronda, Italien <i>(skidområde)</i>","/sella_ronda",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Ski Welt","Ski Welt, Österrike <i>(skidområde)</i>","/ski_welt",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Vialattea","Vialattea, Italien <i>(skidområde)</i>","/vialattea",6,false);
LOC_ARR[LOC_ARR.length] = new Location("Zillertal","Zillertal, Österrike <i>(skidområde)</i>","/zillertal",6,false);
LOC_ARR.sort(sortLocation);