/**
 * @author DiS
 */
	
	function updateScroll() {
		if($('html').hasClass('explorer7')){
			var scrollh = 20;
			var btm  = 79;
		}
		else {
			
			var btm  = 75;
			var scrollh = 17;
		} 
		
		$("#scroll").height(parseInt($(window).height()) - btm + scrollh);
//		$("#scrollDiv").height(parseInt($("#body").height()) - 47 - btm);
		$("#scrollDiv").height(parseInt($(window).height()) - btm);
//alert($("#body").height());
//		alert(parseInt($("#body").height()) - 47 - btm);
//	alert(parseInt($(window).height()) - 47 - btm + scrollh);
		
	}
	
	$(window).resize(function() {
		
		updateScroll();
		
	});
	
	$(document).ready(function() {
		
		updateScroll();
		
		$('.address_link').click(function(){
			
			$('#address_hint div').hide();
			$('#address_hint .address_'+$(this).attr('href').slice(1)).show();
			$('#address_hint').show();
			
			return false;
		});
		
		$('#address_hint').click(function(){
			
			$('#address_hint').hide();
			
		});
		
	});
	
	function contentShow() {
		
		$("#showSite").hide();
		//$("#site").stop().animate({opacity: 1}, 500);
		$("#content").show();
//		$('#logo img').attr({'src':'/images/logo.png'});
		$('#image').hide();
	}
	
	function contentHide() {
		
		$("#showSite").show();
		//$("#site").stop().animate({opacity: 0.9}, 500);
		$("#content").hide();
		$('#image').show();
//		$('#logo img').attr({'src':'/images/logo_gal.png'});
	}
	

	function infoSlide(n) {
		
		$("#list" + n).slideToggle();
		
	}
	
