$(document).ready(function(){

//	$('#col-nav .children').addClass('show-me');

	var getBody = $('body').attr('id');
/*	if ( getBody == 'default' ) {
		$('#col-nav .children').css('display','none');
	}*/

	$('.destinations li').each(function (i) {
        if ( $(this).attr('class') == getBody ) {
			$(this).find('span').toggleClass('selected');
			$(this).find('.children').toggleClass('show-me');

			// Show parent country - this should be set on server side
			$(this).parent().parent().find('.destinations').toggleClass('show-me');
        }
	});

	$('ul.widget_menubar li span:nth-child(1), ul.widget_menubar li a.country').click(function (){
		$(this).parent().find('span:eq(0)').toggleClass('selected');
		$(this).parent().find('.destinations').toggleClass('show-me');
		return false;
	});


	$('ul.destinations li span').click(function (){
		$(this).toggleClass('selected');
		$(this).parent().find('.children').toggleClass('show-me');
	});
	
});