// Rotator Script
/*
$(function() {
		$("#rot-images img:first-child").fadeTo("fast", 1).css('zIndex',5000);
		$("#home-rotator-controls li:first-child").addClass("selected");
		$("#home-rotator-controls li").click(function() {
			$active = $(this);
			clearInterval(play);
			rotate();
			rotateSwitch();
			return false;
		});

		rotate = function(){
			var triggerID = $active.attr("rel") - 1;
			$("#home-rotator-controls li").removeClass("selected");
			$active.addClass("selected");
			$("#rot-images img").fadeTo("fast", 0.75).css('zIndex',0);
			$("#rot-images #"+$active.attr("title")+"-photo").fadeTo("fast", 1).css('zIndex',5000);
		};

		rotateSwitch = function(){
			play = setInterval(function(){
				$active = $("#home-rotator-controls li.selected").next();
				if ( $active.length === 0) {
					$active = $("#home-rotator-controls li:first");
					clearInterval(play);
				}
				rotate();
			}, 4000);
		};

		$("#rotator").hover(function() {
			clearInterval(play);

		}, function() {
			rotateSwitch();

		});
		rotateSwitch();
});
*/
