window.onload = function() {
	initLightbox();

// MOO.FX OPACITY 
		
	landscapeOpacity = new fx.Opacity('landscape', {duration: 800, onComplete: function()
 		  { natureOpacity.setOpacity(0); blackWhiteOpacity.setOpacity(0); architectureOpacity.setOpacity(0); fashionOpacity.setOpacity(0); }
 	});
	
	architectureOpacity = new fx.Opacity('architecture', {duration: 800, onComplete: function()
 		  { natureOpacity.setOpacity(0); blackWhiteOpacity.setOpacity(0); landscapeOpacity.setOpacity(0); fashionOpacity.setOpacity(0); }
 	});
	
	natureOpacity = new fx.Opacity('nature', {duration: 800, onComplete: function()
 		  { landscapeOpacity.setOpacity(0); blackWhiteOpacity.setOpacity(0); architectureOpacity.setOpacity(0); fashionOpacity.setOpacity(0); }
 	});
	
	blackWhiteOpacity = new fx.Opacity('blackWhite', {duration: 800, onComplete: function()
 		  { landscapeOpacity.setOpacity(0); natureOpacity.setOpacity(0); architectureOpacity.setOpacity(0); fashionOpacity.setOpacity(0); }
 	});
	
	fashionOpacity = new fx.Opacity('fashion', {duration: 800, onComplete: function()
 		  { landscapeOpacity.setOpacity(0); natureOpacity.setOpacity(0); architectureOpacity.setOpacity(0); blackWhiteOpacity.setOpacity(0); }
 	});
				
		landscapeOpacity.setOpacity(0);
		architectureOpacity.setOpacity(0);
		natureOpacity.setOpacity(0);
		blackWhiteOpacity.setOpacity(0);
		fashionOpacity.setOpacity(0);
						
		new ParseClassNames({duration: 300});	
		}

// HIDE/DISPLAY FUNCTIONS 
// (to combat moo.fx's weak "hide" function that doesn't truly hide elements...now links aren't clickable 
//	on elements that aren't shown)
function displayLandscape() { document.getElementById('landscape').style.display = ''; }
function displayArchitecture() { document.getElementById('architecture').style.display = ''; }
function displayNature() { document.getElementById('nature').style.display = ''; }
function displayBlackWhite() { document.getElementById('blackWhite').style.display = ''; }
function displayFashion() { document.getElementById('fashion').style.display = ''; }
		
function hideAll() {
		document.getElementById('landscape').style.display = 'none';
		document.getElementById('architecture').style.display = 'none';
		document.getElementById('nature').style.display = 'none';
		document.getElementById('blackWhite').style.display = 'none';
		document.getElementById('fashion').style.display = 'none';
		}