function SlideShowSetup(containerSel, sliderSel){
				
	var navigationShow = new SlideShow(sliderSel, {
    	transition: 'pushLeft',
		delay: 6000,
		autoplay: true
    });
    
    
    // these will control the slideshow
    var navs = $(containerSel).getElements('.nav li');
    

    // add click events to the elements
    navs.each(function(element, index){
    	element.addEvent('click', function(){
    		// going to figure the current index of the slideshow
    		// and change the transition to go the "right" way
    		// so it feels like a typical "panel" kind of widget
    		var currentIndex = navigationShow.slides.indexOf(navigationShow.current);
    		var transition = (currentIndex < index) ? 'pushLeft' : 'pushRight';
    		// ignoring the last two lines this is really
    		// quite simple, the indicies of the nav elements
    		// and the slide elements match ... so just show the index
    		navigationShow.show(index, { transition: transition });
    	});
    });
    
    // adding span-tags to each nav-item
    navs.each( function(el,i) {
    	var mySpan = new Element('span', {
    		'html' : el.innerHTML
    	});
    	el.empty();
    	mySpan.inject(el);
    });
    
    // morph the style of the nav elements
    navigationShow.addEvent('show', function(slideData){
/*
    	navs[slideData.previous.index].morph('.normal');
    	navs[slideData.next.index].morph('.current');
*/
		navs[slideData.previous.index].removeClass('current');
		navs[slideData.next.index].addClass('current');
    });
    
    // set the initial slide to current
    navs[0].addClass('current');/* navs[0].morph('.current'); */
    
    // add Keyboard
    $(document).addEvent('keyup', function(event){
    	// couldn't be any easier!
    	if (event.key == 'left')
    		navigationShow.showPrevious({ transition: 'pushRight' });
    	else if (event.key == 'right')
    		navigationShow.showNext({ transition: 'pushLeft' });
    });
    
    
    var history = new HashEvents().addEvents({
    	// using my history manager to control the main tab slideshow
    	'slider-container':    function(){ mainTabs.show(2) }
    }).check();

}
