window.addEvent('domready', function(){	//1 Window	var el = $('website1'),		color = el.getStyle('backgroundColor');		// We are setting the opacity of the element to 0.5 and adding two events	$('website1').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 2 Window$('website2').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 3 Window$('website3').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 4 Window$('website4').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 5 Window$('website5').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 6 Window$('website6').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 7 Window$('website7').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});// 8 Window$('website8').set('opacity', 0.5).addEvents({		mouseenter: function(){			// This morphes the opacity and backgroundColor			this.morph({				'opacity': 1,				'background-color': '#829081'			});		},		mouseleave: function(){			// Morphes back to the original style			this.morph({				opacity: 0.5,				backgroundColor: color			});		}	});	// Second Example		// The same as before: adding events	$('myOtherElement').addEvents({		'mouseenter': function(){			// Always sets the duration of the tween to 1000 ms and a bouncing transition			// And then tweens the height of the element			this.set('tween', {				duration: 1000,				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'			}).tween('height', '150px');		},		'mouseleave': function(){			// Resets the tween and changes the element back to its original size			this.set('tween', {}).tween('height', '20px');		}	});});