title: Custom google search does not return any results
body: <p>i have a problem with custom google search.
  i copy code from custom google search engine and paste it in my project.
  for  one domain it works and return results but for another sub domain it not works and not returned any results</p>
  
  <p>Does anyone have an idea why?</p>
  
  <p>One page has a search box only with code:</p>
  
  <pre><code>&lt;div  id="cse-search-form"  dir="&lt;%= MyBase.UserPreferences.DisplayDir%&gt;" style="width:500px;"&gt;&lt;/div&gt;
                             &lt;script&gt;
                                 (function () {
                                     var cx = '017015442779235202717:g8u07nzbkmi';
                                     var gcse = document.createElement('script');
                                     gcse.type = 'text/javascript';
                                     gcse.async = true;
                                     gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx;
                                     var s = document.getElementsByTagName('script')[0];
                                     s.parentNode.insertBefore(gcse, s);
                                 })();
                          &lt;/script&gt;
                          &lt;gcse:searchbox-only resultsUrl="SearchResults.aspx"&gt;&lt;/gcse:searchbox-only&gt;
  </code></pre>
  
  <p>And the results are displayed on another page with code:</p>
  
  <pre><code>&lt;div&gt;
      &lt;script&gt;
          (function () {
              var cx = '017015442779235202717:g8u07nzbkmi';
              var gcse = document.createElement('script');
              gcse.type = 'text/javascript';
              gcse.async = true;
              gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx;
              var s = document.getElementsByTagName('script')[0];
              s.parentNode.insertBefore(gcse, s);
          })();
      &lt;/script&gt;
      &lt;gcse:searchresults-only&gt;&lt;/gcse:searchresults-only&gt;
  </code></pre>
  
  <p>
  Additionally,
  I tried to put the search box and results on the same page with the following code:</p>
  
  <pre><code> &lt;div&gt;Compact Layout Demo&lt;/div&gt;
   &lt;div id="cse-search-form" style="width: 500px;"&gt;Loading&lt;/div&gt;
  
  &lt;script src="http://www.google.com/jsapi" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
     google.load('search', '1', { language: 'en' });
     google.setOnLoadCallback(function () {
     var customSearchControl = new google.search.CustomSearchControl   ('017015442779235202717:g8u07nzbkmi');
      customSearchControl.setResultSetSize(google.search.Search.SMALL_CSE_RESULTSET);
      customSearchControl.draw('cse-search-form');
  
      // var options = new google.search.DrawOptions();
      // options.enableSearchboxOnly("http://www.tiemponeto.com/All/searchresults3.asp");
      // customSearchControl.draw('cse-search-form', options)
  }, true);
  </code></pre>
  
  <p>
  </p>
  
  <p>Search still not working and not seeing results</p>
  
  <p>Please, who can help me?</p>