		//adjusters
		var speed = 1000; //news change speed
		var fadeSpeed = 1000; //fade out speed of images
		var image_speed = 6000; //image "lasting" time, should be greater then fade speed so weird effects don't happen
	
		
		var current_image;
		var next_image;
		
		var current_image_position = 0;
		
		var animating = false;
		var image_timer;
		
		var current_font_size = 12;
		
		var current_news_position = 0;
		
		var numNews = 0;
		
		var news_container;
		
		var font_adjusters = [
			// Main content - public inside
			{span:'#rg9077 .inplacedisplayid1siteid77', multiplier: 1}, //starts at 12 px
			{span:'#rg9077 .titleorimageid1siteid77', multiplier: 1.5}, //starts at 18 px

			// Main content - fellows inside
			{span:'#rg9076 .inplacedisplayid1siteid77', multiplier: 1}, //starts at 12 px
			{span:'#rg9076 .titleorimageid1siteid77', multiplier: 1.5}, //starts at 18 px

			// Breadcrumb - fellows inside
			{span:'#rg2599 .titleorimageid1siteid77', multiplier: 1}, //starts at 12 px
			{span:'#rg2599 .titleid1siteid77', multiplier: 1}, //starts at 12 px

			// Breadcrumb - public inside
			{span:'#rg9075 .titleorimageid1siteid77', multiplier: 1}, //starts at 12 px
			{span:'#rg9075 .titleid1siteid77', multiplier: 1}, //starts at 12 px

			// Featured content - public landing
			{span:'#rg9055 .inplacedisplayid1siteid77',multiplier: 1}, //starts at 12 px
			{span:'#rg9055 .titleorimageid1siteid77', multiplier: 1.167}, //starts at 14 px

			// Featured content - fellows landing
			{span:'#rg9065 .inplacedisplayid1siteid77', multiplier: 1}, //starts at 12 px 
			{span:'#rg9065 .titleorimageid1siteid77', multiplier: 1.167} //starts at 14 px
		];
				
		$(document).ready(function(){
			$("#rotator_link").attr("href", image_links[image_rotator[0].image]);

			current_image = $("#rotator img.current");
			next_image = $("#rotator img.next");
			
			numNews = $("div.third li").length;
			news_container = $("div.third ul");
						
			$("#latest_news div.second img.up").click(function(){ adjust_news(-1); });
			$("#latest_news div.second img.down").click(function(){ adjust_news(1); });
			
			$("#controls div.circle").click(function(){ clearTimeout(image_timer); if(!$(this).hasClass("on")) { switch_image(parseInt($(this).attr("id").replace("load_image_",""), 10)); } });
			$("#font_up").click(function(){ change_font_size(1); });
			$("#font_down").click(function(){ change_font_size(-1); });
			
			
			image_timer = setInterval(function() { switch_image((current_image_position + 1 + image_rotator.length) % image_rotator.length); }, image_speed);

		});
		
		function adjust_news(direction){
			var new_position = current_news_position + direction;
			if(new_position < 0){
				new_position = 0;
			}
			if(new_position > numNews-3){
				new_position = numNews-3;
			}
			current_news_position = new_position;
			news_container.css({'top': (-(current_news_position*22 - 3) + 'px') });
		}
		
		function change_font_size(direction){
			current_font_size += direction;
			for(var x = 0; x < font_adjusters.length; x++){
				$(font_adjusters[x].span).css({"fontSize": (Math.round(current_font_size*font_adjusters[x].multiplier) + "px")});
			}
		}
		
		var image_rotator = [
			{image: '/rcimages/home/image_1.jpg'},
			{image: '/rcimages/home/image_2.jpg'},
			{image: '/rcimages/home/image_3.jpg'}
		];

		function switch_image(position){
			current_image_position = position;
			next_image.attr("src", image_rotator[position].image);
			$("#rotator_link").attr("href", image_links[image_rotator[position].image]);
			$("#controls div.circle.on").removeClass("on");
			$("#load_image_" + position).addClass("on");
			if(!animating){
				current_image.fadeOut(fadeSpeed, function(){ 
					animating = false 
					current_image.attr("src", next_image.attr("src")).show();
				});
				animating = true;
			}
		}
		

