window.addEvent('domready', function(){
	//First Example
	var el = $('MouseOverBox'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('MouseOverBox').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#44204C',
				'color':'#fff'
				
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				'opacity': 1,
				'backgroundColor': '#f6f4f6',
				'color':'#000'	
				
			});
		}
	});

});

/*------------------------Box2 ------------------------*/

window.addEvent('domready', function(){
	//First Example
	var el = $('MouseOverBox2'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('MouseOverBox2').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#44204C',
				'color':'#fff'				
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				'opacity': 1,
				'backgroundColor': '#f6f4f6',
				'color':'#000'	
				
			});
		}
	});

});


/*------------------------Box3 ------------------------*/

window.addEvent('domready', function(){
	//First Example
	var el = $('MouseOverBox3'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('MouseOverBox3').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#44204C',
				'color':'#fff'
				
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				'opacity': 1,
				'backgroundColor': '#f6f4f6',
				'color':'#000'	
				
			});
		}
	});

});


/*------------------------Box4 ------------------------*/

window.addEvent('domready', function(){
	//First Example
	var el = $('MouseOverBox4'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('MouseOverBox4').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#44204C',
				'color':'#fff'
				
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				'opacity': 1,
				'backgroundColor': '#f6f4f6',
				'color':'#000'	
				
			});
		}
	});

});


/*------------------------Box5 ------------------------*/

window.addEvent('domready', function(){
	//First Example
	var el = $('MouseOverBox5'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('MouseOverBox5').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#44204C',
				'color':'#fff'
				
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				'opacity': 1,
				'backgroundColor': '#f6f4f6',
				'color':'#000'	
				
			});
		}
	});

});

