/* Author: Glance Creative

*/
jQuery(document).ready(function() {
    jQuery('#homecarousel').jcarousel({
        visible: 2, scroll: 2, wrap: "circular", auto: 4, animation: "slow"
     });
});

jQuery(document).ready(function() {
    jQuery('#newscarousel').jcarousel({
        visible: 3, scroll: 1, wrap: "circular", animation: "slow"
     });
});

$(function(){
  
  $('#masonry').masonry({
    itemSelector: '.box',
    singleMode: true,
    isAnimated: !Modernizr.csstransitions,
    isFitWidth: true
  });
  
});

jQuery.noConflict();
(function($) {

	$(window).load(function(){
		$('#masonry').masonry({ 
			isFitWidth: true,
			animate: true,
			itemSelector: '.box'
		});
	});
	
	// MouseOver Events
		$(".box").mouseover(function(){
		  $(".box").css("background-color","#a10404");
		});
})(jQuery);

// For browsers that don't understand :first-child in native CSS
$('.gallery li:first-child').siblings().hide();

// Lightbox!
$('.gallery a').fancybox();

















