var box = {};
window.addEvent('domready', function(){
		box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});	
});

window.addEvent('domready', function(){

	
	
	//First Example
	var el = $('fadeElement1');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('fadeElement1').set('opacity', 0.3).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.3
			});
		}
	});
	
	
	
	
	var el2 = $('fadeElement2');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('fadeElement2').set('opacity', 0.3).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.3
			});
		}
	});
	
	
	
	var el4 = $('fadeElement3');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('fadeElement3').set('opacity', 0.3).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.3
			});
		}
	});
	
	
		var el3 = $('activeElement');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('activeElement').set('opacity', 1.0);
	
	
			
				

});

	
	
	



