(function($) {
	// Slide side image in
		$('.side-image img').css('margin-left', '-220px').animate({marginLeft:0}, 500);
		$('.bottom-overlay').css('right', 210).animate({right:0}, 500);

	// Slideshow
		$('#slideshow').cycle({fx:'fade'});
	
	// Expand list items
	$('ul.expandable li strong').toggle(function() {
		$(this).parent().find('span').addClass('open');
		fleXenv.updateScrollBars();
	}, function() {
		$(this).parent().find('span').removeClass('open');
		fleXenv.updateScrollBars();
	});
})(jQuery);

jQuery(window).load(function() {
	// Stupid contact form 7
	jQuery('img.ajax-loader').attr('src', '/wp-content/plugins/contact-form-7/images/ajax-loader.gif');
});
