$(document).ready(function(){
	$('#announcement').innerfade({
		speed: 2000,
		timeout: 6000,
		type: 'sequence',
		containerheight: '201px'
	});
	
	$('#innerFADE').innerfade({
		speed: 2000,
		timeout: 4000,
		type: 'sequence',
		containerheight: '145px',
		containerwidth: '269px'
	});

	$('#navbar a:first').css('padding-right', '0px');
	$('#navbar a:last').css('padding-left', '0px');
	$('#right_mid a:last').css({border : 'none', margin : '0px'});
	$('#right_mid_inner a:last').css({border : 'none', margin : '0px', 'padding-bottom' : '0px'});
	$('#last').css('padding-right', '0px');
	
	$('.fade').each(function(){
		var go = $(this).attr('rel');
		$(this).click(function(){
			window.location = go;
		});
	});
	
	$('#about td:even').css({width : '46px', 'vertical-align' : 'top', 'padding-right' : '15px'});
	$('#about td div').css({padding : '15px 7px 15px 15px', 'background-color' : '#ffffff', border : 'solid 1px #d4d9b5', 'font-size' : '23px', 'font-weight' : 'bold', 'font-family' : 'century gothic, helvetica neue, myriad pro, arial'});

	//CONTACT FORMS
		$('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);
			}
		});

	//SHOW DESCRIPTION
	$('.showDescription').toggle(function(){
		$(this).next().show(1000);
		$(this).css('font-weight', 'bold');
	},function(){
		$(this).next().hide('slow');
		$(this).css('font-weight', 'normal');
	});
});
