	$(function(){
		$('#calendar, #category-background, #rss-news, #cnews, #links, #chapel, #dining, #login-form, .errormsg, .errors, #login-form h1, #login-form h3, #main-admin').corner("10px");
		$('#main, #main-cat, #tab-box, #nav-admin').corner("bl br 10px");
		$('.top-round').corner("tl tr 10px");
		$('.login, #enews').corner("tl 10px");
		$('#campus-buzz').corner("tr 10px");
		$('#twitter, #feature-story-date').corner("bl 10px");
		$('#facebook').corner("br 10px");
		$('.tab-content, .round-top').corner("5px");
    });
	
	$(document).ready(function() {			
		$(".main-tabs li a").click(function() {
			$(".main-tabs li a").removeClass("active-tab");
			$(this).addClass("active-tab");
			$(".tab-content").addClass("hidden");
			var activeTab = $(this).attr("href");
			$(activeTab).removeClass("hidden");
			return false;	
		});
		
		$("#dining-tab li a").click(function() {
			$("#dining a").removeClass("active-dining-tab");
			$(this).addClass("active-dining-tab");
			$(".dining-content").addClass("hidden");
			var activeTabD = $(this).attr("href");
			$(activeTabD).removeClass("hidden");
			return false;	
		});
		
		$(".errormsg, .errors").animate({ backgroundColor: "#DB7F6D" }, 1000)
			.animate({ backgroundColor: "#C8C9B6" }, 1500);
		
		$("#news").animate({ backgroundColor: "#C1DEF3" }, 500)
			.animate({ backgroundColor: "#ffffff" }, 1500);
	});
	window.onload = function(){
		setTimeout('document.getElementById("message").style.display="none"',3000);
		Date.format = 'mm/dd/yyyy'; $(function(){$('.date-pick').datePicker();});
	}
function askUser() {
    return window.confirm("Are you sure you want to delete this notice?");
  }


