// Script written for Vishu.net
// Author: Vishu Singh
$(document).ready(function() {

	$( '#tabs-vishu' ).tabs( {
		fx: { opacity: 'toggle' }
	} );
	
	$('.inner-content').scrollable({
		vertical: true,
		keyboard: 'static'
	}).navigator( '#main_nav' );

	$('.logo a, a.fancybox').fancybox({
		'transitionIn'	:  'elastic',
		'transitionOut'	:  'elastic',		
	});

	// TODO: Hold until needed
	$('.work-slides').cycle({
		fx: 'scrollHorz',
		prev: 'a.prev-work',
		next: 'a.next-work'
	});
	
	// TODO: Implement gloss
	// $( '.overlay' ).css( { backgroundPosition: "-100px 0" } )
	// 			   .mouseover(function(){
	// 					$(this).stop().animate(
	// 							{ backgroundPosition:"90px 0" },
	// 							{ duration: 2000 }
	// 						);					
	// 				})
	// 			   .mouseout(function(){
	// 					$(this).stop().animate(
	// 							{backgroundPosition: "0 0"},
	// 							{duration: 100}
	// 						);
	// 			    });
	
	Cufon.replace( '.sort-list ul li a, h1.project-title');
	
});
