$(function()
{
    $('form#searchForm input.textInput, form#quickContact input').focus(function(){
        if ( !('firstValue' in this) ) {
            this.firstValue = $(this).val();
        }
        if ( $(this).val() == this.firstValue ) {
            $(this).val('');
        }
    })
    .blur(function(){
        if ( $(this).val() == '' ) {
            $(this).val( this.firstValue );
        }
    });

    $('form#searchForm a.grayText').click(function(){
        $(this).parents('form').submit();
        return false;
    });
});