(function($){
    $.fn.ps_formify = function(){
    	var $this = $(this);
        var words = new Array();
		$($this).find("input[type='text'],input[type='password'],textarea").each(
			function(index){
				words[index] = $(this).attr('value');
				$(this).bind("focus",
					function(){
						if ($(this).attr('value') == words[index])
						{
							$(this).attr('value', '');
							$(this).blur(
								function(){
									if ($(this).attr('value').length < 1)
									{
										$(this).attr('value', words[index]);
									}
								}
							);
						}
					}
				);
			}

		);
    }
})(jQuery);