window.addEvent('domready', function() {
	var el = $('myElement');
	
	// MooTools is able to handle effects without the use of a wrapper,
	// so you are able to do effects with just one easy line.
//THIRD EXAMPLE
	
	var anotherEl = $('anotherElement');
	// Again we are able to create a morph instance
	var morph = new Fx.Morph('anotherElement');
	
	
	
	
	$('morphEffect').addEvent('click', function(e) {
		e.stop();
		morph.start({
			color: '#ffffff'
		});
	});
	

	
	$('resetEffect1').addEvent('click', function(e) {
		e.stop();
		// You need the same selector defined in the CSS-File
		anotherEl.morph('div.demoElement');
	});
});