google.load("jquery", "1");
google.setOnLoadCallback(init);

function init(){
	
	$('.toggleContent').each(function(){
		$(this).css('height',$(this).height()+'px');
		$(this).hide();
	});
	
	$('.toggle').click(function(){
		contentBoxId=$(this).attr('id').replace('toggle_','content_');
		contentBox=$('#'+contentBoxId);
		contentBox.slideToggle('slow');
							
		if($(this).css('background-position')=='0% 0%')
			$(this).css('background-position','0% 100%');
		else
			$(this).css('background-position','0% 0%');
	})
}


