$(function(){
	inputFodder();
});

function stickyFooter(){
	fh = $('#footer').outerHeight();
	$('#footer *:first').css('marginTop',0);
	$('#html').css('marginBottom',-fh+'px');
	$('<div id="push"/>').appendTo('#html').height(fh);
}

function inputFodder(){
	$('input[type="text"],textarea').addClass('input');
	$('input[type="submit"]').addClass('submit');
	$('input[name*="filter_"]').hide();
}

function placeholderFix(){							// No Longer Used, left in case we need it.
	$('.input').each(function(){
		var ph = $(this).attr('placeholder');
		v = $(this).val();
		if(v.length < 1) {
			$(this).val(ph);
		}
		$(this).css('color','#DADADA');
		$(this).focus(function(){
			$(this).css('color','#000');
			if($(this).val() == ph){
				$(this).val('');
			}
		}).blur(function(){
			if(this.value=='') {
				$(this).val(ph).css('color','#DADADA');
			}
		});
	});
}
