$(".textAreaPlaceholder").each(function() {
	var defaultVal = $(this).attr("placeholder");
	$(this).html(defaultVal);
});
$(".textAreaPlaceholder").change(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).html() == "") {
		$(this).html(defaultVal);
	}
	if ($(this).val() == defaultVal || $(this).val() == "") {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".textAreaPlaceholder").click(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).html() == defaultVal) {
		$(this).html("");
	}
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".textAreaPlaceholder").focus(function(){
	var defaultVal = $(this).attr("placeholder");
	if ($(this).html() == defaultVal) {
		$(this).html("");
	}
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".inputPlaceholder").each(function() {
	var defaultVal = $(this).attr("placeholder");
	$(this).val(defaultVal);
});
$(".inputPlaceholder").change(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).val() == "") {
		$(this).val(defaultVal);
	}
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".inputPlaceholder").focus(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
		$(this).val("");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".inputPlaceholder").blur(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).val() == "") {
		$(this).val(defaultVal);
	}
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
$(".inputPlaceholder").click(function() {
	var defaultVal = $(this).attr("placeholder");
	if ($(this).val() == defaultVal) {
		$(this).val("");
	}
	if ($(this).val() == defaultVal) {
		$(this).addClass("placeholder");
	} else {
		$(this).removeClass("placeholder");
	}
});
