$(document).ready(function () {

	$('.blur').focus(
		function() {
			if (this.value == this.defaultValue) {
			this.value = '';
			$(this).removeClass("blur");
			$(this).addClass("focus");
		}
	});
	
	$('.blur').blur(
		function() {
			if (this.value == '') {
			this.value = this.defaultValue;
			$(this).removeClass("focus");
			$(this).addClass("blur");
		}
	});
	
	$('.full_quote').click(
		function() {
			$(this).hide();
			$(this).parent().children(".trim").toggle();
			$(this).parent().children(".full").toggle();
			$(this).parent().children(".show_less").toggle();
			return false;
	});
	
	$('.show_less').click(
		function() {
			$(this).hide();
			$(this).parent().children(".trim").toggle();
			$(this).parent().children(".full").toggle();
			$(this).parent().children(".full_quote").toggle();
			return false;
	});
	
	$('.day_container .headline a').click(
		function() {
			$(this).parent().parent().toggleClass("open");
			$(this).parent().parent().children(".toggle").toggle();
			return false;
	});
	
});
