$(document).ready(function(){
	$('.menu-left-top ul li .plus').click(function() {
		$('.drop-menu').css('display', 'none');
        $(this).parent().children('.drop-menu').css ('display', 'block');
		return false;
    });
	
	$('.drop-menu').click(function() {
		$(this).css('display', 'none');
	});
	
	$('.childrens .item a.hideLink').click(function() {
		var divID = '#' + $(this).attr('href');
		var descrID = '#' + $(this).attr('descr');
		if ($(divID).css('display') == 'none'){
			$(divID).show('fast');
			$(descrID).hide('fast');
			$(this).css('background', 'url("/images/-.JPG") no-repeat scroll right 3px transparent');
		}
		else {
			$(divID).hide('fast');
			$(descrID).show('fast');
			$(this).css('background', 'url("/images/+.jpg") no-repeat scroll right 3px transparent');
		}
		return false;
	});
	
	$('.center ul.have-margin').autocolumnlist({columns: 4});

	$('.column:first').css('padding-left','13px');
	$('.column:eq(1)').css('padding-left','40px');
	
	if (location.hash != ''){
		var hash = location.hash;
		hash = hash.substr(1);
		$('.childrens .item a.hideLink[name=' + hash + ']').click();
		location.hash = location.hash;
	}
});
