$(document).ready(function(){
$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'200px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({top:'250px'},{queue:false,duration:300});
				});
		$('.modgrid.captions').hover(function(){
					$(".covers", this).stop().animate({top:'110px'},{queue:false,duration:160});
				}, function() {
					$(".covers", this).stop().animate({top:'150px'},{queue:false,duration:160});
				});
		$('.thumbgrid.captioned').hover(function(){
					$(".covered", this).stop().animate({top:'60px'},{queue:false,duration:160});
				}, function() {
					$(".covered", this).stop().animate({top:'120px'},{queue:false,duration:160});
				});				   

$(function() {
    $('#slideShow').before('<div id="nav1" class="nav">').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 3000,
        pager:  '#nav1',
        delay:  -2000
    });    
}); 
                    
      Cufon.replace('h1,h2,h3', { fontFamily: 'Neo Sans Std' });
	  Cufon.replace('.homelink,#sideMenu li', { fontFamily: 'Neo Sans Std',hover: true }); 
			
			
			$(".fade").fadeTo("50", 0.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
				$(".fade").hover(function(){
				$(this).fadeTo("50", 1.0); // This should set the opacity to 100% on hover
				},function(){
				$(this).fadeTo("10", 0.0); // This should set the opacity back to 30% on mouseout
			 });
			});

			
				
		$(function() {
			$('#mainMenu').lavaLamp({
			fx: 'easeInOutQuad',
			speed: 300,
			autoReturn: false
		});
			
			  
});



