<!-- ++Begin Dynamic Feed Wizard Generated Code++ -->
  <!--
  // Created with a Google AJAX Search and Feed Wizard
  // http://code.google.com/apis/ajaxsearch/wizards.html
  -->

  <!--
  // The Following div element will end up holding the actual feed control.
  // You can place this anywhere on your page.
  -->
  <div id="feed-control">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </div>
  <div id="feed-test">
  </div>

  <!-- Google Ajax Api
  -->
  <script src="http://www.google.com/jsapi?key=ABQIAAAAq5UcvJN6L2PrGvrbKudFbBTViitOsBSHaTiw-fD7Qc8rEpcyARTvvU4QPC8ptjaFKPeLzPEW3JarGQ"
    type="text/javascript"></script>

  <!-- Dynamic Feed Control and Stylesheet -->
  <script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.greesha.ru/CSS/quoteofday.css");
  </style>

  <script type="text/javascript">
    function Callback(result) {
    
      if (result.feed.entries.length > 0)
      {
          var el = document.getElementById('feed-test');
          el.innerHTML = result.feed.entries[0].content + 
                         '<p><a href="' + 
                         result.feed.entries[0].link +
                         '">' +
                         result.feed.entries[0].title +
                         '</a>';
          var el = document.getElementById('feed-control');
          el.style.display = 'none';
          el.style.visibility = 'hidden';
      }
    }
  
    function LoadDynamicFeedControl() {
      var feeds = [
	{title: '',
	 url: 'http://www.greesha.ru/index.php?quote-of-the-day'
	}];
      var options = {
        numResults : 1,
        feedCycleTime : GFdynamicFeedControl.DEFAULT_FEED_CYCLE_TIME,
        linkTarget : google.feeds.LINK_TARGET_BLANK,
        displayTime : 3600000,
        transitionTime : GFdynamicFeedControl.DEFAULT_TRANSISTION_TIME,
        transitionStep : GFdynamicFeedControl.DEFAULT_TRANSISTION_STEP,
        fadeOutTime: GFdynamicFeedControl.DEFAULT_FADEOUT_TIME,
        scrollOnFadeOut : true,
        pauseOnHover : true,
        hoverTime : GFdynamicFeedControl.DEFAULT_HOVER_TIME,
        autoCleanup : false,
        transitionCallback : null,
        feedTransitionCallback : null,
        feedLoadCallback : Callback,
        horizontal : false,
        stacked : false,
        title : ""      
     }

      var gf = new GFdynamicFeedControl(feeds, 'feed-control', options);
      
    }
    // Load the feeds API and set the onload callback.
    google.load('feeds', '1');
    google.setOnLoadCallback(LoadDynamicFeedControl);
  </script>
<!-- ++End Dynamic Feed Control Wizard Generated Code++ -->
