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: 380,
			itemSelector: '.box'
		}, 
		function() { jQuery(this).css({
			margin: '0px'
			});
		});
		
		// MouseOver Events
		
		//jQuery('.box').hover(function(){
		//	jQuery('img', this).fadeTo("fast", 0.75).addClass('box-hover');
		//	jQuery('span.view-large', this).fadeTo("fast", 1)},
		//	function(){
		//	jQuery('img', this).fadeTo("fast", myOp).removeClass('box-hover');
		//	jQuery('span.view-large', this).fadeTo("fast", 0)
		//});
		
		// Colorbox
		jQuery("a[rel='gallery']").colorbox();
		jQuery(".popupLink").colorbox({iframe:true, title:'', innerWidth:700, innerHeight:354});
		jQuery(".hypemLink").colorbox({iframe:true, title:'Search for this track on the Hype Machine', innerWidth:900, innerHeight:530});
		
	});
});
