DD_roundies.addRule('.rounded', '5px', true);
DD_roundies.addRule('.roundedtop', '5px 5px 0 0', true);
DD_roundies.addRule('#container', '10px', true);
DD_roundies.addRule('.subpages li a', '4px', true);
DD_roundies.addRule('#nav', '5px', true);
DD_roundies.addRule('#first-link', '5px 0 0 5px', true);
DD_roundies.addRule('#last-link', '0 5px 5px 0', true);

$(document).ready(function() {
	$("#nav").supersubs().superfish();
	
	// BC Logo
	$("#bclogo").css({ opacity: 0.2 }).hover(function() {
		$(this).stop().animate({ opacity: 1 }, 200);
	}, function() {
		$(this).stop().animate({ opacity: 0.2 }, 600);
	});
	
	// Footer equal height
	$("#footer .col").height(function() {
		var tallestHeight = 0;
		$("#footer .col").each(function() {
			if($(this).height() > tallestHeight)
			{
				tallestHeight = $(this).height();
			}
		});
		
		return tallestHeight;
	});
});

