/*
	Any site-specific scripts you might have.
	Note that <html> innately gets a class of "no-js".
	This is to allow you to react to non-JS users.
	Recommend removing that and adding "js" as one of the first things your script does.
	Note that if you are using Modernizr, it already does this for you. :-)
*/
	var $ = jQuery;
//	$(function(){
		// Set starting slide to 1
//		var startSlide = 1;
		// Get slide number if it exists
//		if (window.location.hash) {
//			startSlide = window.location.hash.replace('#','');
//		}
//		
		// Initialize Slides
//		$('#slides').slides({
//			preload: true,
//			preloadImage: '/images/loading.gif',
//			generatePagination: true,
//			play: 0,
//			pause: 2500,
//			hoverPause: true,
			// Get the starting slide
//			start: startSlide,
//			animationComplete: function(current){
				// Set the slide number as a hash
//				window.location.hash = '#' + current;
//			}
//		});
//	});

	
//	$("a.tooltip[title]").tooltip({ position: "bottom center", opacity: 0.7});
	
	$(document).ready(function() {
		// Testing grouping and full-screen
		
			$(function(){			
					
				
				$('#show_videos').slides({
					container: 'slides_container3',
					preload: true,
					effect: 'slide, fade',
					crossfade: true,
					slideSpeed: 500,
					fadeSpeed: 500,
					generateNextPrev: false,
					generatePagination: false
				});
						
			});
			
		
	});
		
			 	
//	soundcloud.addEventListener('onPlayerReady', function(player, data) {
//	       player.api_play();
//	});
