function toggleAttributesBlock(imageId) {
	attributeBlock = document.getElementById('attributes_block_' + imageId);
	if ('none' == attributeBlock.style.display) {
		attributeBlock.style.display = 'block';
		attributeBlock.style.visibility = 'visible';
	}
	else {
		attributeBlock.style.display = 'none';
	}
	
	icone = document.getElementById(imageId);
	srcAttribute = icone.getAttribute('src');
	if (srcAttribute.indexOf('plus') != -1) {
		var reg=new RegExp("(plus)", "g");
		imageSrc = srcAttribute.replace(reg, 'moins');
	}
	else {
		var reg=new RegExp("(moins)", "g");
		imageSrc = srcAttribute.replace(reg, 'plus');
	}
	icone.setAttribute('src', imageSrc);
}