$(function() {
	// If form inputs have a default value, clear on focus
	$('.default-text').focus(function() {
		this.value = "";
		$(this).removeClass('default-text');
	})
	// Restore default text
	.blur(function() {
		if(!this.value.length) {
			this.value = this.defaultValue;
			$(this).addClass("default-text");
		}
	});
	
	// sidebar yelp testimonials
	$('#sidebar-yelp').cycle({
		fx: 'fade',
		random: 1,
		timeout: 10000
	});
});
