<?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"/>
  <Optional feature="maximize"/>
  <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="modec" display_name="Canvas Type" datatype="enum" default_value="0"><EnumValue value="0" display_value="Auto"/><EnumValue value="S" display_value
="Standard"/><EnumValue value="M" display_value="Mobile"/></UserPref>
<UserPref name="exp" datatype="hidden" default_value="-1"/>
<Content type="html" view="home, profile, nav, default"><![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:170px;font-size:9px;"></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> - Do you see a <a href="http://www.ibuno.net/gadgets/black-shadow.html" target="_blank">black shadow</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";}
  md=_gel("mainDiv");
  gmail=_args()["container"];
  if(typeof gmail!="undefined"&&gmail=="gm"){
   _gel("adsHead").innerHTML="<span onclick='doMax();' style='cursor:pointer;'>expand</span>";md.style.display="none";_gel("copyr").style.display="none";
  }else{
   md.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="";
   setTimeout(function(){_IG_Analytics(ga,gap+"load"+expTrack);},2000);
  }
  gadgets.window.adjustHeight();
  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"/*shadow*/;if(navigator.userAgent){n=navigator.userAgent;if(n.indexOf("Firefox")>=0||n.indexOf("Chrome")>=0||n.indexOf("WebKit")>=0||n.indexOf("Opera")>=0){return "touch";}}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;">
   <span id="but0" onclick="iface('0');">Auto</span> |
   <span id="butS" onclick="iface('S');">Standard</span> |
   <span id="butM" onclick="iface('M');">Mobile</span>
 </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;line-height:2px;font-size:1px;background-color:#FFFFFF;"></div>
<div id="mainDiv">
<table><tr><td width="100%" height="100%">
<iframe id="mainIframe" src="" 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>
  - Do you see a <a href="http://www.ibuno.net/gadgets/black-shadow.html" target="_blank">black shadow</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")+")";
  var prefs=new gadgets.Prefs();
  iface("?");
  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";}
  function butOnOff(which,itype){
   a=_gel("but"+which).style;if(itype==which){a.cursor="auto";a.textDecoration="none";}else{a.cursor="pointer";a.textDecoration="underline";}
  }
  function iface(itype){
   if(itype=="?"){itype=prefs.getString("modec");}
   else {if(itype!=prefs.getString("modec")){prefs.set("modec",itype);}}
   if(itype=="S")ver="http://www.facebook.com/";
   else ver="http://m.facebook.com/";
   md=_gel("mainIframe");if(md.src!=ver)md.src=ver;
   butOnOff("0",itype);butOnOff("S",itype);butOnOff("M",itype);
  }
</script>
]]></Content>
</Module>
