window.addEvent('domready', function() {
	// You can skip the following two lines of code. We need them to make sure demos
	// are runnable on MooTools demos web page.
	if (!window.demo_path) window.demo_path = '';
	var demo_path = window.demo_path;
	// --
	$$('#myForm1,#myForm2,#myForm3,#myForm4,#myForm5,#myForm6,#myForm7,#myForm8,#myForm9,#myForm10,#myForm11,#myForm12,#myForm13,#myForm14,#myForm15,#myForm16,#myForm17,#myForm18,#myForm19,#myForm20,#myForm21,#myForm22,#myForm23,#myForm24,#myForm25,#myForm26,#myForm27,#myForm28,#myForm29,#myForm30,#myForm31,#myForm32,#myForm33,#myForm34,#myForm35,#myForm36,#myForm37,#myForm38,#myForm39,#myForm40,#myForm41,#myForm42,#myForm43,#myForm44,#myForm45,#myForm46,#myForm47,#myForm48,#myForm49,#myForm50,#myForm51,#myForm52,#myForm53,#myForm54,#myForm55,#myForm100,#myForm200,#myForm300').addEvent('submit', function(e) {
		//Prevents the default submit event from loading a new page.
		e.stop();
		//Empty the log and show the spinning indicator.
		var log = $('log_res').empty().addClass('ajax-loading');
		//Set the options of the form's Request handler. 
		//("this" refers to the $('myForm') element).
		this.set('send', {onComplete: function(response) { 
			log.removeClass('ajax-loading');
			log.set('html', response);
		}});
		//Send the form.
		this.send();
	});
	
	
	

});
