﻿
jQuery.fn.makeSearchField = function(title) {
    return this.each(function() {
        $(this).val(title);
        $(this).click(function() {
            if ($(this).val() == title) {
                $(this).val("");
            }
        });
        $(this).blur(function() {
            if ($(this).val() == "") {
                // $(this).val(title);
            }
        });
    });
};

