﻿$(document).ready(function(){

  $("#formcontainer input[type=text]").each(function() {
        if ($(this).val() == $(this).attr("title")) {
            $(this).css("color","#999999");
        }
    });

    $("input").focus(function() {
        if ($(this).val() == $(this).attr("title")) {
            $(this).val("");
            $(this).removeAttr("style");
        }
    });
    
    
    $("input").blur(function() {
        if ($(this).val() == "") {
            $(this).css("color","#999999");
            $(this).val($(this).attr("title"));
        }
    });

});