$(function() {
	$(".local").hide();
	$("#start").show();
	
	
	$("#a_paris").click(function(event){
		$(".local").hide();
		$("#paris").show();
		sendCountrytoWebtrekk ('Paris');
	});
	$("#a_strasbourg").click(function(event){
		$(".local").hide();
		$("#strasbourg").show();
		sendCountrytoWebtrekk ('Strasbourg');	
	});
	$("#a_lyon").click(function(event){
		$(".local").hide();
		$("#lyon").show();	
		sendCountrytoWebtrekk ('Lyon');
	});
	$("#a_marseille").click(function(event){
		$(".local").hide();
		$("#marseille").show();	
		sendCountrytoWebtrekk ('Marseille');
	});
	$("#a_agen").click(function(event){
		$(".local").hide();
		$("#agen").show();
		sendCountrytoWebtrekk ('Agen');	
	});
	$("#a_angers").click(function(event){
		$(".local").hide();
		$("#angers").show();	
		sendCountrytoWebtrekk ('Angers');
	});
	$("#a_lille").click(function(event){
		$(".local").hide();
		$("#lille").show();	
		sendCountrytoWebtrekk ('Lille');
	});
	$("#a_orleans").click(function(event){
		$(".local").hide();
		$("#orleans").show();	
		sendCountrytoWebtrekk ('Orleans');
	});
	$("#france").show();
});


function sendCountrytoWebtrekk (country)
{
	if (typeof (wt) != 'undefined')
	{
		// custom page parameter 
		wt.customParameter = { 
			1 : country
     		};
     		
     		wt.sendinfo();
     	}
}

