$.noConflict();  
jQuery(document).ready(function($) {        
  $("#nav-global li").hover(function() {      
    $(this).find('a').addClass("hover").stop()       
      .animate({          
        background: '#392a0b',          
        opacity: '0.6'        
      },600);    
  }, function() {      
    $(this).find('a').removeClass("hover").stop()        
      .animate({          
        background: '#9F741B',          
        opacity: '1'        
      },200);    
  });  
});

jQuery(document).ready(function(){
  //To switch directions up/down and left/right just place a "-" in front of the top/left attribute
  //Full Caption Sliding (Hidden to Visible)
  $('.boxgrid.captionfull').hover(function(){
    $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:400});
  }, function() {
    $(".cover", this).stop().animate({top:'110px'},{queue:false,duration:400});
  });
  
  $('#gridnext').click(function(){
    $('.gridcontent').animate({'margin-left':'-684px'},{queue:false,duration:260});
    $('#gridnext').css('display','none');
    $('#gridprev').css('display','inline-block');
  });
  $('#gridprev').click(function(){
    $('.gridcontent').animate({'margin-left':'0px'},{queue:false,duration:260});
    $('#gridnext').css('display','inline-block');
    $('#gridprev').css('display','none');
  });
});

jQuery(document).ready(function($){
  $("a[rel^='prettyPhoto']").prettyPhoto({theme:'dark_square',slideshow:5000,autoplay_slideshow:true});
});

