﻿var searchTerms = {

    init: function() {

        var defVal = "Enter search text...";

        $(".site-search .text-input").focus(function() {

            $(this).addClass("active");

            if ( $(this).val() === defVal ) {
                $(this).removeAttr("value");
            }

        });

        $(".site-search input").blur(function() {
            $(this).removeClass("active");
        });

    }

}
