// JavaScript Document

// Função para o abre e fecha
// Para resolver conflito com PROTOTYPE.JS, adiciona-se a linha -- jQuery.noConflict(); -- no script
// E substitui-se -- $ -- por jQuery
// Na função abaixo o original era -- $('#toggle-view') etc etc --
jQuery.noConflict();
jQuery(document).ready(function () {
	
	jQuery('#toggle-view li').click(function () {

		var text = jQuery(this).children('.links');

		if (text.is(':hidden')) {
			text.show();
			jQuery(this).children('span').html('-');		
		} else {
			text.hide();
			jQuery(this).children('span').html('+');		
		}
		
	});

});

