setupBody = new Class({
		initialize : function(site_url, photographer){
			
			$$('#logo', '#navigation li', '.btn_back','#photographer').each(function(el){
				el.set('tween', {duration: 'short'});
				el.addEvent('mouseenter', function() {
					el.fade(0.5);	
				});
				el.addEvent('mouseleave', function() {
					el.fade(1);
				});
				el.addEvent('click', function() {
					var link = el.getElement('a');
					window.location.href = link.getProperty('href');
				});
			},this);
			
			$$('.item_container').each(function(el){
				el.getElement('.btn').set('tween', {duration: 'short'});
				el.addEvent('mouseenter', function() {
					el.getElement('.btn').fade(1);
				});
				el.addEvent('mouseleave', function() {
					el.getElement('.btn').fade(0);
				});
				el.addEvent('click', function() {
					//var link = el.getElement('a');
					//window.location.href = link.getProperty('href');
				});
				
				el.getElement('.btn').set('opacity', '0');
			},this);
			
			$$('.gallery_thumb').each(function(el){
				if(!el.getElement('a')) {
					el.addEvent('click', function() {
						var img = el.getElement('img');
						var link = el.getParent('div.single_row').getElement('div.gallery_btn a');
						window.location.href = link.getProperty('href')+'/'+img.getProperty('image_id');
					});
				}
			},this);
			
			$$('.gallery_btn').each(function(el){
				el.set('tween', {duration: 'short'});
				var parent = el.getParent();
				var overlay = parent.getElement('.gallery_overlay');
				el.addEvent('mouseenter', function() {
					overlay.set('opacity', '1');
					var img = el.getElement('img');
					img.setProperty('src', site_url+'images/'+((photographer.type != 'default') ? 'photographers/' : '')+'arrow_right.png');
				});
				el.addEvent('mouseleave', function() {
					overlay.set('opacity', '0');
					var img = el.getElement('img');
					img.setProperty('src', site_url+'images/'+((photographer.type != 'default') ? 'photographers/' : '')+'arrow_right_g.png');
				});
				el.addEvent('click', function() {
					var link = el.getElement('a');
					window.location.href = link.getProperty('href');
				});
				overlay.set('opacity', '0');
			},this);
			
			$$('.fotograaf_container').each(function(el){
				el.getElement('.btn').set('tween', {duration: 'short'});
				el.addEvent('mouseenter', function() {
					el.getElement('.btn').fade(1);
				});
				el.addEvent('mouseleave', function() {
					el.getElement('.btn').fade(0);
				});
				el.addEvent('click', function() {
					var link = el.getElement('a');
					window.location.href = link.getProperty('href');
				});
				
				el.getElement('.btn').set('opacity', '0');
			},this);
		}
	});