﻿function ValidateSearchKey(txtSearchBox, message) {
    var searchKey = txtSearchBox.value;
    if (searchKey != null) {
        if (trim(searchKey) == '' || searchKey == 'Search this site') {
            alert(message);
            return false;
        }
    }
}