/*---------- 

FancyBox automatically creates a "gallery" if you set links 
with the same id name, so to keep that from happening, you'll
have to make separate id's for each portfolio item.  It's not
that bad, but just a bit of a hassle.  Just use the same 
thing for all of the single image popups.

----------*/

$(document).ready(function() {
	/* I made these to be reusable presets, you can set them manually for each as well */
	normal = {
				'zoomOpacity'			: true,
				'overlayShow'			: false,
				'zoomSpeedIn'			: 500,
				'zoomSpeedOut'			: 500,
				'overlayOpacity'		: .5,
				'easingIn'				: 'easeInOutQuart',
				'easingOut'				: 'easeInOutQuart',
				'easingChange'			: 'easeInOutQuart',
				'padding'				: 0
			 };
			 
	video = {
				'zoomOpacity'			: true,
				'overlayShow'			: true,
				'overlayOpacity'		: .5,
				'easingIn'				: 'easeInOutQuart',
				'easingOut'				: 'easeInOutQuart',
				'easingChange'			: 'easeInOutQuart',
				'frameWidth'			: 400,
				'frameHeight'			: 300,
				'hideOnContentClick'	: false,
				'padding'				: 0
			}
		
	/* create separate id's */
	/*$("a#savfest").fancybox(video);
	$("a#cmt").fancybox(video);
	$("a#duckcover").fancybox(video);
	$("a#windowskies").fancybox(video);
	$("a#magazine").fancybox(normal);
	$("a#furelise").fancybox(normal);
	$("a#processbook").fancybox(normal);
	$("a#typeposter").fancybox(normal);
	$("a#savfestframes").fancybox(normal);
	$("a#cmtframes").fancybox(normal);
	$("a#pumaAd").fancybox(normal);
	$("a#montage").fancybox(video);*/
	$("a.fancybox").fancybox(normal);
	$("a.fancyboxVid").fancybox(video);
});
