// Google Custom Search Code for Banner
<!--
	  google.load('search', '1',{language : 'en'});

      google.setOnLoadCallback(function() {
        var customSearchControl = new google.search.CustomSearchControl('000305923243074535499:m3bdcitf_lw');
            customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
        var options = new google.search.DrawOptions();
            options.setSearchFormRoot('cse-search-form');
    
            options.setAutoComplete(false);
            customSearchControl.draw('cse', options);
      }, true);
	  
      function inputFocus() {
        document.getElementById('query-input').style['background'] = '#FFF';
      }

      function inputBlur() {
        var queryInput = document.getElementById('query-input');
        if (!queryInput.value) {
          queryInput.style['background'] =
              'white url(http://www.google.com/coop/images/' 
			  + 'google_custom_search_watermark.gif) no-repeat 0% 50%';
        }
      }

      function init() {
/*        google.search.CustomSearchControl.attachAutoCompletion(
		   '000305923243074535499:m3bdcitf_lw', 
		   document.getElementById('query-input'),
		   'two-page-form');*/ //This causes an error
        inputBlur();
      }

      function submitQuery() {
        window.location = 'http://www.pima.gov/search.html?q='
            + encodeURIComponent(
                document.getElementById('query-input').value);
        return false;
      }

      google.setOnLoadCallback(init);
//-->
