

jQuery.noConflict();

jQuery(function(){
	jQuery('span.view-large').hide();
	myOp = 1;
	
	jQuery(window).load(function(){
		
		// Grid jQuery plugin: http://desandro.com/resources/jquery-masonry/
		
		jQuery('#sort').masonry({ 
			columnWidth: 457,
			animate: true,
			itemSelector: '.box'
			//easing: 'linear'
		}, 
		function() { jQuery(this).css({
			margin: '0px'
			});
		});
		
		


	
		// MouseOver Events
		
		jQuery('.box').hover(function(){
			jQuery('img', this).fadeTo("fast", 1).addClass('box-hover');
			jQuery('span.view-large', this).fadeTo("fast", 1);
			jQuery('.caption', this).fadeTo("fast", .60)},
			function(){
			jQuery('img', this).fadeTo("fast", myOp).removeClass('box-hover');
			jQuery('span.view-large', this).fadeTo("fast", 0);
			jQuery('.caption', this).fadeTo("fast", 0)
		}
		

		
		
		);
		
				jQuery('.talentbox').hover(function(){
			jQuery('img', this).fadeTo("fast", 1).addClass('talentbox-hover');
			jQuery('span.view-large', this).fadeTo("fast", 1);
			jQuery('.caption', this).fadeTo("fast", 1)},
			function(){
			jQuery('img', this).fadeTo("fast", myOp).removeClass('talentbox-hover');
			jQuery('span.view-large', this).fadeTo("fast", 0);
			jQuery('.caption', this).fadeTo("fast", 0)
		}
		
		);
		// Colorbox
		jQuery("a[rel='gallery']").colorbox();
		
	});
});

