$(document).ready(function(){	
	// EasySlider API
	$("#slider-content").easySlider({
		auto		: 	true,
		continuous	: 	true,
		prevText	: 	'',
		nextText	: 	'',
		pause		:	8000,
		speed		:	600
	});
	
	$(".window").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false,
		'type'			:	'iframe'
	});
	
	$(".mini-window").fancybox({
		'width'		:	600,
		'height'	:	'90%',
		'type'		:	'iframe'
	});
	
	$(".overlay-window").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'type'			:	'iframe',
		'width'			:	'100%',
		'height'		:	'100%',
		'padding'		:	'0'
	});
	
	$('.gallery-image-content').children().hover(function() {
    	$(this).siblings().stop().fadeTo(250,0.5);
  		}, function() {
    	$(this).siblings().stop().fadeTo(250,1);
  	});
	
	$("a.gallery-image").fancybox();
	
	$("li.trigger").click(function(){
		$(this).toggleClass("active").next().slideToggle("fast");
	});
});

var RecaptchaOptions = {
    theme : 'white',
	lang : 'sv'
 };

