																														/*
 * FancyBox - jQuery Plugin
 * simple and fancy lightbox alternative
 *
 * Copyright (c) 2010 Janis Skarnelis
 * Examples and documentation at: http://fancybox.net
 * 
 * Version: 1.3.1
 * Requires: jQuery v1.4+
 * 
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

	$(document).ready(function() 
	{
		$("a.fancyboxStyleDefault").fancybox({
			'titlePosition'    : 'inside',
			'transitionIn'     : 'fade',
			'transitionOut'    : 'fade',
			'titleFormat'      : function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-inside">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '  ' + title : '') + '</span>';
			}
			
		});

		
		$("a.fancyboxStyleiframe").fancybox({
		'width'		      		: '75%',
		'height'			      : '90%',
    'autoScale'     	  : false,
    'centerOnScroll'    : true,
    'transitionIn'		  : 'fade',
    'hideOnOverlayClick': false,
		'transitionOut'	  	: 'fade',
		'type'			      	: 'iframe'
	});

		
	});
																														
