<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="Nano-Farm" preview="Bauen Sie Ihren Garten, beginnen Sie mit der Erforschung des Elixiers ewiger Jugend!" description="Es ist die Zeit, Ihren Traumgarten zu bauen! Bauen Sie ungewöhnliche Häuser, füttern Sie Zebra-Schweine und erforschen Sie das Elixier ewiger Jugend!" platform="meinvz+studivz" width="800" scaling="true" scrolling="false" singleton="false" author="Redspell" thumbnail="http://st-farm.redspell.ru/150x100.png" icon="http://st-farm.redspell.ru/85x85.png" host_location="Russia" author_email="support@thebigfarmtheory.zendesk.com" feed_promotion_text="Bauen Sie Ihren Garten, beginnen Sie mit der Erforschung des Elixiers ewiger Jugend!">
    <Require feature="opensocial-0.8">
      <RequiredFields>
        <Field>gender</Field>
        <Field>thumbnailUrl</Field>
      </RequiredFields>
    </Require>
    <Require feature="invite"/>
    <Require feature="tabs" />
    <Require feature="embed" />
    <Require feature="views"/>
    <AllowedDomain name="bl-farm.redspell.ru" />
  <link rel="event.addapp" href="http://bl-farm.redspell.ru/add_remove_app/" />
  <link rel="event.removeapp" href="http://bl-farm.redspell.ru/add_remove_app/" />
  </ModulePrefs>

<Content type="html" view="profile"><![CDATA[
  <a href="javascript:gadgets.views.requestNavigateTo(
                            gadgets.views.getSupportedViews()['canvas'],
                            {})"><img src="http://st-farm.redspell.ru/390x400.png" width="390" height="380"/></a>
  <a target="_blank" href="http://st-farm.redspell.ru/vz_agb.html">Impressum/AGB/Datenschutz</a>
]]></Content>

<Content type="html" view="group"><![CDATA[
  <a href="javascript:vz.invite.install();"><img src="http://st-farm.redspell.ru/390x400.png" width="390" height="380"/></a>
  <a target="_blank" href="http://st-farm.redspell.ru/vz_agb.html">Impressum/AGB/Datenschutz</a>
]]></Content>

<Content type="html" view="preview"><![CDATA[
  <a href="javascript:vz.invite.install();"><img src="http://st-farm.redspell.ru/195x200.png" width="195" height="180"/></a>
  <a target="_blank" href="http://st-farm.redspell.ru/vz_agb.html">Impressum/AGB/Datenschutz</a>
]]></Content>

<Content type="html" view="embed"><![CDATA[
  <div id="__MODULE_ID__image" style="float: left; margin-right: 15px">
  </div>
  <div id="__MODULE_ID__message" style="padding-left: 10px; cursor: pointer; margin-top: 10px">
  </div>

  <script type="text/javascript">
  function getModuleId()
  {
    return "__MODULE_ID__";
  }
  function initEmbed()
  {
  var params = gadgets.views.getParams();
  var moduleID = getModuleId();
  var dimensions = gadgets.window.getViewportDimensions();

  document.getElementById(moduleID + 'image').innerHTML = '<a href="' + params['link'] + '" target="_blank"><img width="70" src="' + unescape(params['picture']) + '" /></a>';
  document.getElementById(moduleID + 'message').innerHTML = '<div><b>' + unescape(params['title']) + '</b></div><div><p>' + unescape(params['body']) + '</p></div><div><a href="' + params['link'] + '" target="_blank">' + unescape(params['linktext']) + '</a></div>';
  document.getElementById(moduleID + 'message').style.width = dimensions.width - 120;

  }

  gadgets.util.registerOnLoadHandler(function()
  {
    initEmbed();
  });

  </script>
]]></Content>

<Content type="html" view="canvas,popup"><![CDATA[

<div id="appboost" align="center"></div>

<div id="game-window-wrapper">
 <div id="gameWindow">
    <table style="background: url("http://st-farm.redspell.ru/no_player.png") no-repeat">
    <tr><td colspan=2><img src="http://st-farm.redspell.ru/zero.gif" height="145"/></td></tr>
    <tr><td width="360">&nbsp;</td>
        <td width="400">
          <a href="http://www.adobe.com/go/getflashplayer" target="_blank">
            <img src="${http}://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
          </a>
        </td>
     </tr>
    <tr><td colspan=2><img src="http://st-farm.redspell.ru/zero.gif" height="100"/></td></tr>
    </table>
  </div>
</div>


<div id="supermain"></div>

<div id="pay" style="display:none"></div>

<script type="text/javascript">
var of_ClientInitialized = false;
var of_otherFriends = null;

function populateOtherFriends(_friends, mapper) {
  of_otherFriends = [];

  if (!_friends) {
    return;
  }


  for (var i = 0; i < _friends.length; i++) {
    of_otherFriends.push(mapper(_friends[i]));
  }


  if (of_ClientInitialized) {
    var Ms =  navigator.appName.indexOf("Microsoft")!=-1;
    var client =  (Ms ? window : document)["Farm"];
    client.handleOtherFriends(of_otherFriends);
  }
}


function getOtherFriends() {
  of_ClientInitialized = true;

  if (of_otherFriends == null) {
    askOtherFriends();
    return;
  }

  var Ms =  navigator.appName.indexOf("Microsoft")!=-1;
  var client =  (Ms ? window : document)["Farm"];
  client.handleOtherFriends(of_otherFriends);
}
</script>

<script id="share_lang" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://st-farm.redspell.ru/js/jquery-ui-1.8.4.custom.min.js" type="text/javascript"></script>
<script src="http://st-farm.redspell.ru/js/swfobject.js" type="text/javascript"></script>

<script type="text/javascript">
  var app_title = "Nano-Farm";
  var static_url = "http://st-farm.redspell.ru";
  var dynamic_url = "http://bl-farm.redspell.ru";
  var lang_url = "http://st-farm.redspell.ru/locale/redspell/";
  var play_url = "";
  var pay_tr_url = "";
  var payments_gold = "";
  var payments_baks = "";
</script>

<link rel="stylesheet" type="text/css" href="http://st-farm.redspell.ru/css/mixi.css"/>
<script type="text/javascript" src="http://st-farm.redspell.ru/js/hospital.js?1"></script>
<script src="http://st-farm.redspell.ru/js/vz.js?7777778" type="text/javascript"></script>
<script type="text/javascript" src="http://st-farm.redspell.ru/js/fpserr.js?1"></script>

<script type="text/javascript">
  var showFpsErr = initFpsErr("vz");
</script>

<strong id="user_id"></strong> | <a target="_blank" href="http://st-farm.redspell.ru/vz_agb.html">Impressum/AGB/Datenschutz</a> | <a target="_blank" href="/Groups/Overview/4ca733f70e19b9c6">Gruppe zur App</a>
]]></Content>
</Module>
