$(document).ready(function() {  
	
	$.localScroll({
 		duration:800,
		hash:false,
	});

	// find the div.fade elements and hook the hover event
	$('.logo').hover(function() {
		// on hovering over find the element we want to fade *up*
		var fade = $('> .hover', this);
		// if the element is currently being animated (to fadeOut)...
		if (fade.is(':animated')) {
			// ...stop the current animation, and fade it to 1 from current position
			fade.stop().fadeTo(500, 1);
		} else {
			fade.fadeIn(250);
		}
	}, function () {
		var fade = $('> .hover', this);
		if (fade.is(':animated')) {
			fade.stop().fadeTo(500, 0);
		} else {
			fade.fadeOut(500);
		}
	});

	$('.logo > .hover').empty();
		
 	$('.quote_artists').cycle({
		timeout: 5400, 
		fx: 'fade' 
	});
	
	
	
	$("a[rel='2010_winners']").colorbox({
		transition:"none", 
		scalePhotos: "true", 
		maxHeight: "90%",
		opacity:".95"});

	
	$("a[rel='2010_others']").colorbox({
		transition:"none",
		scalePhotos: "true", 
		maxHeight: "90%",
		opacity:".95"});
	
	
	
})
		
		

