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 = $('expand');
	
	// Again we are able to create a morph instance
	var morph = new Fx.Morph('expand');

	// Or we just use Element.morph
	$('open').addEvent('click', function(e) {
		e.stop();
		// Changes the element's style to .myClass defined in the CSS
		anotherEl.morph('.myClass');
	});
	
	$('close').addEvent('click', function(e) {
		e.stop();
		// Changes the element's style to .myClass defined in the CSS
		anotherEl.morph('.myClass2');
	});
	
	
	

});
