$(function()
{
	$("dl").hide();
	$("h4 a").click(function(){
		var e = this;
		if ( !$(e).parent().next('dl').is(':visible') )
		{
			$("dl:visible").slideUp(500);
			$("h4 img").attr("src","/media/img/common/ico_plus_white.gif");
			$(e).parent().next('dl')
				.slideUp(20,function() {
					el = $(e).parent().next();
					el.slideDown(500);
					$(e).parent().find('img:first').attr("src","/media/img/common/ico_minus_white.gif");
				});
		}
		else {
			$(e).parent().next('dl').slideUp(500,function() {
				$(e).parent().find('img:first').attr("src","/media/img/common/ico_plus_white.gif");
			});
		}
		return false;
	});

	if ( document.location.toString().split('#').length > 1 )
	{
		var id = document.location.toString().split('#')[1];

		$('#'+id +' a').click();

		setTimeout(function(){$.scrollTo('#'+id);},500);
	}
	else
	{
		$("h4:first a").click();
	}
});