$(document).ready(function(){
	$("#portfolio").cycle({
		timeout: 5000,
		easing: 'easeOutQuint',
		pause: 1,
		prev: '.previous',
		next: '.next'
	});
	$("a.fade").hover(
		function(){
			$(this).stop().animate({ color: "#555", backgroundColor: "#ff8" }, 600, 'easeOutQuint');
			$(this).children('.glare').fadeTo(600,0);
		},
		function(){
			$(this).stop().animate({ color: "#333", backgroundColor: "#fff" }, 600, 'easeOutQuint');
			$(this).children('.glare').fadeTo(600,.5);
	});
	$("a#int-j-2").hover(
		function(){
			$(this).stop().animate({ color: "#ff8" }, 600, 'easeOutQuint');
		},
		function(){
			$(this).stop().animate({ color: "#fff" }, 600, 'easeOutQuint');
	});
	window.setTimeout("$('#portfolio').fadeIn();",800);
});