function loadEvents() { // functions here will be executed on body load
	gliderLoads();
}

function gliderLoads() {
	// add your gliders after with tests to ensure that your script only runs on pages where your glider exists!
	if ( $('my-glider') ) {
		var my_glider = new Glider('my-glider', {autoGlide: true, duration: 1, frequency: 10, initialSection: 'section1'}); // registration glider
	} 
}


// MAIN BODYONLOAD EVENT HANDER 
Event.observe( window, 'load', loadEvents );
