var autoSelect = function(){
	var currentURL = window.location;
	var selectOpacity = 1;
	 
		$("#caruselWrapper").css("opacity", 1);
		 
}
 
var initLayouts = function(){
	// adjust width fake :D // stupid thing
	var tempWidth = (($("body").width() - 850) / 2) - 50;
	$("#sectionfake").width(tempWidth);
}

var servicesSlide = function(moveTo){
	
	$('.contentTextSlide').stop().animate({
		scrollTop : moveTo
	},  700, 'easeInOutExpo', function(){
		
	});
}
var servicesSlide2 = function(moveTo){
	
	$('.contentTextSlide2').stop().animate({
		scrollTop : moveTo
	},  700, 'easeInOutExpo', function(){
		
	});
}
 
 
 

$(document).ready(function(){
						   
	$(".bigCarusel li").css("opacity", 1);
	initLayouts();
	autoSelect();
	var clickOpacity = 1;
	
	$(".galleryMenu").css('opacity', 0);
	$(".categoriesBtn").click(function(){
		if($(".galleryMenu").css('opacity') == 0){
			$(".galleryMenu").animate({
				opacity : 1,
				bottom: '160px'
			}, {duration: 400, easing: 'easeOutBack'});
		}else{
			$(".galleryMenu").animate({
				opacity : 1,
				bottom: '150px'
			}, {duration: 400, easing: 'easeOutBack'});
		}
		return;
	});
	
	$("a.galleryLightbox").fancybox({
		'titleShow'     : true,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'elastic'
	});
	
	 	
	 
}); 
