$(document).ready(function() {
	//MAILING LIST
	$('#mailinglist').hover(function() {
		$('#mailinglisttitle', this).css({ 'color':'#F9F8C4', 'border-bottom':'4px solid #F9F8C4' });
	}, function() {
		$('#mailinglisttitle', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
	})
	
	//HOME PAGE
	$('#projects').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #EBC2C2' });
		$('.boxheader', this).css({ 'color':'#EBC2C2', 'border-bottom':'4px solid #EBC2C2' });
		$('.blogboxheader', this).css({ 'color':'#EBC2C2' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
		$('.blogboxheader', this).css({ 'color':'#999' });
	})
	
	$('#research').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #B3E1BD' });
		$('.boxheader', this).css({ 'color':'#B3E1BD', 'border-bottom':'4px solid #B3E1BD' });
		$('.blogboxheader', this).css({ 'color':'#B3E1BD' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
		$('.blogboxheader', this).css({ 'color':'#999' });
	})
	
	$('#infohub').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #BFBFFF' });
		$('.boxheader', this).css({ 'color':'#BFBFFF', 'border-bottom':'4px solid #BFBFFF' });
		$('.blogboxheader', this).css({ 'color':'#BFBFFF' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
		$('.blogboxheader', this).css({ 'color':'#999' });
	})
	
	$('#news').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #FC9' });
		$('.boxheader', this).css({ 'color':'#FC9', 'border-bottom':'4px solid #FC9' });
		$('.blogboxheader', this).css({ 'color':'#FC9' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
		$('.blogboxheader', this).css({ 'color':'#999' });
	})
	
	$('#twitter').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #9CF' });
		$('.boxheader', this).css({ 'color':'#9CF', 'border-bottom':'4px solid #9CF' });
		$('.blogboxheader', this).css({ 'color':'#9CF' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
		$('.blogboxheader', this).css({ 'color':'#999' });
	})
	
	//BLOG TALL
	$('#blogtall').hover(function() {
		$(this).css({ 'border-bottom':'4px solid #68A' });
		$('.boxheader', this).css({ 'color':'#68A', 'border-bottom':'4px solid #68A' });
	}, function() {
		$(this).css({ 'border-bottom':'4px solid #CCC' });
		$('.boxheader', this).css({ 'color':'#999', 'border-bottom':'4px solid #CCC' });
	})
});
