﻿	window.addEvent('domready', function() {

		//variables for making things more simple below

		var itemsHolder = $('slider');

		var myItems = $$('.current');

		var thePrevBtn = $('prev');

		var theNextBtn = $('next');

		//create an instance of the slider, and start it up

		var mySlider = new SL_Slider({

			slideTimer: 6000,

			isPaused: true,
			fade: true,

			container: itemsHolder,

			items: myItems,

			prevBtn: thePrevBtn,

			nextBtn: theNextBtn

		});

		mySlider.start();
		
		//adding a little animated rollover highlight to the play and prev/next buttons
					 
	});

