(function($) {

    $(document).ready(function() {

        $("#search_for").focus(function() {

            if ($(this).val() == "Keyword ...") {

                $(this).val("");

                $(this).removeClass("empty");

            }

        });

        $("#search_for").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Keyword ...");

                $(this).addClass("empty");

            }

        });

        $("#search_for").trigger("blur");

    });

})(jQuery);


(function($) {

    $(document).ready(function() {

        $("#search_where").focus(function() {

            if ($(this).val() == "Seattle. WA ...") {

                $(this).val("");

                $(this).removeClass("empty");

            }

        });

        $("#search_where").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Seattle. WA ...");

                $(this).addClass("empty");

            }

        });

        $("#search_where").trigger("blur");

    });

})(jQuery);



(function($) {

    $(document).ready(function() {

        $("#s").focus(function() {

            if ($(this).val() == "Site Search ..") {

                $(this).val("");

                $(this).removeClass("empty");
				$(this).css('color','#000');

            }

        });

        $("#s").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Site Search ..");

                $(this).addClass("empty");
				$(this).css('color','#ccc');

            }

        });

        $("#s").trigger("blur");

    });

})(jQuery);


(function($) {
    $(document).ready(function() {
		
	
        $("#FirstName").focus(function() {
            if ($(this).val() == "First Name") {
                $(this).val("");
            }
        });

        $("#FirstName").blur(function() {

            if ($(this).val() == "") {

                $(this).val("First Name");
            }
        });
        $("#FirstName").trigger("blur");
		  $("#LastName").focus(function() {
            if ($(this).val() == "Last Name") {
                $(this).val("");
            }
        });

        $("#LastName").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Last Name");
            }
        });
        $("#LastName").trigger("blur");
		 $("#Email").focus(function() {
            if ($(this).val() == "Email") {
                $(this).val("");
            }
        });

        $("#Email").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Email");
            }
        });
        $("#Email").trigger("blur");
		 $("#CompanyName").focus(function() {
            if ($(this).val() == "Company Name") {
                $(this).val("");
            }
        });

        $("#CompanyName").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Company Name");
            }
        });
        $("#CompanyName").trigger("blur");
			 $("#Phone").focus(function() {
            if ($(this).val() == "Phone Number") {
                $(this).val("");
            }
        });

        $("#Phone").blur(function() {

            if ($(this).val() == "") {

                $(this).val("Phone Number");
            }
        });
        $("#Phone").trigger("blur");

        $("#AffiliateCode").focus(function() {
            if ($(this).val() == "Promotional/Affiliate Code") {
                $(this).val("");
            }
        });

        //$("#AffiliateCode").blur(function() {
            //if ($(this).val() == "") {
            //    $(this).val("Promotional/Affiliate Code");
            //}
        //});
        //$("#AffiliateCode").trigger("blur");
        
	$("#Referred").focus(function() {
            if ($(this).val() == "Referred by") {
                $(this).val("");
            }
        });

       // $("#Referred").blur(function() {
       //     if ($(this).val() == "") {
        //        $(this).val("Referred by");
        //    }
        //});
        //$("#Referred").trigger("blur");
    });
	
	
})(jQuery);

