$(function(){	

	$('.iw-directions').hide();

var arr = [ 1, 2, 3, 4, 5];

	// oculta divs internos del las secciones
	$.each(arr, function() {
		$('#showhide' + this).hide("slow");
	});

	$.each(arr, function() {
		$('#showdiv' + this).removeClass('hover');
	});

	$('.trigger').click(function() {
		id = this.id;
		$.each(arr, function() {
			if (('showdiv' + this) == (id)) {
				$('#showhide' + this).toggle();
				$('#showdiv' + this).toggleClass('hover');
			} else {
				$('#showhide' + this).hide();
				$('#showdiv' + this).removeClass('hover');
			}
		});
	});
});

