$(function(){
/***************************/


// functionality for semi slick form inputs
$("input[type=text],textarea").each(function(){
	// each form element will have a default value, store it on the element for retrieval later
	this.initial_value = $(this).val();
	// if text other than default is in the box the form will not wipe clean
	$(this).focus(function(){
		if ($(this).val() == this.initial_value){
			$(this).val("");
		}
	});
	// if no text was entered, revert to the default value
	$(this).blur(function(){
		if ($(this).val() == ""){
			$(this).val(this.initial_value);
		}
	});
});

/*
// functionality for semi slick form inputs
$("input[type=text]").each(function(){
	// make the default value of the form inputs the text of it's label tag
	$(this).val($(this).prev().text());
	// if text other than default is in the box the form will not wipe clean
	$(this).focus(function(){
		if ($(this).val() == $(this).prev().text()){
			$(this).val("");
		}
	});
	// if no text was entered, revert to the default value
	$(this).blur(function(){
		if ($(this).val() == ""){
			$(this).val($(this).prev().text());
		}
	});
});

*/



/***************************/
});
