$(document).ready(function() {		$('.links a').click(function () { 		var top = $($(this).attr('href')).position().top - 20;		$('html, body').animate({'scrollTop':top});		return false;	 });		$('.date').datepicker();		$('.date-ico').click(function() {		var input = $(this).prev('input');		input.focus();		return false;	});		$('#navigation ul li').hover(		function(){			$(this).find('a:eq(0)').addClass('hover');			$(this).find('.dd').show();		}, 		function(){			$(this).find('a:eq(0)').removeClass('hover');			$(this).find('.dd').hide();		}	);		$('#slider .carousel ul li').simpleFade({		speed: 1000, 		duration: 5000,    	    init: function () {	        fader = this;	    }	});			$('#slider .button').click(function () { // stop/start auto by clicking a button		if (!$(this).hasClass('paused')) {			fader.stop();			$(this).addClass('paused');		} else {			fader.start();			$(this).removeClass('paused');		}		return false;	});		$('.more').click(function() {		var vis = $(this).parents('.visible-area:eq(0)');		var exp = vis.next('.expandable-area');		if (!exp.is(':animated')) {			if (exp.is(':visible')) {				$(this).text('more...');			} else {				$(this).text('hide...');			}			exp.slideToggle();		}		return false;	});	});
