jQuery(document).ready(function() {

	jQuery.fn.cleardefault = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};

	jQuery(".gravclear input, .gravclear textarea").cleardefault();

	jQuery("ul.menu > li").hover(function() {

	    jQuery(this).addClass("sp_hover");

	}, function() {

	    jQuery(this).removeClass("sp_hover");

	});

	jQuery(function() {
		jQuery("div.jtoggle").hide();
		jQuery("h5.jtoggle").click(function() {
			jQuery(this).next("div.jtoggle").slideToggle("slow");
		});
	});

	jQuery(document).ready(function() {
		jQuery(".format_text > .gform_wrapper > form").attr("action", "#sp_form");
	});

});
