$(document).ready(function() {
	
	$(".video_480").fancybox({
		'width'				: 720,
		'height'			: 480,
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'autoScale'			: false,
		'titleShow'			: false,
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	$(".video_404").fancybox({
		'width'				: 720,
		'height'			: 404,
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'autoScale'			: false,
		'titleShow'			: false,
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	$(".video_406").fancybox({
		'width'				: 720,
		'height'			: 406,
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'autoScale'			: false,
		'titleShow'			: false,
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	$(".photo").fancybox({
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'				: 'image',
		'titlePosition'		: 'over'
	});
	
	$(".contact_form").fancybox({
		'width'				: 720,
		'height'			: 480,
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'autoScale'			: false,
		'titleShow'			: false,
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	
$("#animation_tron").click(function() {
	$.fancybox([
		'http://justinchristie.ca/media/animation/tron-01.jpg',
		'http://justinchristie.ca/media/animation/tron-02.jpg',
		'http://justinchristie.ca/media/animation/tron-03.jpg',
		'http://justinchristie.ca/media/animation/tron-04.jpg',
		'http://justinchristie.ca/media/animation/tron-05.jpg',
		'http://justinchristie.ca/media/animation/tron-06.jpg',
		'http://justinchristie.ca/media/animation/tron-07.jpg',
		'http://justinchristie.ca/media/animation/tron-08.jpg',
	], {
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'              : 'image',
		'changeFade'        : 0,
		'title'				: 'Tron short film - various C4D models from pre-production stage (8 photos)',
		'titlePosition'		: 'over'
	});
});

$("#animation_tiefighter").click(function() {
	$.fancybox([
		'http://justinchristie.ca/media/animation/tie-fighter-01.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-02.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-03.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-04.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-05.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-06.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-07.jpg',
		'http://justinchristie.ca/media/animation/tie-fighter-08.jpg',
	], {
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'              : 'image',
		'changeFade'        : 0,
		'title'				: 'Tie Fighter - "Darth Thorn" - C4D model (8 photos) - 25 hours of build time (approx.)',
		'titlePosition'		: 'over'
	});
});


$("#animation_severnaya").click(function() {
	$.fancybox([
		'http://justinchristie.ca/media/animation/star-trek-01.jpg',
		'http://justinchristie.ca/media/animation/star-trek-02.jpg',
		'http://justinchristie.ca/media/animation/star-trek-03.jpg',
		'http://justinchristie.ca/media/animation/star-trek-04.jpg',
		'http://justinchristie.ca/media/animation/star-trek-05.jpg',
		'http://justinchristie.ca/media/animation/star-trek-06.jpg',
		'http://justinchristie.ca/media/animation/star-trek-07.jpg',
	], {
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'              : 'image',
		'changeFade'        : 0,
		'title'				: 'U.S.S. Severnaya Star Trek ship - Work in Progress (6 photos) - 12 hours of build time to date',
		'titlePosition'		: 'over'
	});
});
	
$("#animation_batmobile").click(function() {
	$.fancybox([
		'http://justinchristie.ca/media/animation/batmobile-01.jpg',
		'http://justinchristie.ca/media/animation/batmobile-02.jpg',
		'http://justinchristie.ca/media/animation/batmobile-03.jpg',
		'http://justinchristie.ca/media/animation/batmobile-04.jpg',
		'http://justinchristie.ca/media/animation/batmobile-05.jpg',
		'http://justinchristie.ca/media/animation/batmobile-06.jpg',
	], {
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'              : 'image',
		'changeFade'        : 0,
		'title'				: 'Batmobile - C4D model - 6 photos - 6 hours build time',
		'titlePosition'		: 'over'
	});
});

$("#animation_batcave").click(function() {
	$.fancybox([
		'http://justinchristie.ca/media/animation/batcave-01.jpg',
		'http://justinchristie.ca/media/animation/batcave-02.jpg',
		'http://justinchristie.ca/media/animation/batcave-03.jpg',
	], {
		'overlayOpacity'	: .65,
		'overlayColor'		: '#111',
		'transitionIn'		: 'fade',
		'transitionOut'		: 'none',
		'type'              : 'image',
		'changeFade'        : 0,
		'title'				: 'Batcave - C4D model (3 photos) - 4 hours build time',
		'titlePosition'		: 'over'
	});
});

});
