		$(document).ready(function() {
			
			$("a#fancyboxfoto").fancybox({
				'titleShow'     : false
			});
      });
     
  

		$(document).ready(function() {
			
      $("a[rel=fbgruppeneutral]").fancybox({
				'titleShow'     : false,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
			$("a[rel=fbgruppe1]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      	$("a[rel=fbgruppe2]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      $("a[rel=fbgruppe3]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      $("a[rel=fbgruppe4]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe5]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe6]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe7]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe8]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe9]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      $("a[rel=fbgruppe10]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe11]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe12]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe13]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe14]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe15]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      $("a[rel=fbgruppe16]").fancybox({
				'titleShow'     : true,
        'titlePosition'		: 'over',
        	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
      
      
      
      });

