try {
		
	$('productTypeCommonAdvantages').hide();
	Event.observe($('toggleCADiv'), 'click', blindDown);
}
catch (e) {}

function blindDown() {
	
	Event.stopObserving($('toggleCADiv'), 'click', blindDown);
	var el = $('productTypeCommonAdvantages');
	new Effect.BlindDown(el, {
		afterFinish: function() {
			Event.observe($('toggleCADiv'), 'click', blindUp);
		}
	});
}

function blindUp() {
	
	Event.stopObserving($('toggleCADiv'), 'click', blindUp);
	var el = $('productTypeCommonAdvantages');
	new Effect.BlindUp(el, {
		afterFinish: function() {
			Event.observe($('toggleCADiv'), 'click', blindDown);
		}
	});
}

function switchToDetail(id, href) {

	try {
			
		$('content').hide();
		$('footer').hide();
		
		location.href = '#pd' + id;
		location.href = href;
	}
	catch (e) {
	}
	finally {
		
		location.href = href;
	}
}