/*
 * FancyBox - jQuery Plugin
 * simple and fancy lightbox alternative
 *
 * Copyright (c) 2009 Janis Skarnelis
 * Examples and documentation at: http://fancybox.net
 * 
 * Version: 1.2.4 (02/11/2009)
 * Requires: jQuery v1.3+
 * 			 jquery.fancybox-1.2.4.pack.js
 * 
 * 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.fancy").fancybox({
		'zoomSpeedIn'		:	300,
		'zoomSpeedOut'		:	300,
		'zoomOpacity'		:	true,
		'overlayShow'		:	true,
		'overlayOpacity'	:	0.5,
		'overlayColor'		:	'#333',
		'centerOnScroll'	:	false,
		'itemArray'			:	true,
		'frameWidth'		: 	120,
		'frameHeight'		: 	105,
		'hideOnContentClick':	true
	});
		$(".iframe").fancybox({
        'width' 			:	500,  //inhalt-weite + 20
        'height' 			:	294,  //inhalt-h?he + 30
		'autoScale'			:	false,
		'transitionIn'		:	'elastic',	//elastic,fade
		'transitionOut'		:	'elastic',	//elastic,fade
		'speedIn'			:	300,
		'speedOut'			:	300,
		'padding'			:	0,
		'overlayShow'		:	true,
		'overlayOpacity'	:	0.6,
		'overlayColor'		:	'#333',
		'hideOnContentClick':	false,
		'enableEscapeButton':	true,
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		'type'				:	'iframe',
        'iframe'            : {  
             'wmode'        : 'transparent',  
             'allowfullscreen'   : 'true' 
          }  
	});
});



