$(document).ready(
	function () {
		$('a.closeEl').bind('click', toggleContent);
		//$('.itemHeader').bind('click', toggleContents);
		$('#xpand a').bind('click', toggleContentss);
		$('#xpand2 a').bind('click', toggleContentsss);
		$('#xpand3 a').bind('click', toggleContentssss);
		$('#xpand4 a').bind('click', toggleContentsssss);
		$('#xpand5 a').bind('click', toggleContentssssss);
	}
);
var voltar = function(){
	history.back(-1);
	setTimeout('toggleContentss()',2000);
	$('div#a3.groupItem').css("display","block");
};
var toggleContent = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		targetContent.slideDown(300);
		$(this).html('[-]');
	} else {
		targetContent.slideUp(300);
		$(this).html('[+]');
	}
	return false;
};
var toggleContents = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode);
		
	if (targetContent.css('display') == 'none') {
		targetContent.slideDown(300);
		//debugger;
		$('a.closeEl').html('[-]');
		//$(this.firstChild).html('[-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		//$(this.firstChild).html('[+]');
	}
	return false;
};
var toggleContentss = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		//debugger;
		targetContent.slideDown(300);
		$('a.closeEl').html('[-]');
		$(this).html('Fechar todos [-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		$(this).html('Abrir todos [+]');
	}
	return false;
};
var toggleContentsss = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		//debugger;
		targetContent.slideDown(300);
		$('a.closeEl').html('[-]');
		$(this).html('Fechar todos [-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		$(this).html('Abrir todos [+]');
	}
	return false;
};

var toggleContentssss = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		//debugger;
		targetContent.slideDown(300);
		$('a.closeEl').html('[-]');
		$(this).html('Fechar todos [-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		$(this).html('Abrir todos [+]');
	}
	return false;
};

var toggleContentsssss = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		//debugger;
		targetContent.slideDown(300);
		$('a.closeEl').html('[-]');
		$(this).html('Fechar todos [-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		$(this).html('Abrir todos [+]');
	}
	return false;
};

var toggleContentssssss = function(e)
{
	var targetContent = $('div.itemContent', this.parentNode.parentNode);	
	if (targetContent.css('display') == 'none') {
		//debugger;
		targetContent.slideDown(300);
		$('a.closeEl').html('[-]');
		$(this).html('Fechar todos [-]');
	} else {
		targetContent.slideUp(300);
		$('a.closeEl').html('[+]');
		$(this).html('Abrir todos [+]');
	}
	return false;
};