Cufon.replace('#mnav a:not(.selected), .quotes blockquote, .quotes .attribution, #snav a:not(.current_page_item a), .textblock .title, .textblock p', {
	hover: true,
	fontFamily: "Light"
});

Cufon.replace('.post h1, .post h2, #boxes h2', {
	hover: true,
	fontFamily: "Roman"
});

Cufon.replace('.contact p, .quotes blockquote strong', {
	hover: true,
	fontFamily: "Medium"
});

Cufon.replace('h1, .social #follow', {
	hover: true,
	fontFamily: "Heavy"
});

Cufon.replace('#mnav .selected, #snav .current_page_item a', {
	fontFamily: "Heavy"
});

var $j = jQuery.noConflict();
$j(document).ready(function() {
	
	$j('#program-list h3 + div').slideUp();
	
	$j('#program-list h3').click(function(){
		if ($j(this).next('div').is(':visible') ) {
			$j(this).next('div').slideUp(200);
		} else {
			$j(this).next('div').slideDown(200);
		}
		return false;
	});
	


 var swap_text_boxes = [];

 function init_swap_text_boxes(){
   //Store the default value for each box
   var target = $j('input[type=text][value].swaptextbox,textarea.swaptextbox');
   target.each(function() {
     swap_text_boxes[$j(this).attr('id')] = $j(this).attr('value');
   });
   //Add focus and blur events to set or clear the value
   target.bind('focus', function() {
     if($j(this).val() == swap_text_boxes[$j(this).attr('id')]) {
       $j(this).val('');
     }
   });
   target.bind('blur', function() {
     if($j(this).val() == '') {
       $j(this).val(swap_text_boxes[$j(this).attr('id')]);
     }
   });
 }

 init_swap_text_boxes();
	
});