$(document).ready(function() {
$("a[rel=swatches]").fancybox({
				
				'type' : 'image',
				
				'transitionIn'		: 'none',

				'transitionOut'		: 'none',

				'titlePosition' 	: 'over',

				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {

					return '<span id="fancybox-title-over">' + (title.length ? ' &nbsp; ' + title : '') + '</span>';

				}

			});
						   });
