(function($) {
//-------------------------------
// Moves form label to the input
//-------------------------------
$.fn.labelHolder = function() {
	return this.each(function() {
		var holder = $(this).find('label').hide().text(),
			field = $(this).find('input');
		field.blur(function() {
			if ( $(this).val() == '' || $(this).val() == holder ) {
				$(this).val(holder).addClass('holder');
			}
		}).blur();
		field.focus(function() {
			if ( $(this).val() == holder ) {
				$(this).val('').removeClass('holder');
			}
		});
	});
};

$(function() {
	$('#subscription form div').labelHolder();
});
})(jQuery);