jQuery("html").addClass('enhanced');
jQuery(document).ready(function($) {
	
	$("#subscribe").click(function() {
		$("#subscribe-options").slideToggle(150);
	});
	
	$("body.home #wrapper")
		.append("<div id='musky' title='Click me!'>Musk-ox?</div>")
		.find("#musky").add("#about, #musky-desc")
		.click(function(event) {
			$("#musky-desc, #about").slideToggle(500);
		});
	
	
	// clear search fields on click
	$("input[type='text']").focus(function() {
		if (!$(this).attr("rel")) {
			$(this).attr("rel", $(this).attr("value"));
		}
		if ($(this).attr("rel") == $(this).attr("value") ) {
			$(this).attr("value", "");
		}
	})
	.blur(function() {
		if ($(this).attr("value") == "") {
			$(this).attr("value", $(this).attr("rel") );
		}
	});

});
