/** not used
AG.Colors = new function()
{
	this.setColorsVisibility = function(link) {
		
		var scriptUrl = 'http://' + document.location.host + '/ajax/set_colors_visibility.php';
		
		$.ajax({
			type: 'POST',
			url: scriptUrl,
			data: {'Link' : link}
		});
	}	
}
*/

$(function() {
   
   $("#showAll").click(function (e) {
		
		$(".additionalColor").each(function(){
			$(this).toggle();
		});
		
		if($(this).html() == "show all") {
			$(this).html("hide all")
		}
		else {
			$(this).html("show all")
		}
   });
   
});