﻿$(document).ready(function(){
		
		
		
		$("#home").click(function(){
		$("#navigation")
		.animate({top: "0"}, 500)
		$("#lang")
		.animate({top: "35"}, 500)
		$("#page")
		.animate({top: "0"}, 500)
		});
		$("#news").click(function(){
		$("#navigation")
		.animate({top: "800"}, 500)
		$("#lang")
		.animate({top: "835"}, 500)
		$("#page")
		.animate({top: "-800"}, 500)
		});
		$("#author").click(function(){
		$("#navigation")
		.animate({top: "1600"}, 500)
		$("#lang")
		.animate({top: "1635"}, 500)
		$("#page")
		.animate({top: "-1600"}, 500)
		});
		$("#travel").click(function(){
		$("#navigation")
		.animate({top: "2500"}, 500)
		$("#lang")
		.animate({top: "2535"}, 500)
		$("#page")
		.animate({top: "-2500"}, 500)
		});
		$("#photos").click(function(){
		$("#navigation")
		.animate({top: "3300"}, 500)
		$("#lang")
		.animate({top: "3335"}, 500)
		$("#page")
		.animate({top: "-3300"}, 500,
		function () {$("#1").animate({opacity:1},100,
		function () {$("#7").animate({opacity:1},100,
		function () {$("#38").animate({opacity:1},100,
		function () {$("#31").animate({opacity:1},100,
		function () {$("#14").animate({opacity:1},100,
		function () {$("#21").animate({opacity:1},100,
		function () {$("#1").animate({opacity:1},100,
		function () {$("#31").animate({opacity:1},100,
		function () {$("#18").animate({opacity:1},100,
		function () {$("#27").animate({opacity:1},100,
		function () {$("#21").animate({opacity:1},100,
		function () {$("#37").animate({opacity:1},100,
		function () {$("#2").animate({opacity:1},100,
		function () {$("#9").animate({opacity:1},100,
		function () {$("#19").animate({opacity:1},100,
		function () {$("#22").animate({opacity:1},100,
		function () {$("#29").animate({opacity:1},100,
		function () {$("#35").animate({opacity:1},100,
		function () {$("#25").animate({opacity:1},100,
		function () {$("#4").animate({opacity:1},100,
		function () {$("#30").animate({opacity:1},100,
		function () {$("#5").animate({opacity:1},100,
		function () {$("#13").animate({opacity:1},100,
		function () {$("#15").animate({opacity:1},100,
		function () {$("#41").animate({opacity:1},100,
		function () {$("#32").animate({opacity:1},100,
		function () {$("#3").animate({opacity:1},100,
		function () {$("#42").animate({opacity:1},100,
		function () {$("#23").animate({opacity:1},100,
		function () {$("#6").animate({opacity:1},100,
		function () {$("#39").animate({opacity:1},100,
		function () {$("#12").animate({opacity:1},100,
		function () {$("#20").animate({opacity:1},100,
		function () {$("#8").animate({opacity:1},100,
		function () {$("#33").animate({opacity:1},100,
		function () {$("#24").animate({opacity:1},100,
		function () {$("#16").animate({opacity:1},100,
		function () {$("#36").animate({opacity:1},100,
		function () {$("#10").animate({opacity:1},100,
		function () {$("#40").animate({opacity:1},100,
		function () {$("#28").animate({opacity:1},100,
		function () {$("#17").animate({opacity:1},100,
		function () {$("#26").animate({opacity:1},100,
		function () {$("#34").animate({opacity:1},100,
		function () {$("#11").animate({opacity:1},100);});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});});}
		)
		});
		
		
		
		$("#guestbook").click(function(){
		$("#navigation")
		.animate({top: "4200"}, 500)
		$("#lang")
		.animate({top: "4235"}, 500)
		$("#page")
		.animate({top: "-4200"}, 500)
		});
		$("#imprint").click(function(){
		$("#navigation")
		.animate({top: "5100"}, 500)
		$("#lang")
		.animate({top: "5135"}, 500)
		$("#page")
		.animate({top: "-5100"}, 500)
		});
				
		$("#home_content").load('inc/home-'+lang+'.inc');	
		if(lang == "de") {$("#news_box").load('inc/news6-'+lang+'.inc');} else {$("#news_box").load('inc/news4-'+lang+'.inc');}			
		$("#author_content").load('inc/author-'+lang+'.inc');		
		$("#travel_box").load('inc/travel2011-'+lang+'.inc');		
		$("#about_content").load('inc/about-'+lang+'.inc');
		$("#photos_content").load('inc/photos-'+lang+'.inc');
		$("#guestbook_content").load('inc/guestbook-'+lang+'.inc');
	    
		if(lang == "de") {$("#six").css('text-decoration', 'underline');} else {$("#four").css('text-decoration', 'underline');}	
		
		$("#six").click(function(){
		$("#news_box").load('inc/news6-'+lang+'.inc');
		$("#six").css('text-decoration', 'underline');
		$("#five").css('text-decoration', 'none');
		$("#four").css('text-decoration', 'none');
		$("#three").css('text-decoration', 'none');
		$("#two").css('text-decoration', 'none');
		$("#one").css('text-decoration', 'none');
		});
		
		$("#five").click(function(){
		$("#news_box").load('inc/news5-'+lang+'.inc');
		$("#six").css('text-decoration', 'none');
		$("#five").css('text-decoration', 'underline');
		$("#four").css('text-decoration', 'none');
		$("#three").css('text-decoration', 'none');
		$("#two").css('text-decoration', 'none');
		$("#one").css('text-decoration', 'none');
		});
		
		$("#four").click(function(){
		$("#news_box").load('inc/news4-'+lang+'.inc');
		$("#six").css('text-decoration', 'none');
		$("#five").css('text-decoration', 'none');
		$("#four").css('text-decoration', 'underline');
		$("#three").css('text-decoration', 'none');
		$("#two").css('text-decoration', 'none');
		$("#one").css('text-decoration', 'none');
		});
		$("#three").click(function(){
		$("#news_box").load('inc/news3-'+lang+'.inc');
		$("#six").css('text-decoration', 'none');
		$("#five").css('text-decoration', 'none');
		$("#four").css('text-decoration', 'none');
		$("#three").css('text-decoration', 'underline');
		$("#two").css('text-decoration', 'none');
		$("#one").css('text-decoration', 'none');
		});
		$("#two").click(function(){
		$("#news_box").load('inc/news2-'+lang+'.inc');
		$("#six").css('text-decoration', 'none');
		$("#five").css('text-decoration', 'none');
		$("#four").css('text-decoration', 'none');
		$("#three").css('text-decoration', 'none');
		$("#two").css('text-decoration', 'underline');
		$("#one").css('text-decoration', 'none');
		});
		$("#one").click(function(){
		$("#news_box").load('inc/news1-'+lang+'.inc');
		$("#six").css('text-decoration', 'none');
		$("#five").css('text-decoration', 'none');
		$("#four").css('text-decoration', 'none');
		$("#three").css('text-decoration', 'none');
		$("#two").css('text-decoration', 'none');
		$("#one").css('text-decoration', 'underline');
		});
		
		$("#twoeleven").css('text-decoration', 'underline');
		
		$("#twoeleven").click(function(){
		$("#travel_box").load('inc/travel2011-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'underline');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twoten").click(function(){
		$("#travel_box").load('inc/travel2010-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'underline');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twonine").click(function(){
		$("#travel_box").load('inc/travel2009-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'underline');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twoeight").click(function(){
		$("#travel_box").load('inc/travel2008-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'underline');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twoseven").click(function(){
		$("#travel_box").load('inc/travel2007-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'underline');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twosix").click(function(){
		$("#travel_box").load('inc/travel2006-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'underline');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twofive").click(function(){
		$("#travel_box").load('inc/travel2005-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'underline');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twothree").click(function(){
		$("#travel_box").load('inc/travel2003-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'underline');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twotwo").click(function(){
		$("#travel_box").load('inc/travel2002-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'underline');
		$("#twoone").css('text-decoration', 'none');
		});
		$("#twoone").click(function(){
		$("#travel_box").load('inc/travel2001-'+lang+'.inc');
		$("#twoeleven").css('text-decoration', 'none');
		$("#twoten").css('text-decoration', 'none');
		$("#twonine").css('text-decoration', 'none');
		$("#twoeight").css('text-decoration', 'none');
		$("#twoseven").css('text-decoration', 'none');
		$("#twosix").css('text-decoration', 'none');
		$("#twofive").css('text-decoration', 'none');
		$("#twothree").css('text-decoration', 'none');
		$("#twotwo").css('text-decoration', 'none');
		$("#twoone").css('text-decoration', 'underline');
		});
		
return false;
	});
