$(document).ready(function(){
	$('.blind > a').click(show);
	//$('.info a').unbind('click', show);//function(){return false;});
	//$('.info a').click(function(){window.location = this.href;});
});

function oldshow() {
	var speed = 'normal';
	var el = $('.info', this);

var adv = document.getElementById('advantages');
adv.style.overflow = 'hidden';

	$('.info').each(function(){
		if (this.style.display != 'none') {
			// the complex but "safe" way
			// still has problems when you double click several quickly
			$(this).filter('.slidingup').slideDown(speed).end()
				.not('.slidingup')
				.addClass('slidingup')
				.slideUp(speed, function(){
					$(this).removeClass('slidingup');
				})
			;
			// the simple way - strange appearance when rapidly closing and reopening
			//$(this).slideUp(speed);
		}
	});

	if ($(el).css('display') == 'none') {
		$(el).not('.slidingdown')
			.addClass('slidingdown')
			.slideDown(speed, function(){
				$(this).removeClass('slidingdown');
			})
		;
	}
	else {
		/*$(el).slideUp(speed);*/
	}

	if (this.blur)
		this.blur();

adv.style.overflow = 'visible';

	return false;
}

function show() {
	var speed = 'normal';
	var el = $('.info', $(this).parent());

var adv = document.getElementById('advantages');
adv.style.overflow = 'hidden';

	if($(el).filter('.down').length == 1) {
		$(el).removeClass('down').animate({height: 'hide', opacity: 'hide' }, speed);
	}
	else {
		$(el).addClass('down').animate({height: 'show', opacity: 'show' }, speed);
	}

	$('.down').not(el.get(0)).removeClass('down').animate({height: 'hide', opacity: 'hide' }, speed);

	if (this.blur)
		this.blur();

adv.style.overflow = 'visible';

	return false;
}
