window.addEvent('domready', function(){
	//First Example
if($('hover0'))
{
	var el = $('hover0'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$('hover0').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover1'))
{
	// We are setting the opacity of the element to 0.5 and adding two events
	$('hover1').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover2'))
{
	$('hover2').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover3'))
{
	$('hover3').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover4'))
{
	$('hover4').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover5'))
{
	$('hover5').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
if($('hover6'))
{
	$('hover6').set('opacity', 0.65).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#121212'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 0.65,
				backgroundColor: '#000000'
			});
		}
	});
}
});