// JavaScript Document
		$(document).ready(function() {
			$("a#example7").fancybox({
				'titlePosition'	: 'inside'
			});
				$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'outside',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
		});
			$(function() {
				$("#foo1").carouFredSel({
					prev: '#prev2',
					next: '#next2',
					pagination: "#pager2",
					auto: true});
				$("#foo1 a").fancybox({
					cyclic	: true,
					titlePosition 	: 'over',
					transitionIn	: 'none',
					transitionOut	: 'none',
					titleFormat	: function(title, currentArray, currentIndex, currentOpts) {return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>'},
					
				onStart	: function() {
				$("#foo1").trigger("pause");
					},
				onClosed: function() {
					$("#foo1").trigger("play");
					}
				});
				});

