// JavaScript Document
$(document).ready( function($){ simpleSlide(); 
	$('.simpleSlide-window').live('mouseover mouseout', 
		function(event) {
			if(event.type == 'mouseover'){
				$(this).children('.left-button, .right-button').stop(true, true).fadeIn();
			}
			else {
				$(this).children('.left-button, .right-button').stop(true, true).fadeOut();
			}
		}
	);
	$('.auto-slider').each( function() {							 
						var related_group = $(this).attr('rel');
						clearInterval($.autoslide);
						$.autoslide = setInterval("simpleSlideAction('.right-button', " + related_group + ");", 4000);
					});
});
