/*
 * this code is not copyable
 * copyright www.7d0.de
 * email to shaack (at) 7d0.de to get a license
 */
(function($){
	$.fn.sdoInput = function()
    {
        $(this).each(function()
        {
            this.defaultValue = this.value;

            $(this).focus(function() 
            {
                if(this.value == this.defaultValue)
                {
                    this.value = "";
                    $(this).removeClass("noValue");
                }
            });

            $(this).blur(function()
            {
                if(this.value == "")
                {
                    this.value = this.defaultValue;
                    $(this).addClass("noValue");
                }
            });
        });
	}
})(jQuery);
