
			    document.observe('dom:loaded', function () { 
			        new Effect.Fade('additionalImages', {duration:0});
			    });
				var contentEls3 = document.getElementById("thumbnail_images").getElementsByTagName("a");
				for(var i=0; i<contentEls3.length; i++) {
					contentEls3[i].onmouseover = animChange3;
					contentEls3[i].onmouseout = animRestore3;
					if (contentEls3[i].id != 'btnMore') {
						contentEls3[i].onclick = animClick3;
					}
				}
			
				var sumTotal = parseInt(parseInt(document.getElementById("thumbnail_images").offsetWidth - parseInt(contentEls3.length * '2')) / contentEls3.length);
				for(var i=0; i<contentEls3.length; i++) {
					contentEls3[i].style.maxWidth = sumTotal + 'px';
				}
			
				function animChange3() {
					var queue = Effect.Queues.get(this.id);
					queue.each(function(effect) { effect.cancel(); });
					if (!this.style.opacity) this.style.opacity = 0.999999;
					
					new Effect.Morph(this, {style:'opacity:0.6;',duration:0.2, queue: { position: 'end', scope: this.id }});
				}
		
				function animRestore3() {
					if (!this.style.opacity) return;
					
					new Effect.Morph(this, {style:'opacity:1;',duration:0.8, queue: { position: 'end', scope: this.id }});
				}
				function animClick3() {
					var queue = Effect.Queues.get(this.id);
					queue.each(function(effect) { effect.cancel(); });
					new Effect.Morph(this, {style:'opacity:0.4;',duration:0.1, queue: { position: 'end', scope: this.id }});
					new Effect.Morph(this, {style:'opacity:0.6;',duration:0.1, queue: { position: 'end', scope: this.id }});
					
					slides.gotoSlide(this.rel);
					slides.stop();
					return false;
				}
				function showMore() {
					new Effect.Appear('additionalImages', {duration:0.8});
				}
