<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Facebook"
 directory_title="Facebook"
 title_url="http://www.facebook.com/"
 description="__MSG_hdesc__"
 author="iBuno" author_affiliation="iBuno" author_email="gadgets@ibuno.net"
 author_link="http://www.ibuno.net/gadgets/" author_location="Milan,Italy"
 author_photo="http://www.ibuno.net/gadgets/author.png"
 author_aboutme="Software solutions for the web and for mobile platforms. IT consulting."
 author_quote="Web + Mobile"
 thumbnail="http://www.ibuno.net/gadgets/facebook/g/thumbnail.png"
 screenshot="http://www.ibuno.net/gadgets/facebook/g/screenshot.png"
 height="400" width="320" scrolling="false">
  <Require feature="analytics"/>
  <Require feature="views" />
  <Require feature="dynamic-height" />
  <Require feature="minimessage"/>
  <Require feature="setprefs"/>
  <Locale messages="http://www.ibuno.net/gadgets/facebook/l/ALL_ALL.xml" />
  <Locale lang="it" messages="http://www.ibuno.net/gadgets/facebook/l/it_ALL.xml" />
  <Locale country="IT" messages="http://www.ibuno.net/gadgets/facebook/l/it_ALL.xml" />
  <Locale lang="tl" messages="http://www.ibuno.net/gadgets/facebook/l/tl_ALL.xml" />
  <Locale country="PH" messages="http://www.ibuno.net/gadgets/facebook/l/tl_ALL.xml" />
</ModulePrefs>
<UserPref name="mode" display_name="Interface Type" datatype="enum" default_value="0"><EnumValue value="0" display_value="Auto"/><EnumValue value="t" display_value="Touch"/><EnumValue value="m" display_value="Mobile"/></UserPref>
<UserPref name="ad" display_name="Home Ad" datatype="bool" default_value="true"/>
<UserPref name="FG1" display_name="Message1" datatype="bool" default_value="true"/>
<UserPref name="exp" datatype="hidden" default_value="-1"/>
<Content type="html"><![CDATA[
<style type="text/css">
.t{float:right;margin-right:3px;cursor:pointer;}
.h{color:black;font-size:12px;}
.h h1{color:#3B5998;font-size:14px;}
.mmlib_table__MODULE_ID__ {background-color:#6080C0; color:#D8D8FF;}
</style>
<div style="height:16px;background-color:#3B5998;color:#809ACE;font-size:11px;">
 <div id="adsHead" style="float:left;padding-left:3px;width:210px;font-size:8px;"></div>
 <div style="float:right; padding:1px;">
  <div class="t" style="font-size:9px;text-decoration:underline;" onclick="doMax();">__MSG_tipMax__ </div>
  <div id="maxDiv" class="t" style="width:13px;height:14px;background-position:-17px;"
   title="__MSG_tipMax__" onclick="doMax();"></div>
  <div id="helpDiv" class="t" style="width:14px;height:14px;background-position:0px;"
   title="__MSG_tipHelp__" onclick="doHelp();"></div>
  <div id="gooDiv" class="t" style="display:none;width:46px;height:14px;background-position:-48px;"
   title="__MSG_tipGoo__" onclick="doGoo();"></div>
 </div>
</div>
<div style="height:2px;line-height:2px;font-size:1px;background-color:#FFFFFF;"></div>
<div id="helpoff">
<iframe id="adsTop" src="" height="0px" width="100%" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"></iframe>
<iframe id="mainDiv" src="" height="360px" width="100%" frameborder="0" scrolling="auto"></iframe>
<iframe id="adsBottom" src="" height="0px" width="100%" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"></iframe>
</div>
<div id="copyr" style="font-size:9px;">Gadget by <a href="http://www.ibuno.net/gadgets/" target="_blank">IBUNO</a>, hosted by <a href="http://www.dreamhost.com/r.cgi?219860/hosting.html|MNL20" target="_blank">DreamHost</a></div>
<div id="help" class="h" style="display:none;margin-left:4px;">
 <div style="float:right;cursor:pointer;"><a href="javascript:void(0);" onclick="sw('help','helpoff')">__MSG_Close__</a></div>
 <div id="helpMenu">
  <h1>__MSG_Help__</h1>
  <p><a href="javascript:void(0);" onclick="sw('helpMenu','helpAbout');">__MSG_About__</a></p>
  <p><a href="javascript:void(0);" onclick="sw('helpMenu','helpShare');">__MSG_SendFriend__</a></p>
 </div>
 <div id="helpAbout" style="display:none;">
  <h1>__MSG_About__</h1>
  <p>__MSG_AboutTxt1__</p><p>__MSG_AboutTxt2__</p><p>__MSG_AboutTxt3__</p>
  <p><a href="javascript:void(0);" onclick="sw('helpAbout','helpMenu')">__MSG_Back__</a></p>
 </div>
 <div id="helpShare" style="display:none;">
  <h1>__MSG_SendFriend__</h1>
  <p>__MSG_SendFriendTxt__</p>
  <a href="http://www.ibuno.net/go/face-__MSG_lang__" target="_blank">http://www.ibuno.net/go/face-__MSG_lang__</a>
  <p><a href="javascript:void(0);" onclick="sw('helpShare','helpMenu')">__MSG_Back__</a></p>
 </div>
</div>
<script type="text/javascript">
  function _gel(d){return document.getElementById(d);}
  var b="http://www.ibuno.net/gadgets/facebook/";
  var ga="UA-1810728-5";
  var gap="/ev/facebook/__MSG_lang__/home/";
  var g="url("+gadgets.io.getProxyUrl(b+"g/graph.png")+")";
  var prefs=new gadgets.Prefs();
  synd=_args()["synd"];if (typeof synd=="undefined")synd="undef";
  _gel("maxDiv").style.backgroundImage=g;
  _gel("helpDiv").style.backgroundImage=g;
  if (synd!="ig"){a=_gel("gooDiv").style;a.backgroundImage=g;a.display="block";}
  _gel("mainDiv").src="http://"+ver()+".facebook.com/";
  var exper=prefs.getInt("exp");if(exper<0){exper=Math.floor(Math.random()*100);prefs.set("exp",exper);}
  var expTrack="";

var FGmsg=new gadgets.MiniMessage(__MODULE_ID__,_gel("adsHead"));
FGmsg.createDismissibleMessage('The usual interface has been temporarily turned off, it should be back soon',function(){return true;});

  gadgets.window.adjustHeight();
  setTimeout(function(){_IG_Analytics(ga,gap+"load"+expTrack);},2000);
  function doMax(){if(gadgets.views.requestNavigateTo){canv=gadgets.views.getSupportedViews()["canvas"];if(canv){_IG_Analytics(ga,gap+"doMax");gadgets.views.requestNavigateTo(canv);return;}}}
  function doHelp(){sw('helpoff','help');_IG_Analytics(ga,gap+"help");}
  function doGoo(){_IG_Analytics(ga,gap+"doGoo");window.open("http://www.google.com/ig/adde?hl=__MSG_lang__&moduleurl=hosting.gmodules.com/ig/gadgets/file/104971404861070329537/facebook.xml");}
  function sw(from,to){_gel(from).style.display="none";_gel(to).style.display="block";}
  function ver(){mode=prefs.getString("mode");if(mode=="t")return "touch";else if(mode=="m")return "m";return "m";/**/}
</script>
]]></Content>

<Content type="html" view="canvas"><![CDATA[
<style type="text/css">
.t{float:right;margin-right:3px;cursor:pointer;}
.h{color:black;font-size:12px;}
.h h1{color:#3B5998;font-size:14px;}
.mmlib_table__MODULE_ID__ {background-color:#6080C0; color:#D8D8FF;}
</style>
<!-- Social Network Platform - Facebook and Friends - __MSG_hdesc__ -->
<div style="height:16px;background-color:#3B5998;color:#809ACE;font-size:11px;">
 <div id="ads" style="float:left;padding-left:3px;width:190px;font-size:9px;"></div>
 <div style="float:right; padding:1px;">
  <div id="minDiv" class="t" style="width:14px;height:14px;background-position:-32px;"
   title="__MSG_tipMin__" onclick="doMin();"></div>
  <div id="helpDiv" class="t" style="width:14px;height:14px;background-position:0px;"
   title="__MSG_tipHelp__" onclick="doHelp();"></div>
  <div id="gooDiv" class="t" style="display:none;width:46px;height:14px;background-position:-48px;"
   title="__MSG_tipGoo__" onclick="doGoo();"></div>
 </div>
</div>
<div style="height:2px;background-color:#FFFFFF;"></div>
<div id="mainDiv">
<table><tr><td width="100%" height="100%">
<iframe id="mainIframe" src="http://www.facebook.com/" width="100%" height="100%" frameborder="0" scrolling="yes"></iframe>
</td><td valign="top">
<div id="adsSide" style="width:124px;height:610px;">
  <iframe id="adsFrame" src="" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
</div>
</td></tr></table>
</div>
<div id="help" class="h" style="display:none;margin-left:4px;">
 <div style="float:right;cursor:pointer;"><a href="javascript:void(0);" onclick="sw('help','mainDiv')">__MSG_Close__</a></div>
 <div id="helpMenu">
  <h1>__MSG_Help__</h1>
  <p><a href="javascript:void(0);" onclick="sw('helpMenu','helpAbout');">__MSG_About__</a></p>
  <p><a href="javascript:void(0);" onclick="sw('helpMenu','helpShare');">__MSG_SendFriend__</a></p>
 </div>
 <div id="helpAbout" style="display:none;">
  <h1>__MSG_About__</h1>
  <p>__MSG_AboutTxt1__</p><p>__MSG_AboutTxt2__</p><p>__MSG_AboutTxt3__</p>
  <p><a href="javascript:void(0);" onclick="sw('helpAbout','helpMenu')">__MSG_Back__</a></p>
 </div>
 <div id="helpShare" style="display:none;">
  <h1>__MSG_SendFriend__</h1>
  <p>__MSG_SendFriendTxt__</p>
  <a href="http://www.ibuno.net/go/face-__MSG_lang__" target="_blank">http://www.ibuno.net/go/face-__MSG_lang__</a>
  <p><a href="javascript:void(0);" onclick="sw('helpShare','helpMenu')">__MSG_Back__</a></p>
 </div>
</div>
<div style="font-size:11px;">Gadget by <a href="http://www.ibuno.net/gadgets/" target="_blank">IBUNO</a>, hosted by <a href="http://www.dreamhost.com/r.cgi?219860/hosting.html|MNL20" target="_blank">DreamHost</a></div>
<script type="text/javascript"> 
  function _gel(d){return document.getElementById(d);} 
  var b="http://www.ibuno.net/gadgets/facebook/";
  var ga="UA-1810728-5";
  var gap="/ev/facebook/__MSG_lang__/canvas/";
  var g="url("+gadgets.io.getProxyUrl(b+"g/graph.png")+")";
  synd=_args()["synd"];if (typeof synd=="undefined")synd="undef";
  _gel("minDiv").style.backgroundImage=g;
  _gel("helpDiv").style.backgroundImage=g;
  if (synd!="ig"){a=_gel("gooDiv").style;a.backgroundImage=g;a.display="block";}
  gadgets.window.adjustHeight();
  setTimeout(function(){_IG_Analytics(ga,gap+"load");},2000);
  setTimeout(function(){_gel("adsFrame").src="http://www.ibuno.net/gadgets/facebook/adside.html";},8000);
  function doMin(){if(gadgets.views.requestNavigateTo){canv=gadgets.views.getSupportedViews()["home"];if(canv){_IG_Analytics(ga,gap+"doMin");gadgets.views.requestNavigateTo(canv);return;}}/**/}
  function doHelp(){sw('mainDiv','help');_IG_Analytics(ga,gap+"help");}
  function doGoo(){_IG_Analytics(ga,gap+"doGoo");window.open("http://www.google.com/ig/adde?hl=__MSG_lang__&moduleurl=hosting.gmodules.com/ig/gadgets/file/104971404861070329537/facebook.xml");}
  function sw(from,to){_gel(from).style.display="none";_gel(to).style.display="block";}
</script>
]]></Content>
</Module>
