/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * 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() {
	$(".fancy").fancybox({
		'transitionIn'		:	'elastic',	//elastic,fade
		'transitionOut'		:	'elastic',	//elastic,fade
		'speedIn'			:	300,
		'speedOut'			:	300,
		'padding'			:	2,
		'overlayShow'		:	true,
		'overlayOpacity'	:	0.5,
		'overlayColor'		:	'#333',
		'hideOnContentClick':	true,
		'enableEscapeButton':	true,
		'centerOnScroll'	:	true,
		'titleShow'			:	false,
		'titlePosition'		:	'over',	//outside,inside,over
		'title'				:	'',
		'showCloseButton'	:	true
	});
	$(".iframe_video").fancybox({
        'width' 			:	412,
        'height' 			:	326,
		'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,
		'hideOnOverlayClick':	false,
		'enableEscapeButton':	true,
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		//'padding'			:	20,
		'type'				:	'iframe',
        'iframe'            : {  
             'wmode'        : 'transparent',  
             'allowfullscreen'   : 'false' 
          }  
	});
	$(".iframe").fancybox({
        'width' 			:	875,  //inhalt-weite + 20
        'height' 			:	635,  //inhalt-hoehe + 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,
		'hideOnOverlayClick':	false,
		'enableEscapeButton':	true,
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		//'padding'			:	20,
		'type'				:	'iframe',
        'iframe'            : {  
             'wmode'        : 'transparent',  
             'allowfullscreen'   : 'false' 
          }  
	});
$(document).ready(function() {
	$(".iframe_agb").fancybox({
		'width'				: 	600,
		'height'			: 	350,
		'autoScale'			:	false,
		'transitionIn'		:	'elastic',	//elastic,fade
		'transitionOut'		:	'elastic',	//elastic,fade
		'speedIn'			:	300,
		'speedOut'			:	300,
		'padding'			:	0,
		'overlayShow'		:	true,
		'overlayOpacity'	:	0.6,
		'overlayColor'		:	'#333',
		'hideOnContentClick':	true,
		'hideOnOverlayClick':	true,
		'enableEscapeButton':	false,
		'centerOnScroll'	:	false,
		'showCloseButton'	:	false,
		'padding'			:	20,
		'type'				:	'iframe',
        'iframe'            : {  
             'wmode'        : 'transparent',  
             'allowfullscreen'   : 'false' 
          }  
	});
});});

