openCnt = 1;	
function openAll () {
	$('#expand').html('Close all');
	$('.bodyNews').show('fast');		
	openCnt = 3;
}
function closeAll () {
	$('#expand').html('Expand all');
	$('.bodyNews').hide('fast');			
	openCnt = 0;
}
$(document).ready(function () {
	$('.bodyNews:eq(0)').show('fast');
	$('a.bodyHead').click(function () {
		if( $(this).next().css('display') == 'none'){
			$(this).next().show('fast');
			openCnt++;
			if (openCnt == 3) openAll();
		} else {
			$(this).next().hide('fast');
			openCnt--;	
			if (openCnt == 0) closeAll();			
		}
		return false;
	});
	$('#expand').click(function () {
		if( $(this).html() == 'Expand all'){
			openAll();			
		} else {
			closeAll();
		}
		return false;
	});
});