jQuery.fn.navigationTree = function() {
	  return this.each(function() {
		$(this).find('.node').each(function(){
			var node = $(this);
			var content = node.find('.node-content:first');
			node.find('.node-text:first').bind('click', function(){
				content.toggle('fast')});
		});
	 });
};

$(document).ready(function() {
	$('.navigation-tree').navigationTree();
});

jQuery.fn.toggleArea = function() {
	  return this.each(function() {
		var img = $(this).find('.body-r img:first');

		$(this).bind('click', function(){ 			
			img.toggle('fast')});
		});

};

$(document).ready(function() {
	$('.toggle-area').toggleArea();
});


