/////////////////////////////////////////
// combo's //
/////////////////////////////////////////
$(function(){
$('.combo .description').hide(0);
	$('.combo .summary').click(function(){
	
	var
	el = this,
	node = $(this).next();
	
	$('.combo .summary').each(function(){
	$(this).removeClass('expanded');
	});
	
	$('.combo .description').each(function(){
	if( $(this).is(':visible') && $(this).get(0) != $(node).get(0) )
	$(this).hide(0);
	});
	
	$(node).is(':hidden') ?
	$(node).show(0) && $(el).addClass('expanded').ScrollTo('slow') :
	$(node).hide(0) && $(el).removeClass('expanded') && $('body').ScrollTo('slow') ;
	
	});

});
/////////////////////////////////////////
// index map //
/////////////////////////////////////////
$(function(){

	$('map area').hover(function(){
	var
	country = $(this).attr('alt');
	$('#index-map span').addClass(country);
	}, function() {
	//do mouse out stuff here, can usually be left blank
	});
	
	$('map area').click(function(){
	var
	country = "#"+$(this).attr('rel');
	$('ul li ul').hide();
	$(country).show();
	});

});
/////////////////////////////////////////
// expandable menu's //
/////////////////////////////////////////
$(function(){
$('ul li ul').hide(0);
$('ul#city-info li ul').show(0);
	$('ul li a').click(function(){
	
	var
	el = this,
	node = $(this).next();
	
	$('ul li a').each(function(){
	$(this).removeClass('expanded');
	});
	
	$('ul li a ul').each(function(){
	if( $(this).is(':visible') && $(this).get(0) != $(node).get(0) )
	$(this).hide(0);
	});
	
	$(node).is(':hidden') ?
	$('ul li ul').hide(0) && $(node).show(0) && $(el).addClass('expanded') :
	$(node).hide(0) && $(el).removeClass('expanded') ;
	
	});

});