//	***************************************************************************************
//	This general.js file contains general setup information for the jQuery/JavaScript tools
//	***************************************************************************************
$(document).ready(function(){ 
						   

	// Lightbox Setup
	// More information: http://leandrovieira.com/projects/jquery/lightbox/
	// Sample: <a href="http://dummyimage.com/800x500" rel="lightbox"><img src="http://dummyimage.com/60x60" alt="Thumb" /></a> (note the rel="lightbox")
	$('a[rel~="lightbox"]').lightBox(); // Select all links with lightbox rel

												// Second lightbox
	// Example to add a second unique lightbox: $('a[rel~="lightbox2"]').lightBox( { containerResizeSpeed: 300 } ); // Select all links with lightbox2 rel
	// Alternate method:  $('a.lightbox').lightBox(); // Select all links with lightbox class
		
	// Hide element on click where it contains: class="clickhide"
	$('.clickhide').click(function() { $(this).fadeOut(600); });
	
	
	// Scroll to top animation
	$('.scroll-top').click(function(){ 
		$('html, body').animate({scrollTop:0}, 'slow'); return false; 
	});
	
	
	

}); 