/* jQuery Code ---------------------------- */
$(document).ready(function()
{
	/* Forms */
	$("input").focus(function () {
		if ($(this).attr("value") == $(this).attr("title")) {
			if ($(this).attr("id") == "keyword") {
				$(this).attr("value", "").css("color", "#cccccc");
			} else {
				$(this).attr("value", "").css("color", "#333333");
			}
		}
	});
	$("input").blur(function () {
		if ($(this).attr("value") == "") {
			$(this).attr("value", $(this).attr("title")).css("color", "#898989");
		}
	});
	$("textarea").focus(function () {
		if ($(this).val() == $(this).attr("title")) {
			$(this).val("").css("color", "#000");
		}
	});
	$("textarea").blur(function () {
		if ($(this).val() == "") {
			$(this).val($(this).attr("title")).css("color", "#898989");
		}
	});
	
});
