$(function(){
	
	/* Nav */ 
  $('#overview_band h2').click(function(){
	$(this).toggleClass('open');
	$('#overview').slideToggle();
  });
  $('#programs_band h2').click(function(){
	$(this).toggleClass('open');
	$('#programs').slideToggle();
  });
	
	
  $("#overview_band h2").click(function(){
	$(this).toggleClass("active");
    $("#overview").toggleClass("show_details");
  });
  
   $("#programs_band h2").click(function(){
	$(this).toggleClass("active");
  });
  
  $(".program").hover(function(){
    $(this).toggleClass("solid");
  });
  
  $(".programs_col1 .teaser, .programs_col1 h3").click(function(){
    $(this).parent().parent().siblings().removeClass("show_details");
    $(this).parent().parent().toggleClass("show_details");
  });
  
  
  $("#overview .teaser h3, #overview .teaser p").click(function(){
	$(this).parent().children("p").slideToggle();
	$(this).parent().parent().children("#overviewContent").slideToggle();
	});
	
	$("#overview .teaser").click(function(){
		$(this).toggleClass("solid");
	});	
  
  $(".overview_li").click(function(){
    var current_program = $(this).parent().parent().parent().attr("id");
    $("#"+current_program+" .details li").removeClass("show");
    $("#"+current_program+" .details li.overview").addClass("show");
    $(this).siblings().removeClass("active");
    $(this).addClass("active");
  });
  
  $(".courses_li").click(function(){
    var current_program = $(this).parent().parent().parent().attr("id");
    $("#"+current_program+" .details li").removeClass("show");
    $("#"+current_program+" .details li.courses").addClass("show");
    $(this).siblings().removeClass("active");
    $(this).addClass("active");
  });
  
  $(".careers_li").click(function(){
    var current_program = $(this).parent().parent().parent().attr("id");
    $("#"+current_program+" .details li").removeClass("show");
    $("#"+current_program+" .details li.careers").addClass("show");
    $(this).siblings().removeClass("active");
    $(this).addClass("active");
  });
  
  $("#formLink").click(function(){
	$("#label_first_name").focus();
  });
  
  $(".btn_getStarted").click(function(){
	$("#label_first_name").focus();
  });
});
