$(document).ready(function() {
	$('.red a span').click(function() {
		var showATT = $(this).attr('class');
		$(this).text($(this).text() == '+' ? '-' : '+');
		$('#'+showATT).toggle();
		return false;
	});
	
});


function overIcon(element,xPos,yPos) {
	if($(element).hasClass('current')) {
		
	} else {
		newPos = xPos + 'px '+yPos+'px'
		$(element).css('backgroundPosition',newPos);
	}
}

function gallery(element,time) {
	setInterval(function() {	 
		var currIMG = $(element).find('.current');
		if($(element).find('.current').next().html() != null) {	
			var nextIMG = $(element).find('.current').next();
		} else {
			var nextIMG = $(element).find('DIV:first');
		}
		$(currIMG).fadeOut('slow');
		$(nextIMG).fadeIn('slow');		
		$(element).find('DIV').removeClass('current');
		$(nextIMG).addClass('current');
	},time);
}
