jQuery.noConflict();



jQuery(function(){
	jQuery('span.view-large,span.link-over').hide();
	myOp = 1;
	
	jQuery(window).load(function(){
		
		// Grid jQuery plugin: http://desandro.com/resources/jquery-masonry/
		
		jQuery('#sort').masonry({ 
			columnWidth: 310,
			animate: true,
			itemSelector: '.box'
			//easing: 'linear'
		}, 
		function() { jQuery(this).css({
			margin: '0px'
			});
		});
		
		
		
		
		// MouseOver Events
		
		jQuery('.box').hover(function(){
			jQuery('img', this).fadeTo("fast", 0.96).addClass('box:hover');
			jQuery('span.view-large, .article-over, span.link-over', this).fadeTo("fast", 0.96)},
			
			function(){
			jQuery('img', this).fadeTo("slow", myOp).removeClass('box:hover');
			jQuery('span.view-large, .article-over ,span.link-over', this).fadeTo("fast", 0)
		});
		
		// Colorbox
		
		
		jQuery('#socialize a').tipsy({gravity: 'w', fade: true});
		jQuery('.headeralignright a,a.kbrsswidget,a.twitter-linkmod').tipsy({gravity: 'n', fade: true});
		jQuery('.likebutton a').tipsy2({gravity: 'e', fade: true});
		
		
		
		
		
	});
});
