																														/*
 * 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'     : 'none',
			'transitionOut'    : 'none',
			'titleFormat'      : function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-inside">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '</span>';
			}
		});

		$("a.fancyboxStyleSpecial-1").fancybox({
			'titlePosition'     : 'inside',
			'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-inside">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '</span>';
			}

		});

		$("a.fancyboxStyleSpecial-2").fancybox({
			'titlePosition'     : 'inside',
			'transitionIn'      : 'elastic',
			'transitionOut'     : 'elastic',
			'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-inside">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '</span>';
			}
			
		});
		
		$("a.fancyboxStyleInline-1").fancybox({
			'width'             : '75%',
			'height'            : '75%',
			'autoScale'         : false,
			'transitionIn'      : 'none',
			'transitionOut'     : 'none',
			'type'              : 'iframe'
		});
		
		$("a.fancyboxStyleInline-2").fancybox({
			'width'             : '90%',
			'height'            : '90%',
			'autoScale'         : false,
			'transitionIn'      : 'none',
			'transitionOut'     : 'none',
			'type'              : 'iframe'
		});

	});
																														
