$(document).ready(function() {
	
	var slideshow_urls = [];
	$('#gallery li a.slideshow-link').each(function() {
		slideshow_urls.push(this.href);
	});
	
  $('#gallery').galleryView({
		panel_width: 940,
		panel_height: 225,
		nav_theme: 'dark',
		show_filmstrip: false
  });

	$('#gallery div.panel img').each(function(i) {
		$(this).click(function() {
			window.location = slideshow_urls[i];
		});
		$(this).css('cursor', 'pointer');
	});
	
	
/*
	$('#nav-menu li a').mouseover(function() {
		$(this).animate({
			paddingBottom: '10px',
			borderBottom: '5px solid #BEC5B9'
		}, 100);
	});
	
	$('#nav-menu li a').mouseout(function() {
		$(this).animate({
			paddingBottom: '15px',
			borderBottom: '5px solid #FFF'
		}, 100);
	});
	*/
	
	
	$('#nav-menu li a').hover(function() {
		$(this).animate({
			paddingBottom: '10px',
		}, 100);
	}, function() {
		$(this).animate({
			paddingBottom: '15px',
		}, 100);
	});
		
/*
	$('#nav-menu li a').hover(function() {
		$(this).addClass('hovered', 100);
	}, function() {
		$(this).removeClass('hovered', 100);
	});
	*/
});


