$(function() {
	$.each($("input.placeholder_text"), function(key, val) {
		if($(val).val() == '') {
			$(val).val($(val).data('placeholder'));
		}
	});
	$("input.placeholder_text").focus(function(e) {
		if($(this).val() == $(this).data('placeholder')) {
			$(this).val('');
		}
	});
	$("input.placeholder_text").blur(function(e) {
		if($(this).val() == '') {
			$(this).val($(this).data('placeholder'));
		}
	});
	$("form").submit(function(e) {
		$.each($("input.placeholder_text"), function(key, val) {
			if($(val).data('placeholder') == $(val).val()) {
				$(val).val('');
			}
		});
	});
});

