<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
height="350"
title="Flower Garden"
directory_title="Flower Garden"
description="Grow your own garden instantly in this amazing gadget.  Simply click on the empty space and watch the flowers bloom right before your eyes."
title_url="http://www.gingagadgets.com/hub.php?caller=garden"
screenshot="http://ginga.gadgets1.googlepages.com/screenshot_garden.280.X.PNG"
thumbnail="http://ginga.gadgets1.googlepages.com/thumbnail_garden.120.60.PNG"
singleton="false" author="Ginga"
author_email="ginga.gadgets@gmail.com" author_location="USA"
author_photo="http://ginga.gadgets.googlepages.com/authorphoto.png"
author_aboutme="Restless"
author_quote="Tra-la-laa-rific!"
author_link="http://gingagadgets.com"
author_affiliation="ginga gadgets" category="funandgames" category2="lifestyle">
<Require feature="minimessage"/>
<Require feature="analytics" /> 
<Require feature="dynamic-height"/> 

</ModulePrefs>


<Content type="html">
<![CDATA[ 

<!-- Anchor everything -->
<div id="msg_div"></div>
<div id="content_div" style="text-align: center;font-size:x-small">
</div>


<script type="text/javascript">
// global var
var moduleWidth = _gel("remote___MODULE_ID__").offsetWidth;
var moduleHeight = moduleWidth * .704;
var swfUrl = _IG_GetCachedUrl("http://gingagadgets.com/garden/garden.swf");

_IG_Analytics("UA-2621463-1", "/garden");


function init() {
  pushHTML();
}

// Run above function onload
_IG_RegisterOnloadHandler(init);


// Don't forget promotion :)
var msg = new _IG_MiniMessage(__MODULE_ID__,_gel("msg_div"));

_IG_FetchContent('http://www.gingagadgets.com/lib/message_center.php?caller=garden', function (responseText) {
  msg.createDismissibleMessage(responseText,resize);
  _IG_AdjustIFrameHeight();
});

function pushHTML() {
  var height = moduleHeight;
  var width = moduleWidth;

  var html = "";
  
  html += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\""; 
  html += "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\"" ;
  html += "width=\"" + width + "\" height=\"" + height + "\">";
  html += "<param name=\"movie\" value=\"" + swfUrl + "\" />";
  html += "<param name=\"quality\" value=\"high\" />";
  html += "<embed src=\"" + swfUrl + "\" ";
  html += "quality=\"high\"" ;
  html += "pluginspage=\"http://www.macromedia.com/go/getflashplayer\"" ;
  html += "type=\"application/x-shockwave-flash\"" ;
     html += "width=\"" + width + "\"" ;
  html += "height=\"" + height + "\">";
  html += "</embed>";
  html += "</object>";
  
  // Write out to div
  _gel('content_div').innerHTML = html; 
  // Tells gadget to resize itself
  _IG_AdjustIFrameHeight();
}

function resize() {
  _IG_AdjustIFrameHeight();
}
</script>

   ]]> 
</Content>
</Module>


