$(document).ready(function(){
	//INPUT ELEMENTS	
	$('input[type=hidden]').each(function(){
		$(this).css('display', 'none');
	});
		
	$(':input').focus(function(){
		if($(this).val() == $(this).attr('rel')){
			$(this).val('');
		}
	}).blur(function(){
		if($(this).val() == ''){
			var atty = $(this).attr('rel');
			$(this).val(atty);
		}
	});
	
	//NAVBAR STUFF
	$('#navbar td').click(function(){
		window.location = $(this).attr('rel');
	});
	$('#navbar td:eq(1)').css('padding', '0px 10px');
	$('#navbar td:last').css('border', 'none');
	
	//RANDOM STUFF
	$('#foot_nav a:last').css('border', 'none');
	
	//HOVER AND TOGGLE FUNCTIONS
	/*
		$('#news h2').hover(function(){
			$(this).css('color', '#000000');
		},function(){
			$(this).css('color', '#272262');
		});	
		
		$('#news h2').toggle(function(){
			$(this).next().slideDown(1000);
		},function(){
			$(this).next().slideUp(500);
		});
	*/
	$(document).ready(function(){	
		$("#slider").easySlider({
			auto: true, 
			continuous: true
		});
	});
});
