// JavaScript Document

//jquery Lightbox
    $(function() {
        $('a.lightbox').lightBox();
    });
	
	
//	cycle slideshow
	$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
	
	$("a.vergleich").fancybox({
				'autoScale'			: true,
				'autoDimensions'	: true,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'inline',
				'overlayColor'		: '#FFFFFF',
				'overlayOpacity'	: 0.8,
				'padding'			: 0,
				'cyclic'			: false
			});
	$("area.quickmenue").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'none',
				'height'			: '230',
				'width'				: '408',
				'overlayColor'		: '#FFFFFF',
				'overlayOpacity'	: 0.8
			});
});


// layer Startseite
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
