﻿ <!--



      /*
      * This function retrieves the search query from the URL.
      */

      function GetParam(name)
      {
          var match = new RegExp(name + "=(.+)[&]","i").exec(location.search);
          if (match==null)
          {
              match = new RegExp(name + "=(.+)","i").exec(location.search);
          }

          if (match==null)
          {
              return null;
          }

          match = match + "";
          result = match.split(",");
          return result[1];
      }


var pageOptions = {
'pubId' : 'pub-9685054551006719',
'query' : GetParam('g')
};



var adblock1 = {
'container' : 'adblock1',
'number' : 2
};

var adblock2 = {
'container' : 'adblock2',
'number' : 2
};
new google.ads.search.Ads(pageOptions, adblock1, adblock2);
-->
