window.addEvent('domready', function(){
	//First Example
	var el = $$('.sidebar li');
	var el2 = $$('.sidebar a');
	var el3 = $$('.title a');
	var el4 = $$('.pic'),
	color = el.getStyle('Color');
	Color2=el2.getStyle('backgroundColor');
	// We are setting the opacity of the element to 0.5 and adding two events
	el.set('opacity', 1).addEvents({
									 
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 0.8,
				'color': '#FF0000'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 1,
				'color': '#FFFFFF'
			});
		}
	});
	el2.set('opacity', 1).addEvents({
									 
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 0.8,
				'color': '#FF0000'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 1,
				'color': '#FFFFFF'
			});
		}
	});
	
	
	
	
	
	
	el3.set('opacity', 1).addEvents({
									 
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			
			
			
			this.morph({
				
				'color': '#FF0000'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			
			
			this.morph({
				
				'color': '#FFFFFF'
				
			});
		}
	});

});
