$(document).ready(function() {

	// Prefill text field on home page, remove when clicked
	var podcast_instructions = "this podcast (URL)";
	if ($("form#podcast input#feed_uri").val() == "") 
		$("form#podcast input#feed_uri").val(podcast_instructions);
	$("form#podcast input#feed_uri").focus( function() { if ($(this).val() == podcast_instructions) $(this).val(""); } );
	$("form#podcast input#feed_uri").blur( function () { if ($(this).val() == "") $(this).val(podcast_instructions); } );

	// FAQ slide-outs
	$("div.faq div.content").hide();
	$("div.faq h3").click( function() { $(this).next("div.content").slideToggle(); } );

});
