$(document).ready(function(){
	
	
	// STANDORT BAAR
	var loc = $("#map_baar").attr("id");
	if(loc == "map_baar"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_baar.html",
		  cache: false,
		  success: function(html){
			$("#map_baar").empty();
		    $("#map_baar").append(html);
		  }
		});
	}
	
	
	// STANDORT FLUGHAFEN
	var loc = $("#map_flughafen").attr("id");
	if(loc == "map_flughafen"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_flughafen.html",
		  cache: false,
		  success: function(html){
			$("#map_flughafen").empty();
		    $("#map_flughafen").append(html);
		  }
		});
	}
	
	
	// STANDORT BASSERSDORF
	var loc = $("#map_bassersdorf").attr("id");
	if(loc == "map_bassersdorf"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_bassersdorf.html",
		  cache: false,
		  success: function(html){
			$("#map_bassersdorf").empty();
		    $("#map_bassersdorf").append(html);
		  }
		});
	}
	
	
	// STANDORT THAYNGEN
	var loc = $("#map_thayngen").attr("id");
	if(loc == "map_thayngen"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_thayngen.html",
		  cache: false,
		  success: function(html){
			$("#map_thayngen").empty();
		    $("#map_thayngen").append(html);
		  }
		});
	}
	
	
	// STANDORT SCHLIEREN
	var loc = $("#map_schlieren").attr("id");
	if(loc == "map_schlieren"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_schlieren.html",
		  cache: false,
		  success: function(html){
			$("#map_schlieren").empty();
		    $("#map_schlieren").append(html);
		  }
		});
	}
	
	
	// STANDORT SEEWEN
	var loc = $("#map_seewen").attr("id");
	if(loc == "map_seewen"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_seewen.html",
		  cache: false,
		  success: function(html){
			$("#map_seewen").empty();
		    $("#map_seewen").append(html);
		  }
		});
	}
	
	// STANDORT FREIENBACH
	var loc = $("#map_freienbach").attr("id");
	if(loc == "map_freienbach"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_freienbach.html",
		  cache: false,
		  success: function(html){
			$("#map_freienbach").empty();
		    $("#map_freienbach").append(html);
		  }
		});
	}
	
	// STANDORT WANGEN-BRÜTTISELLEN
	var loc = $("#map_wangen").attr("id");
	if(loc == "map_wangen"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_wangen.html",
		  cache: false,
		  success: function(html){
			$("#map_wangen").empty();
		    $("#map_wangen").append(html);
		  }
		});
	}
	
	// STANDORT CHUR
	var loc = $("#map_chur").attr("id");
	if(loc == "map_chur"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_chur.html",
		  cache: false,
		  success: function(html){
			$("#map_chur").empty();
		    $("#map_chur").append(html);
		  }
		});
	}
	
	
	// STANDORT DIETLIKON
	var loc = $("#map_dietlikon").attr("id");
	if(loc == "map_dietlikon"){
		$.ajax({
		  url: "themes/kimi/js/ajax/map_dietlikon.html",
		  cache: false,
		  success: function(html){
			$("#map_dietlikon").empty();
		    $("#map_dietlikon").append(html);
		  }
		});
	}
	
	
});
