// web design gallery
		$(document).ready(function() {

			$("a[class=campaign]").fancybox({
				'width'				: '100%',
				'height'			: '100%',
				'autoScale'			: true,
				'speedIn'			:  500, 
				'speedOut'			:  300, 
				'transitionIn'		: 'linear',
				'transitionOut'		: 'linear',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

				$("a[class=banner]").fancybox({
				'width'				: '100%',
				'height'			: '100%',
				'autoScale'			: true,
				'speedIn'			:  500, 
				'speedOut'			:  300, 
				'transitionIn'		: 'linear',
				'transitionOut'		: 'linear',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
				
			$("a[class=graphic]").fancybox({
				'width'				: '100%',
				'height'			: '100%',
				'autoScale'			: true,
				'speedIn'			:  500, 
				'speedOut'			:  300, 
				'transitionIn'		: 'linear',
				'transitionOut'		: 'linear',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			$("a[class=email]").fancybox({
				'width'				: '100%',
				'height'			: '100%',
				'autoScale'			: true,
				'speedIn'			:  500, 
				'speedOut'			:  300, 
				'transitionIn'		: 'linear',
				'transitionOut'		: 'linear',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

});

// sidebar recent works gallery
		$(document).ready(function() {

			$("a[class=side]").fancybox({
				'width'				: '100%',
				'height'			: '100%',
				'autoScale'			: true,
				'speedIn'			:  500, 
				'speedOut'			:  300, 
				'transitionIn'		: 'linear',
				'transitionOut'		: 'linear',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

});
