/*

	Supersized - Fullscreen Slideshow jQuery Plugin
	Version : 3.2.4
	Theme 	: Shutter 1.1
	
	Site	: www.buildinternet.com/project/supersized
	Author	: Sam Dunn
	Company : One Mighty Roar (www.onemightyroar.com)
	License : MIT License / GPL License

*/

(function($){
	
	theme = {
	 	
	 	
	 	/* Initial Placement
		----------------------------*/
	 	_init : function(){
	 		//$('aside').append('<ul id="slide-list"></ul>');
	 		/*
	 		$('#supersized').css('opacity', 0.3);
	 		$('#content').prepend('<div id="hide_link"><a>Hide Text</a></div>');
	 		$('.wrapper').append('<div id="show_link" style="display:none;"><a>Show Text</a></div>');
	 		$('#hide_link').click(
	 			function() { 
	 				$('#content, #secondary, #hide_link, #primary').hide();
					//$('#primary li').append('&nbsp;');	 				
	 				$('#show_link').show();
	 				$('#supersized').animate({opacity:1}, 250); 	 			
	 			}
	 		)
	 		$('#show_link').click(
	 			function() { 
	 				$('#content, #secondary, #hide_link, #primary').show();
	 				$('#show_link').hide();
	 				$('#supersized').animate({opacity:0.3}, 1250); 	 			
	 			}
	 		)
	 		*/
	 		
		},
	 	
	 	
	 	/* After Slide Transition
		----------------------------*/
	 	afterAnimation : function(){
	 		//if (api.options.progress_bar && !vars.is_paused) theme.progressBar();	//  Start progress bar
	 		
	 	}	,
	 	
	 	/* Go To Slide
		----------------------------*/
	 	goTo : function(){
	 	
	 		if ($('#supersized').css('opacity') < 0.4) {
	 			$('#content, nav, #hide_link').hide();
	 			$('#show_link').show();
	 			$('#supersized').animate({opacity:1}, 250); 
	 		}
	 		
		},
	 	
	 	/* Before Slide Transition
		----------------------------*/
	 	beforeAnimation : function(direction){
		  	// Update slide caption
		  	/*
		   	if ($(vars.slide_caption).length){
		   		(api.getField('title')) ? $(vars.slide_caption).html(api.getField('title')) : $(vars.slide_caption).html('');
		   	}
		   	*/
		},
	 	
	 	
	 	/* Progress Bar
		----------------------------*/
		progressBar : function(){
    		//$(vars.progress_bar).stop().animate({left : -$(window).width()}, 0 ).animate({ left:0 }, api.options.slide_interval);
    	}
	 	
	 
	 };
	 
	 
	 /* Theme Specific Variables
	 ----------------------------*/
	 $.supersized.themeVars = {
	 	
	 	// Internal Variables
	 	/*
		progress_delay		:	false,				// Delay after resize before resuming slideshow
		thumb_page 			: 	false,				// Thumbnail page
		thumb_interval 		: 	false,				// Thumbnail interval
		image_path			:	'img/',				// Default image path
													
		// General Elements							
		play_button			:	'#pauseplay',		// Play/Pause button
		next_slide			:	'#nextslide',		// Next slide button
		prev_slide			:	'#prevslide',		// Prev slide button
		next_thumb			:	'#nextthumb',		// Next slide thumb button
		prev_thumb			:	'#prevthumb',		// Prev slide thumb button
		
		*/
		
		
		//slide_caption		:	'#slidecaption',	// Slide caption
		//slide_current		:	'.slidenumber',		// Current slide number
		//slide_total			:	'.totalslides',		// Total Slides
		//slide_list			:	'#slide-list'		// Slide jump list	
		//slide_links			:	'number' 						
		
		/*
		thumb_tray			:	'#thumb-tray',		// Thumbnail tray
		thumb_list			:	'#thumb-list',		// Thumbnail list
		thumb_forward		:	'#thumb-forward',	// Cycles forward through thumbnail list
		thumb_back			:	'#thumb-back',		// Cycles backwards through thumbnail list
		tray_arrow			:	'#tray-arrow',		// Thumbnail tray button arrow
		tray_button			:	'#tray-button',		// Thumbnail tray button
		
		progress_bar		:	'#progress-bar'		// Progress bar
	 	*/											
	 };												
	
	 /* Theme Specific Options
	 ----------------------------*/												
	 $.supersized.themeOptions = {					
	 						   
		//progress_bar		:	1,		// Timer for each slide											
		//mouse_scrub			:	0		// Thumbnails move with mouse
		//slide_links			:	'number'
		
	 };
	
	
})(jQuery);
