window.addEvent('domready', function() {  
 
var sliders = $$(".slide");
 
var triggers = $$(".slide_trigger") ;
 
/* sliders and triggers are arrays!! */
 
/* For each instance of .slide_trigger triggers[x] (note the anonymous function)*/ 
triggers.each(function( o, x ){ 	
 
	var sl = new Fx.Slide( sliders[x], { } );	/* Instantiate a new slider effect on the matching .slide element */
 
		$(triggers[x]).addEvent('click',function(e){  /* Add a click event to the [x]th trigger */
		e = new Event(e);			  /* the event */
		sl.toggle();				  /* Toggle the slider condition */
		e.stop(); 				  /* Stop the event from bubbling */
		})					  
		sl.hide(); 				  /* Hide the slider */
		});	// end of triggers.each
 
}  ) // end of window.addevent
