window.addEvent('domready', function() {
	var el = $('myElement');
	
	//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();
		var lg = document.getElementById('lg_zoom');
		document.images["anotherElement"].src = "../includes/menu_zoom/lcomposant_"+lg.value+".jpg";
		
		morph.start({
			width: '800px',
			height : '524px',
			color: '#C6D880',
			position: 'absolute'
		});
	});
	
	
	$('resetEffect1').addEvent('click', function(e) {
		e.stop();
		// You need the same selector defined in the CSS-File		
		anotherEl.morph('div.demoElement');
		document.images["anotherElement"].src = "../img/lcomposants.jpg";		
	});
});