$(function() {
		   
			$("a[rel=Challenger Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Challenger Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Challenger Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Challenger Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Citation Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Citation Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Citation Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Citation Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Conquest Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Conquest Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Conquest Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Conquest Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Embraer Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Embraer Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Embraer Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Embraer Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Falcon Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Falcon Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Falcon Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Falcon Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Gulfstream Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Gulfstream Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Gulfstream Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Gulfstream Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Hawker Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Hawker Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Hawker Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Hawker Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Learjet Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Learjet Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Learjet Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Learjet Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Piaggio Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Piaggio Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Piaggio Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Piaggio Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Other Interior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Other Interiors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=Other Exterior]").fancybox({
				'transitionIn'		: 'grow',
				'transitionOut'		: 'fade',
				'titlePosition' 	: 'over',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Other Exteriors ' +  (currentIndex + 1) + ' of ' + currentArray.length + '</span>';
				}
			});
			$("a[rel=various3]").fancybox({
				'width'				: '95%',
				'height'			: '95%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$("a[rel=various4]").fancybox({
				'width'				: '95%',
				'height'			: '95%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
		});
