 $(document).ready(function(){
/*************************************
	GRANT DETAIL
**************************************/
/*---- Individual Toggle ----*/
$(".toggle-content").hide();
$(".toggle-header").click(function(){
	$(this).closest(".toggle-header").toggleClass("active").next(".toggle-content").slideToggle(500);			  
});
 
/*---- Expand All Toggles ----*/
/*
$(".main-summary-report .btn-expand-all").live("click",function(){
	$(".main-summary-report .toggle-header").next(".toggle-content").slideDown(500);
	$(".main-summary-report .toggle-header").addClass("active");
 
});
*/
 
/*---- Collapse All Toggles ----*/
/*
$(".main-summary-report .btn-collapse-all").live("click",function(){
	$(".main-summary-report .toggle-content").slideUp(500);
	$(".main-summary-report .toggle-header").removeClass("active");
});
*/
/*-------------------------------------
	RADIO BUTTON TOGGLE
-------------------------------------*/
if (".gift_grant".checked == false) {
	HideGiftGrant();
	HideContract();
}
$(".gift_grant").click(function() {
    if (this.checked == true) {                
       ShowGiftGrant();
       HideContract();
    } 
});
$(".contract").click(function() {
    if (this.checked == true) {                
       HideGiftGrant();
       ShowContract();
    }
});
function ShowGiftGrant() {
    $('#gift_grant').show('normal');    
}
function HideGiftGrant() {
    $('#gift_grant').hide('normal');    
}
function ShowContract() {
    $('#contract').show('normal');    
}
function HideContract() {
    $('#contract').hide('normal');    
}


});/*CLOSE*/