$(document).ready(function(){
					
	// settings
    lastBlock = $("#firstblock");
    maxWidth = 376;
    minWidth = 48;
	
	// show first block
	$("#firstblock .location-right").show();
	
	// get the initial block id
	$("#accordian li").mouseenter(
		function(){
			
			block = $(this).attr("id");
		}
	);
	
	$("#accordian li .select").click(
		function(){
			$('.location-info').hide();
		}
	);
	
	// toggle accordian
    $("#accordian li ").hover(
      function (){
		  
		  
		$('.location-right').hide();
		
        $(lastBlock).animate({width: minWidth+"px"}, { queue:false, duration:0});
				
		$(this).animate({width: maxWidth+"px"}, { queue:false, duration:0});
		
	    lastBlock = this;			
		
		block = $(this).attr("id");
		
		showelement = '#' + block + ' .location-right';

		$(showelement).show();
		
      }
    );
	
	// toggle more info
	
	/* Jan 2011, Disabled by request because no content was ever added here
	$(".toggle-info").click( function(){
	
	display_info = '#' + block + ' .location-info';
	
	$(display_info).slideToggle();
		
		
	});
	*/
	
});
