
Cufon.replace('#PageTitle', { 
	fontFamily: 'TheSerif'
});
Cufon.replace('#SectionTitle', { 
	fontFamily: 'TheSerif'
});
Cufon.replace('#PageTop h3', { 
	fontFamily: 'TheSerif'
});
Cufon.replace('#Navigation a', { 
	fontFamily: 'TheSerif' ,
	hover: true
});
Cufon.replace('#HomeLinks h2', { 
	fontFamily: 'TheSerif'
});
Cufon.replace('#PageCopy h1', { 
	fontFamily: 'TheSerif'
});
Cufon.replace('#PageCopy h2', { 
	fontFamily: 'TheSerif'
});


$(function() {  
$("#LinkScroller").jCarouselLite({  
	   vertical: true,
	   hoverPause: true,
	   visible: 9,  
	   auto:500,  
	   speed:1000  
	});  
});  

$(function()
{
	$('.ImageHolder a').lightBox();
	$('.GalleryRow dt a').lightBox();
});

$(function()
{
	$('#SlideShow').cycle({ 
		fx: 'scrollHorz'
		//delay:  -6000
	});
});

$(function()
{
	$('#Form textarea').autogrow();				
});

$(document).ready(function(){
$('a[href*=#]').click(function() {
  if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
  && location.hostname == this.hostname) {
	var $target = $(this.hash);
	$target = $target.length && $target
	|| $('[name=' + this.hash.slice(1) +']');
	if ($target.length) {
	  var targetOffset = $target.offset().top;
	  $('html,body')
	  .animate({scrollTop: targetOffset}, 1000);
	 return false;
	}
  }
});
});