$(function(){
	// Vertical
	$(".vertical div a").hover(function(){
		$("img", this).stop().animate({top:"-26px"},{queue:false,duration:200});
	}, function() {
		$("img", this).stop().animate({top:"0px"},{queue:false,duration:200});
	});
});

$(document).ready(function(){	
	$("#slider").easySlider({
		auto: false, 
		continuous: false,
		numeric: false
	});
});	


$(function() {
	$('#slideshow').cycle({
		fx:     'fade',
 			delay:  -200,
 			speed:   800,
  		timeout: 4000,
  		next:   '#slideshow',
  		pause:   1
	});
});

$(document).ready(function() {
  $('.scrollPage').click(function() {
     var elementClicked = $(this).attr("href");
     var destination = $(elementClicked).offset().top;
     $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-20}, 500 );
     return false;
  });
});

$(function() {
	$('a.lightbox').lightBox(); // Select all links with lightbox class
	// This, or...
});

