var ig_a=void 0,ig_=null,ig_b;function ig_c(a){var b=window;if(a!="")for(a=a.split(".");a.length;){var c=a.shift();typeof b[c]!="object"&&(b[c]={});b=b[c]}return b}(function(){function a(a,b){for(var e=ig_c(a),f=0;f<b.length;f+=2)e[b[f]]=b[f+1]}function b(b,d,e,f,g){if(f)for(var h=0;h<f.length;h+=2)e.prototype[f[h]]=f[h+1];if(g)for(h=0;h<g.length;h+=2)e[g[h]]=g[h+1];a(b,[d,e])}a("",["_exportSymbols",a]);a("",["_exportClass",b])})();function ig_d(a,b){var c;c=a;var d=b;if(c.className){for(var e=c.className.split(" "),f=[],g=!1,h=0;h<e.length;++h)e[h]!=d?f.push(e[h]):g=!0;c.className=f.join(" ");c=g}else c=!1;return c};function ig_e(a){var a=a||document.location.href,b=a.indexOf("?");if(b==-1)return"";var c=a.indexOf("#"),a=c==-1?a.substr(b+1):a.substr(b+1,c-b-1)+"&"+a.substr(c+1);return a.split("&")}function _esc(a){return window.encodeURIComponent?window.encodeURIComponent(a):escape(a)}function _unesc(a){return window.decodeURIComponent?window.decodeURIComponent(a):unescape(a)}
function _argsUrl(a){for(var b={},a=ig_e(a),c=0;c<a.length;c++){var d=a[c].indexOf("=");if(d!=-1){var e=a[c].substring(0,d),d=a[c].substring(d+1),d=d.replace(/\+/g," ");b[e]=_unesc(d)}}return b};var ig_aa={domload:1,xsetpdone:1,moduleedit:1,modulesocialedit:1,modulecanceledit:1,moduledelete:1,moduleundelete:1,modulezip:1,moduleunzip:1,modulemaximize:1,moduleunmaximize:1,moduledragstart:1,moduledragend:1,moduletitleclick:1,load:1,unload:1,resize:1},ig_f={},ig_ba={dragstart:1,dragend:1,titleclick:1,edit:1,socialedit:1,canceledit:1,"delete":1,undelete:1,zip:1,unzip:1,maximize:1,unmaximize:1};
function ig_ca(a){if(a.hasOwnProperty&&a.hasOwnProperty("ig_event_hashcode_"))return a.ig_event_hashcode_;a.ig_event_hashcode_||(a.ig_event_hashcode_=++ig_g.ph);return a.ig_event_hashcode_}function ig_da(a){return"builtin_"+a}function ig_ea(a,b){a.indexOf&&a.indexOf("m_")==0&&(a=a.substring(2));return"builtin_m"+a+"_"+b}function ig_fa(a,b){return"builtin_"+ig_g.ih(a)+"_"+b}function ig_ga(a){return"custom_"+a}
function ig_ha(){for(var a in ig_g.d){for(var b=0;b<ig_g.d[a].length;b++)delete ig_g.d[a][b];if(a in ig_g.Oa){var c=ig_g.Oa[a],b=c[0],d=c[1],c=c[2];b.removeEventListener?b.removeEventListener(d,c,!1):b.detachEvent&&b.detachEvent("on"+d,c);delete ig_g.Oa[a]}}ig_f={}}function ig_ia(a,b,c){for(;c<b.length;c++)a[a.length]=b[c];return a}function ig_ja(a,b){if(a in ig_g.d)for(var c=0;c<ig_g.d[a].length;c++)if(ig_g.d[a][c]===b)return ig_g.d[a][c]=ig_,!0;return!1}
function ig_ka(a,b){if(a in ig_g.d)for(var c=0;c<ig_g.d[a].length;c++)if(ig_g.d[a][c]){for(var d=[],e=1;e<arguments.length;e++)d[d.length]=arguments[e];ig_g.d[a][c].apply(this,d)}}function ig_la(a,b){if(!(a in ig_g.mg))throw Error("Unsupported event type: "+a);if(a=="load"&&window.ig_latency_v2)_IG_AddCustomEventHandler("ifr_aft",b);else{var c=ig_g.Ab(a);c in ig_g.d||(ig_g.d[c]=[]);ig_g.d[c][ig_g.d[c].length]=b;return ig_g.d[c].length}}
function ig_ma(a,b,c){if(!(b in ig_g.ng))throw Error("Unsupported module event type: "+b);a=ig_g.Bb(a,b);a in ig_g.d||(ig_g.d[a]=[]);ig_g.d[a][ig_g.d[a].length]=c}
function ig_na(a,b,c){var d=ig_g.od(a,b);if(!(d in ig_g.d)){ig_g.d[d]=[];var e=function(b){if(!b)b=window.event;ig_g.Na.apply(a,[d,b])};if(a.addEventListener)a.addEventListener(b,e,!1);else if(a.attachEvent)a.attachEvent("on"+b,e);else throw Error("Object {"+a+"} does not support DOM events.");ig_g.Oa[d]=[a,b,e]}e=ig_g.d[d].length;a===window&&b=="unload"&&e>0?(ig_g.d[d][e]=ig_g.d[d][e-1],ig_g.d[d][e-1]=c):ig_f[b]?setTimeout(c,10):ig_g.d[d][e]=c}
function ig_oa(a,b){var c=ig_g.Cb(a);c in ig_g.d||(ig_g.d[c]=[]);ig_g.d[c][ig_g.d[c].length]=b}function ig_pa(a,b){var c=ig_g.Ab(a);return ig_g.Va(c,b)}function ig_qa(a,b,c){a=ig_g.Bb(a,b);return ig_g.Va(a,c)}function ig_ra(a,b,c){a=ig_g.od(a,b);return ig_g.Va(a,c)}function ig_sa(a,b){var c=ig_g.Cb(a);return ig_g.Va(c,b)}
function ig_ta(a,b){var c=a=="load"||a=="domload",d=!1;c&&((d=ig_f[a])||_IG_TriggerCustomEvent(a+"_start"),ig_f[a]=!0);var e=ig_g.ba([ig_g.Ab(a)],arguments,1);ig_g.Na.apply(window,e);c&&!d&&_IG_TriggerCustomEvent(a+"_end")}function ig_h(a,b){var c=ig_g.ba([],arguments,0);setTimeout(function(){ig_g.Od.apply(window,c)},0)}function ig_ua(a,b,c){var d=ig_g.ba([ig_g.Bb(a,b)],arguments,2);ig_g.Na.apply(window,d)}
function ig_i(a,b,c){var d=ig_g.ba([],arguments,0);setTimeout(function(){ig_g.Vb.apply(window,d)},0)}function ig_va(a,b){var c=ig_g.ba([ig_g.Cb(a)],arguments,1);ig_g.Na.apply(window,c)}function ig_wa(a,b){var c=ig_g.ba([],arguments,0);setTimeout(function(){ig_g.Nd.apply(window,c)},0)}function ig_j(a,b){switch(a){case "delete":case "undelete":case "edit":case "socialedit":case "canceledit":case "zip":case "unzip":case "maximize":case "unmaximize":ig_i(b,a),ig_h("module"+a,b)}}
function _IG_delayScript(a,b){function c(){clearTimeout(d);_IG_RemoveEventHandler("load",c);setTimeout(a,0)}var d,e=!isNaN(b)&&b||1E4;d=setTimeout(c,e);_IG_AddEventHandler("load",c)}
var ig_g={ph:0,d:{},Oa:{},mg:ig_aa,ng:ig_ba,ih:ig_ca,Ab:ig_da,Bb:ig_ea,od:ig_fa,Cb:ig_ga,dh:ig_ha,ba:ig_ia,Va:ig_ja,Na:ig_ka,Zg:ig_la,Sd:ig_ma,Yg:ig_na,Xg:ig_oa,uh:ig_pa,Wd:ig_qa,th:ig_ra,sh:ig_sa,Od:ig_ta,Vb:ig_ua,Nd:ig_va,Ah:ig_h,Xd:ig_i,zh:ig_wa},_IG_AddEventHandler=ig_g.Zg,_IG_AddModuleEventHandler=ig_g.Sd,_IG_AddGadgetEventHandler=ig_g.Sd,_IG_AddDOMEventHandler=ig_g.Yg,_IG_AddCustomEventHandler=ig_g.Xg,_IG_RemoveEventHandler=ig_g.uh,_IG_RemoveModuleEventHandler=ig_g.Wd,_IG_RemoveGadgetEventHandler=
ig_g.Wd,_IG_RemoveDOMEventHandler=ig_g.th,_IG_RemoveCustomEventHandler=ig_g.sh,_IG_TriggerEvent=ig_g.Od,_IG_TriggerModuleEvent=ig_g.Vb,_IG_TriggerGadgetEvent=ig_g.Vb,_IG_TriggerCustomEvent=ig_g.Nd,_IG_TriggerDelayedEvent=ig_g.Ah,_IG_TriggerDelayedModuleEvent=ig_g.Xd,_IG_TriggerDelayedGadgetEvent=ig_g.Xd,_IG_TriggerDelayedCustomEvent=ig_g.zh;_IG_AddDOMEventHandler(window,"unload",ig_g.dh);_IG_AddDOMEventHandler(window,"load",function(){_IG_TriggerEvent("load")});
_IG_AddDOMEventHandler(window,"unload",function(){_IG_TriggerEvent("unload")});_IG_AddDOMEventHandler(window,"resize",function(){_IG_TriggerEvent("resize")});function _IG_RegisterOnloadHandler(a){_IG_AddEventHandler("domload",a)}function _IG_LoadLibraryDeferred(a,b){_IG_RegisterOnloadHandler(function(){_IG_LoadScript(a,b)})}_exportSymbols("google.gadgets.Events",["addHandler",_IG_AddEventHandler,"removeHandler",_IG_RemoveEventHandler,"addOnloadHandler",_IG_RegisterOnloadHandler]);
function _IG_RegisterMaximizeHandler(a,b){_IG_AddModuleEventHandler(a,"unmaximize",function(){b(!1)});_IG_AddModuleEventHandler(a,"maximize",function(){b(!0)})};function _gel(a){return document.getElementById(a)}function _gelstn(a,b){var c=b||document;return a=="*"&&c.all?c.all:c.getElementsByTagName?c.getElementsByTagName(a):[]}function _gelsbyregex(a,b,c){for(var a=_gelstn(a,c),c=[],d=0,e;e=a[d];++d)b.test(e.id)&&c.push(e);return c}function _trim(a){return a.replace(/^\s*|\s*$/g,"")}function _jesc(a){return a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/"/g,'\\"')}
function _toggle(a){if(a)if(a.style.display==""||a.style.display=="block")a.style.display="none";else if(a.style.display=="none")a.style.display="block"}function _hesc(a){return a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function _striptags(a){return a.replace(/<\/?[^>]+>/gi,"")}function _ig_gmid_(a){return parseInt(a.split("_")[2],10)}
function _showUserPrefs(a,b){b?(ig_k("m_"+a+"_editbox","none"),ig_k("m_"+a+"_aclbox","block"),ig_j("socialedit","m_"+a)):(ig_k("m_"+a+"_editbox",""),ig_k("m_"+a+"_aclbox","none"),ig_j("edit","m_"+a));var c=_gel("m_"+a);if(c)c.className="modbox_e"}function _closeUserPrefs(a){ig_k("m_"+a+"_editbox","none");ig_k("m_"+a+"_aclbox","none");if(a=_gel("m_"+a))a.className="modbox"}function _min(a,b){return a<b?a:b}function _max(a,b){return a>b?a:b}
function _IG_LoadScript(a,b){_sendx(a,function(a){window.eval(a);eval(b)})}function _IG_LoadScriptCallback(a,b){_sendx(a,function(a){window.eval(a);b&&b()})}function _IG_LoadScriptXDomain(a,b,c){function d(){eval(b)?c():setTimeout(function(){d()},100)}var e=document.createElement("script");e.src=a;_gelstn("head")[0].appendChild(e);b&&d()}
function _IG_LoadCss(a){var b=_gelstn("head")[0];if(!b)throw Error("Document is missing <head> element.  Failed to load CSS.");var c=document.createElement("style");c.type="text/css";c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a));b.insertBefore(c,b.firstChild)}function _log(a){a="/ig/log?msg="+_esc(a);_sendx(a)}
function _sendx(a,b,c,d){var e=ig_l();e.open(d?"POST":"GET",a,!0);if(b)e.onreadystatechange=function(){e.readyState==4&&b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d||ig_)}function ig_l(){var a=ig_;window.ActiveXObject?(a=new ActiveXObject("Msxml2.XMLHTTP"))||(a=new ActiveXObject("Microsoft.XMLHTTP")):window.XMLHttpRequest&&(a=new XMLHttpRequest);return a}
var _et="",_brand="",_bmod="",_source="",_ae="",_pid="",_authpath="",_prefid="",_setp_url="/ig/setp",_hl="",_old_html=!0,_use_old_feed_styles=!0,ig_m=ig_,ig_n=ig_;function ig_o(a,b,c){var d=a.elements[b];d?d.value=c:(d=document.createElement("input"),d.type="hidden",d.name=b,d.value=c,a.appendChild(d))}var ig_p=ig_;function _args(){ig_p||(ig_p=_argsUrl(document.location.href));return ig_p}function _IG_isIE(){return/msie/i.test(navigator.userAgent)}
function _qs(a){var b={pid:1,host:1,gl:1,hl:1,authuser:1,enable_flag:1,e:1,expid:1},a=a||_args(),c=["?"],d;for(d in a)b[d]&&c.push(d,"=",_esc(a[d]),"&");return c.join("")}var ig_xa=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_q(a,b){var c=ig_xa.exec(a),d=[c[1],"?",c[2]];d.push(c[2]?"&":"",b.join("&"),c[3]);return d.join("")}function ig_ya(a){var b={url:document.location,et:_et,brand:_brand,bmod:_bmod,source:_source,ae:_ae,pid:_pid,ap:_authpath,prefid:_prefid},c;for(c in b)b[c]&&ig_o(a,c,b[c])}
function _submit_form(a,b){a.action=_setp_url+_qs()+b;a.method="get";ig_ya(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_ya(a);ig_o(a,"m_"+b+"_t",c);c=_args();b=c.host;c=c.hl;b&&ig_o(a,"host",b);c&&ig_o(a,"hl",c);return!0}var ig_r=[],ig_s=!1;
function ig_za(){var a;a=[["et",_et],["pid",_pid],["ap",_authpath],["brand",_brand],["bmod",_bmod],["source",_source],["ae",_ae],["prefid",_prefid]];for(var b=[],c=0;c<a.length;++c)if(a[c].length==2){var d=a[c][0],e=a[c][1];e!=ig_&&e!=""&&b.push(d+"="+e)}return a=b.join("&")}function ig_Aa(){if(ig_r.length==0)ig_s=!1;else{ig_s=!0;var a=_setp_url+_qs()+ig_za(),b=ig_r.join("&");ig_r=[];var c=a.length+b.length>=1800;c?_sendx(a,ig_Ba,!1,b):(a+="&"+b,_sendx(a,ig_Ba,!1,ig_))}}
function ig_Ba(){_IG_TriggerDelayedEvent("xsetpdone");ig_Aa()}function _xsetp(a){ig_r.push(a);ig_s||ig_Aa()}function _xsetp_is_done(){return ig_r.length==0&&ig_s==!1}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+_qs()+ig_za()+"&url="+b+"&"+a}function _removeTabParam(a){a=a.split("#");a[0]=a[0].replace(/([?&])t=[^&#]*([&#]|$)/g,"$1");a[0]=a[0].replace(/[?&]$/,"");return a.join("#")}
function _select_tab(a,b){var c=b||ig_Ca(),c=c+_qs()+"t="+a;window.location.href=c}function _select_tab_and_log(a,b){_sendx("/ig/ui?xp=v2&action=selectTab&t="+a);_select_tab(a,b)}function _select_gadget_and_log(a,b,c){c=c||ig_Ca();_sendx("/ig/ui?xp=v2&action=maximizeMod&from=selectMod&mid="+b);a=c+_qs()+"t="+a+"#max"+b;window.location.href=a}function ig_Ca(a){a=a||document.location.pathname;return a=="/"?"/ig":"/"+a.split("/")[1]}function ig_k(a,b){var c=_gel(a);if(c)c.style.display=b}
_exportSymbols("",["setDisplayStyle",ig_k]);function _ssbc(a,b,c){for(var d=_gelstn("*"),e=0,f;f=d[e];e++)f.className==a&&(f.style[b]=c)}function _findPos(a){for(var b=0,c=0;a!=ig_;)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return[b,c]}function _getGadgetContainer(a){var b=_gel("m_"+a+"_b");if(!b&&(b=_gel("remote_"+a),!b))b=document.body;return b}function _appendMaxAgeParameter(a,b){var c=/[?&]$/.test(a);return a+(c?"":"&")+"max_age="+b+(c?"&":"")}
function _getStyle(a,b){var c;if(typeof a.currentStyle!="undefined")c=a.currentStyle;else if(document.defaultView.getComputedStyle!="undefined")c=document.defaultView.getComputedStyle(a,ig_);else return"";return c[b]}function ig_t(a){var b=window._IG_MD;if(!b)return ig_;for(var c=0;c<arguments.length;++c)if(b=b[arguments[c]],b==ig_)return ig_;return b}function _getIframeId(a){var b=ig_t("m",a,"ifrId");return b&&b!=""?b:"remote_iframe_"+a}
function _bidi_span_wrap(a,b){return _bidi_span_wrap_html(_hesc(a),b)}function _bidi_span_wrap_html(a,b){if(b=="rtl")return"<span dir=rtl>"+a+"</span>&lrm;";return a}
function _bidi_unicode_wrap(a,b){if(b=="rtl")return"\u202b"+a+"\u202c\u200e";return a}_exportSymbols("google.gadgets.Util",["args",_args]);_exportSymbols("",["addParamPairsToUrl",ig_q,"xmlhttp",ig_l]);if(!window.FLAG_isInSplitJS)window.FLAG_isInSplitJS=!1;function ig_u(a){this.I=[];this.Nb=a;this.Ta("_IG_DD_open");this.Ta("_IG_hoverHeader");this.Ta("_IG_hoverModule");this.ca("_IG_DD_create");this.ca("_IG_DD_init");this.ca("_IG_initDrag");this.ca("_IG_PushHistory");this.ca("_IG_PU_MakeDialogButton")}ig_u.prototype.Qd=!1;ig_u.prototype.Dd=!1;ig_u.Pg=1E4;ig_b=ig_u.prototype;
ig_b.ca=function(a){if(this.Nb){var b=window,c=a.lastIndexOf(".");c>=0&&(b=ig_c(a.substring(0,c)),a=a.substring(c+1));if(b[a]&&!b[a].Ed)throw Error(a+" is already defined.");b[a]=this.Eg(a)}};ig_b.Ta=function(a){if(this.Nb){var b=window,c=a.lastIndexOf(".");c>=0&&(b=ig_c(a.substring(0,c)),a=a.substring(c+1));b[a]=function(){}}};ig_b.Eg=function(a){function b(){for(var b=[],e=0;e<arguments.length;e++)b.push(arguments[e]);c.I.push([a,this,b])}var c=this;b.Ed=!0;return b};
ig_b.Fd=function(){if(this.I.length!=0){var a=this.I.shift(),b=a[0],c=a[1],a=a[2];try{var d=b instanceof Function?b:window[b];d.apply(c,a)}catch(e){}if(this.I.length>0){var f=this;setTimeout(function(){f.Fd()},0)}else this.Dd=!0,this.tg()}};
ig_b.Og=function(){for(var a=[],b=0;b<this.I.length;b++){var c=this.I[b][0];!(c instanceof Function)&&window[c].Ed&&(a.push(c),this.I.splice(b,1),b--)}var d=this;setTimeout(function(){d.Fd()},0);if(a.length>0)throw Error("The following functions were not found in the post load file: "+a.join(", "));};ig_b.tg=function(){for(var a=_gelstn("*"),b=0;b<a.length;b++){var c=a[b];c.className&&c.className.split&&ig_d(c,"disabled")}};
ig_b.rh=function(a,b){var c=this.Rg(b);_IG_AddEventHandler(a,c);setTimeout(c,ig_u.Pg)};ig_b.Rg=function(a){var b=this;return function(){if(!b.Qd)_IG_LoadScriptXDomain(a,"window._IG_DD_position",function(){b.Og()}),b.Qd=!0}};ig_b.ah=function(a){this.Dd||!this.Nb?a():this.I.push([a,ig_,[]])};var ig_v;ig_v||(ig_v=new ig_u(window.FLAG_isInSplitJS));function _IG_callPostLoad(a){ig_v.ah(a)}function _IG_deferFunction(a){ig_v.ca(a)}function _IG_ignoreFunction(a){ig_v.Ta(a)}
function _IG_loadPostloadJS(a,b){ig_v.rh(a,b)};function ig_w(a,b){function c(){}c.prototype=a.prototype;b.prototype=new c}function _ListApp(a,b,c){this.items=a;this.Ma=[];this.md=b;this.qa=c;this.yb="m_"+c+"_App";this.gd=_gel("m_"+c+"_disp");this.Pf=!0;this.Y=_gel("m_"+c+"_val");this.O=_gel("m_"+c+"_name");if(!this.O)this.O=this.Y;if(this.O)this.cd=this.O.value,this.fd=this.Y.value;this.nd=[].concat(this.items)}ig_b=_ListApp.prototype;ig_b.reset=function(){this.items=[].concat(this.nd);this.Ma=[];this.refresh()};ig_b.sort=function(a,b){return a.$b(b)};
ig_b.Kg=function(){var a="";_old_html&&(a="<table cellspacing=0 cellpadding=0 border=0>");for(var b="",c=this.items,d=0;d<c.length;d++)c[d]?(a+=_old_html?"<tr><td nowrap><font size=-1>"+c[d].Qb()+'</font></td><td><a href="#" onclick="'+this.yb+"._del("+d+');return false"><img src="/ig/images/x.gif" width=16 height=13 border=0></a></td></tr>':'<a href="#" onclick="'+this.yb+"._del("+d+');return false" class="delbox listdelbox"></a>'+c[d].Qb()+'<div class="c"></div>',parseInt(c[d].Db,10)<0&&(b+=c[d].Sa(d))):
(this.items.splice(d,1),d--);for(var c=this.Ma,e="",d=0;d<c.length;d++)parseInt(c[d].Db,10)>=0&&(e+=","+c[d].Db);a+=this.ld(b,e);return a};ig_b.ld=function(a,b){var c="<input type=hidden name=m_"+this.qa+'_del value="'+b+'"><input type=hidden name=m_'+this.qa+'_add value="'+a+'">';_old_html&&(c="</table><input type=hidden name=m_"+this.qa+'_del value="'+b+'"><input type=hidden name=m_'+this.qa+'_add value="'+a+'">');return c};
ig_b.refresh=function(){this.Pf&&this.items.sort(this.sort);this.gd.innerHTML="<font size=-1>"+this.Kg()+"</font>"};ig_b.add=function(a,b){a||(a=_trim(this.O.value));b||(b=_trim(this.Y.value));var c=new this.md(a,b,-1);if(c.Fb())this.items[this.items.length]=c,this.refresh(),this.O.value=this.cd,this.Y.value=this.fd};ig_b._del=function(a){this.Ma[this.Ma.length]=this.items[a];this.items.splice(a,1);this.refresh()};
function _PrefListApp(a,b,c,d,e){var f=typeof c=="string"?[]:c,d=new _ListApp(f,d,e),g;for(g in d)this[g]=d[g];typeof c=="string"&&this.Tf(c);this.Sf=a;this.Lh=b;this.yb="m_"+e+"_"+a+"_App";this.gd=_gel("m_"+e+"_"+a+"_disp");this.O=this.Y=_gel("m_"+e+"_"+a+"_val");this.fd=this.cd="";this.ld=_PrefListApp_get_tail}function _PrefListApp_get_tail(){var a="</table>";_gel("m_"+this.qa+"_"+this.Sf).value=this.Dg();return a}
_PrefListApp.prototype.Tf=function(a){if(a.length!=0){for(var a=a.length>0?a.split("|"):[],b=0;b<a.length;++b)a[b]=a[b].replace(/%7C/g,"|");for(var b=[],c=0;c<a.length;c++){var d=new this.md(a[c],a[c],-1);b[b.length]=d}this.items=b;this.nd=[].concat(b)}};_PrefListApp.prototype.Dg=function(){for(var a=[],b=0;b<this.items.length;b++)a[a.length]=this.items[b].P;if(b=a.length&&a.join){for(var b=[],c=0;c<a.length;++c)b.push(a[c].replace(/\|/g,"%7C"));a=b.join("|")}return a};
function _ListItem(a,b,c){this.z=a;this.P=b;this.Db=c}_ListItem.prototype.Fb=function(){return this.z!=""};_ListItem.prototype.$b=function(){return 0};_ListItem.prototype.Qb=function(){return _hesc(this.z)};_ListItem.prototype.Sa=function(){return"&"+_esc(this.z)+"="+_esc(this.P)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_w(_ListItem,_BMListItem);ig_b=_BMListItem.prototype;ig_b.Fb=function(){return _ListItem.prototype.Fb.call(this)&&this.z!="http://"};
ig_b.Tb=function(){if(this.P)return this.P;else{var a=this.z;a.indexOf("http://")==0&&(a=a.substring(7));a.indexOf("www.")==0&&(a=a.substring(4));return a}};ig_b.Qb=function(){return'<a href="'+this.z+'" target=bmwindow>'+_hesc(this.Tb())+"</a>"};ig_b.Sa=function(a){return"&b"+a+"="+_esc(this.z)+"&t"+a+"="+_esc(this.P)};ig_b.$b=function(a){var b=this.Tb().toUpperCase(),a=a.Tb().toUpperCase();return b==a?0:b<a?-1:1};function _WthrListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_w(_ListItem,_WthrListItem);
_WthrListItem.prototype.Sa=function(){var a="&"+_esc(this.z);this.P&&(a+="="+_esc(this.P));return a};function _FListItem(a,b,c,d){_ListItem.call(this,a,b,c);this.Wa=d||0}ig_w(_ListItem,_FListItem);_FListItem.prototype.Sa=function(){return"&"+_esc(this.z)};_FListItem.prototype.$b=function(a){var b=this;if(b.Wa<a.Wa)return-1;if(b.Wa>a.Wa)return 1;b=b.z.toUpperCase();a=a.z.toUpperCase();return b<a?-1:b>a?1:0};function _edit(a,b){function c(){b&&b();_sendx("/ig/ui?action=editsettings&m="+a);ig_j("edit","m_"+a)}var d=ig_Da[a];d?(d(),c()):_IG_LL_load("m_"+a+"_editbox",{mid:a},function(){_showUserPrefs(a,!1);c()});return!1}var ig_Da={};function _IG_AddCustomEditHandler(a,b){ig_Da[a]=b}function _cedit(a){_closeUserPrefs(a);var b=_gel("m_"+a+"_form");if(b)return b.reset(),_sendx("/ig/ui?action=canceledit&m="+a),ig_j("canceledit","m_"+a),!1}
function _uhc(a,b,c){var b="m_"+a+"_"+b,d=_gel(b);if(!d)d=document.createElement("INPUT"),d.type="hidden",d.disabled=!0,d.name=b,_gel("m_"+a+"_form").appendChild(d);d.value=c;d.disabled=!1}function _confirmDel(a,b,c,d){var e=_bidi_unicode_wrap(_get_module_title(a),_get_module_title_dir(a)),d=d.replace(/MODULE_TITLE/,e);confirm(d)&&_del(a,b,c)}
function _get_module_title(a){typeof a=="object"?a=a.id.replace("m_",""):typeof a=="string"&&(a=a.replace("m_",""));return typeof _IG_MD!="undefined"?_IG_MD.m[a].ti:(a=_gel("m_"+a+"_title"))?_striptags(a.innerHTML):""}function _get_module_title_dir(a){typeof a=="object"?a=a.id.replace("m_",""):typeof a=="string"&&(a=a.replace("m_",""));if(typeof _IG_MD!="undefined")return _IG_MD.m[a].ti_dir}
function _get_all_modules(){var a,b=_gelsbyregex("DIV",/^c_[0-9]+$/);a=[];for(var c=0;c<b.length;c++)b[c].style.display!="none"&&a.push(b[c]);for(var b=[],c=/^m_[0-9]+$/,d=0;d<a.length;d++){b[d]=[];for(var e=b[d],f=0;f<a[d].childNodes.length;f++){var g=a[d].childNodes[f];g.tagName=="DIV"&&g.style.display!="none"&&g.id&&c.test(g.id)&&e.push(g)}}window.gadgets&&window.gadgets.views&&window.gadgets.views.ViewManager&&window.gadgets.views.ViewManager.getCurrentMaxId&&(a=window.gadgets.views.ViewManager.getCurrentMaxId())&&
b.length>0&&a&&b[0].unshift(_gel("m_"+a));return b}var ig_x=!1;function _del_is_done(){return _xsetp_is_done()&&ig_x}function _del(a,b,c){ig_x=!1;_xsetp("m_"+a+"_enab=0&m_"+a+"_t="+b);if(b=_gel("undel_msg"))_gel("undel_title").innerHTML="&quot;"+_bidi_span_wrap(_get_module_title(a),_get_module_title_dir(a))+"&quot; ",b.style.display="block",ig_k("undo_msg","none"),ig_k("undo_restore_msg","none");ig_k("m_"+a,"none");ig_m=a;ig_n=c;ig_k(c,"");_mod=!0;ig_j("delete","m_"+a);ig_x=!0;return!1}
function _undel(){if(ig_m!=ig_){var a="m_"+ig_m,b=_gel(a);b&&(ig_k(a,"block"),_xsetp("undel"));ig_k("undel_msg","none");ig_n!=ig_&&ig_k(ig_n,"none");ig_n=ig_m=ig_;ig_j("undelete",a)}}function _isModuleZipped(a){return(a=_gel("m_"+a+"_b"))?a.style.display=="none":!1}
function _zm(a,b,c){var d=_gel("m_"+a+"_b");if(d){var e=!_isModuleZipped(a);d.style.display=e?"none":"block";if(d=_gel("m_"+a+"_zippy"))d.className=e?d.className.replace(/minbox/,"maxbox"):d.className.replace(/maxbox/,"minbox");c=c?"mmz":"mz";_xsetp(c+"="+a+":"+(e?"1":"0")+"&t="+b);ig_j(e?"zip":"unzip",a)}return!1}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=!1,ig_Ea=!1,_table=ig_,_tabs=ig_;
function _upc(){var a=[];_cbp||(a[a.length]=["medit","display",_uli?"":"none"]);a[a.length]=["panelo","display",_pnlo?"":"none"];a[a.length]=["panelc","display",_pnlo?"none":""];_mod?(a[a.length]=["unmod","display","none"],a[a.length]=["mod","display",""]):(a[a.length]=["mod","display","none"],a[a.length]=["unmod","display",""]);for(var b=_gelstn("*"),c=0,d;d=b[c];c++)for(var e=0;e<a.length;e++)d.className==a[e][0]&&(d.style[a[e][1]]=a[e][2]);_IG_callPostLoad(_init_drag_drop)}
function _init_drag_drop(){if(_pl&&(_cbp||_uli)&&!ig_Ea&&!_mpnlo)_IG_TriggerCustomEvent("initdrag",_table,_tabs),ig_Ea=!0}var ig_y=0;
function _tp(a){ig_y>0&&clearInterval(ig_y);_pnlo=a;_mod=!0;_xsetp("pnlo="+(a?1:0));_upc();var b=_gel("cpnl"),c=_gel("cpnlc"),d=b.offsetWidth,e,f;a?(e=c.offsetWidth,f="visible",ig_k("ehdr",""),ig_k("nhdr","none")):(e=1,f="hidden",ig_k("ehdr","none"),ig_k("nhdr",""));b.style.overflow="hidden";var a=100,g=10,h=0;ig_y=setInterval(function(){var a=h/g,c=d+(e-d)*a;b.style.width=c+"px";h++;if(a>=1)clearInterval(ig_y),ig_y=0,b.style.width=e+"px",b.style.overflow=f},a/g);return!1}
function _ts(a,b){var c=_gel(a+b);c.className=="mlist_open"?(c.className="mlist_closed",c="pnlsc"):(c.className="mlist_open",c="pnlso");_xsetp(c+"="+_esc(b));return!1}function _add_m(a,b){_dlsetp(a,b)}function _add_m_confirm(a,b,c){confirm(b)&&_add_m(a,c)}function _add_f(a){_add_m("n_25="+_esc("url="+_esc(a)))}var ig_Fa=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/,ig_z=!0;function _find_feed_is_done(){return ig_z}
function _find_feed(a){ig_z=!1;var b="acd";if(!a){var c=_gelstn("div");if(c)for(var d=0,e;e=c[d];d++)e.id&&e.id.indexOf("ps")==0&&e.className=="mlist_open"&&_ts("ps",e.id.substring(2));if(_gel("add_custom"))a=_gel("add_custom").value}if(!a||a=="")b="advdsrch",a=_gel("add_advd").value;ig_k("ffresults","none");ig_k("ffloading","block");_sendx("/ig/feeds"+_qs()+"q="+_esc(a)+"&page="+_esc(b),ig_Ga);return!1}
function ig_Ga(a){ig_k("ffloading","none");if(a.length>0&&a.charAt(0)=="<"){if(_gel("ffresults"))_gel("ffresults").innerHTML=a}else a.match(ig_Fa),eval(a);ig_k("ffresults","block");ig_z=!0}function _add_remote_module(a,b,c){_sendx("/ig/feeds"+_qs()+"module=1&q="+_esc(a),function(a){b();ig_Ha(a,c)});return!1}
function ig_Ha(a,b){var c=/_add_m_confirm\((\"[^"]+\"),\s*(\"[^"]+\")(,\s*\"[^"]+\")?\)/,d=/^alert\(\"[^"]+\"\)$/;if(a.match(ig_Fa)!=ig_||a.match(d)!=ig_)b&&(a=a.replace(c,"_add_m($1$3)")),eval(a)}function ig_A(a){if(!a)a=document.body;return a.scrollHeight>a.offsetHeight?a.scrollHeight:a.offsetHeight}function ig_B(){return self.pageYOffset?self.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop}
function _closePromoBox(a){_toggle(_gel("promo"+a));_xsetp("gpc="+a+":-1")}_exportSymbols("",["pageHeight",ig_A,"scrollTop",ig_B]);var ig_C={},ig_Ia={};function _place(a,b){var c=ig_Ia[a];c?c(b):(ig_C[a]||(ig_C[a]=[]),ig_C[a].push(b))}function _register_place(a,b){ig_Ia[a]=b;var c=ig_C[a];if(c){for(var d=0;d<c.length;d++)b(c[d]);ig_C[a]=ig_}};function _reload(a,b){var c=a-(new Date).getTime();c>1E3?setTimeout("_reload("+a+")",c):b?document.location.replace(ig_Ja(document.location.href,document.location.pathname)):(document.cookie="IGREL=1",document.location.replace(document.location.href.split("#")[0]))}var ig_Ka=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_Ja(a,b){var c=ig_Ka.exec(a),d=c[1];b=="/"&&(d+="ig");d+="?";(c=c[2])&&(d+=c);_argsUrl(a).refresh||(c&&(d+="&"),d+="refresh=1");return d}
var ig_D={Sb:0,zd:1800,Jb:ig_,Ib:ig_,Hb:!0,ta:ig_,ud:ig_,qd:600,sa:function(){ig_D.Sb=(new Date).getTime()+ig_D.zd*1E3},sg:function(){(new Date).getTime()>ig_D.Sb&&(window.gTalkNotifier&&window.gTalkNotifier._isAnyMoleOpen&&window.gTalkNotifier._isAnyMoleOpen()?ig_D.sa():_testConnection(function(){_reload(ig_D.Sb,ig_D.ud)},ig_D.sa))},Pb:function(a){ig_D.sa();ig_D.Jb&&ig_D.Jb(a)},Ob:function(a){ig_D.sa();ig_D.Ib&&ig_D.Ib(a)}};
function _IG_disable_refresh_cycle(){ig_D.Hb=!1;_IG_suspend_refresh_cycle()}function _IG_suspend_refresh_cycle(){if(ig_D.ta!=ig_)clearInterval(ig_D.ta),ig_D.ta=ig_}function _IG_restart_refresh_cycle(){ig_D.Hb&&ig_D.ta==ig_&&ig_La()}
function _IG_start_refresh_cycle(a,b,c){if(ig_D.Hb){ig_D.Jb=document.onmousedown;ig_D.Ib=document.onkeyup;ig_D.zd=a;ig_D.qd=b;if(c)ig_D.ud=c;document.addEventListener?(document.addEventListener("keyup",ig_D.Ob,!1),document.addEventListener("mousedown",ig_D.Pb,!1)):document.attachEvent?(document.attachEvent("onkeyup",ig_D.Ob),document.attachEvent("onmousedown",ig_D.Pb)):(document.onkeyup=ig_D.Ob,document.onmousedown=ig_D.Pb);ig_La()}}
function ig_La(){ig_D.sa();ig_D.ta=setInterval(ig_D.sg,ig_D.qd*1E3)}function _testConnection(a,b,c){function d(){b&&(a=ig_,b())}var e=ig_l(),f="/ig/nop?t="+(new Date).getTime();c||(c=3500);e.open("GET",f,!0);e.onreadystatechange=function(){if(e.readyState==4&&a&&(200<=e.status&&e.status<300||e.status==1223))b=ig_,a()};try{e.send(ig_)}catch(g){}setTimeout(d,c)};function _IG_GetCachedUrl(a,b){var c;c=typeof b=="object"?b:{};var d=window.location.href,e="/ig/proxy?",f=/^http:\/\/[^/]+\/ig\/ifr[?]/;(f=f.exec(d))||d.indexOf("http://www.google.cn/ig/china")==0?window.location.host!="p.gmodules.com"&&_et&&(e+="et="+_esc(_et)+"&"):e="http://p.gmodules.com/ig/proxy?";!isNaN(c.refreshInterval)&&c.refreshInterval>=0&&(e=_appendMaxAgeParameter(e,c.refreshInterval));return e+"url="+_esc(a)+"&log=1"}function _IG_GetImageUrl(a,b){return _IG_GetCachedUrl(a,b)}
function _IG_GetImage(a,b){var c=document.createElement("img");c.src=_IG_GetCachedUrl(a,b);return c};function _IG_Callback(a,b){var c=arguments;return function(){for(var b=[],e=0;e<arguments.length;e++)b[b.length]=arguments[e];for(e=1;e<c.length;e++)b[b.length]=c[e];a.apply(ig_,b)}};var _IG_Layouts={_selectLayout:function(a){for(var b=_gel("edit_this_tab_form").edit_this_tab_selected_layout,c=0;c<b.length;c++){var d=b[c].value,e=_gel("edit_this_tab_layoutimg_"+d);if(d!=a){if(b[c].checked=!1,e.src.indexOf("_highlight")!=-1)e.src=e.src.substring(0,e.src.indexOf("_highlight"))+".gif"}else if(b[c].checked=!0,e.src.indexOf("_highlight")==-1)e.src=e.src.substring(0,e.src.indexOf(".gif"))+"_highlight.gif"}}};var ig_E=function(){var a=!1,b=[],c=ig_,d=ig_;return{init:function(){},load:function(e,f,g){_gel(e)?g(f):(b.push({id:e,args:f,callback:g}),a||(c?(d(c,b),b=[]):(_sendx("/ig/ui?action=lazy&id="+e,ig_,!1,ig_),!c&&!a&&(a=!0,_IG_LoadScript("/ig/ll"+window.location.search,"")))))},Tg:function(e,f){c=e;d=f;a=!1;d(c,b);b=[]},Qh:function(){a=!1;b=[];d=c=ig_}}}(),_IG_LL_init=ig_E.init,_IG_LL_load=ig_E.load,_IG_LL_loaded=ig_E.Tg;var ig_F=[];function _IG_isModuleInVisibleArea(a){var b=ig_B(),c,d=c=0;if(window.innerHeight)c=window.innerWidth,d=window.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)c=document.documentElement.clientWidth,d=document.documentElement.clientHeight;else if(document.body.clientHeight)c=document.body.clientWidth,d=document.body.clientHeight;c={width:c,height:d};c=c.height;d=parseInt(a.style.height,10);a=_findPos(a)[1];return a+d>b&&a<b+c}
function _IG_delayLoadGadget(a){ig_F.push(a)}function _IG_loadDelayLoadGadgets(){for(var a=0;a<ig_F.length;++a){var b=_gel(_getIframeId(ig_F[a].id));if(b){var c=b.getAttribute("src");if(c==ig_||c=="")b.src=ig_F[a].base_iframe_url}}};function _IG_MD_Generate(a){var b={t:{},dt:[],m:{},f:{}},c=a,d=b;if(c.t)for(var e=0;e<c.t.length;++e){var f=c.t[e];d.t[f.i]=f;d.t[f.i].m={}}c=a;d=b;if(c.f)for(e=0;e<c.f.length;++e)f=c.f[e],d.f[f.n]=f;c=a;d=b;if(c.m)for(e=0;e<c.m.length;++e){f=c.m[e];f.fa||(f.fa={});d.m[f.i]=f;var g=d.t[f.t];g&&(g.m[f.i]=f)}a.ct!=ig_&&b.t&&(b.ct=b.t[a.ct]);c=b;if(a.dt)for(d=0;d<a.dt.length;++d)c.dt[d]=c.t[a.dt[d]];return b};var ig_G;
ig_G||(ig_G=function(){function a(a){return a<10?"0"+a:a}function b(a){e.lastIndex=0;return e.test(a)?'"'+a.replace(e,function(a){var b=h[a];return typeof b==="string"?b:"\\u"+("0000"+(+a.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+a+'"'}function c(a,d){var e,h,q,r,t=f,o,i=d[a];i&&typeof i==="object"&&typeof i.toJSON==="function"&&(i=i.toJSON(a));typeof l==="function"&&(i=l.call(d,a,i));switch(typeof i){case "string":return b(i);case "number":return isFinite(i)?String(i):"null";case "boolean":case "null":return String(i);case "object":if(!i)return"null";
f+=g;o=[];if(typeof i.length==="number"&&!i.propertyIsEnumerable("length")){r=i.length;for(e=0;e<r;e+=1)o[e]=c(e,i)||"null";q=o.length===0?"[]":f?"[\n"+f+o.join(",\n"+f)+"\n"+t+"]":"["+o.join(",")+"]";f=t;return q}if(l&&typeof l==="object"){r=l.length;for(e=0;e<r;e+=1)h=l[e],typeof h==="string"&&(q=c(h,i))&&o.push(b(h)+(f?": ":":")+q)}else for(h in i)Object.hasOwnProperty.call(i,h)&&(q=c(h,i))&&o.push(b(h)+(f?": ":":")+q);q=o.length===0?"{}":f?"{\n"+f+o.join(",\n"+f)+"\n"+t+"}":"{"+o.join(",")+"}";
f=t;return q}}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
f,g,h={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;return{stringify:function(a,b,d){var e;g=f="";if(typeof d==="number")for(e=0;e<d;e+=1)g+=" ";else typeof d==="string"&&(g=d);if((l=b)&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number"))throw Error("JSON.stringify");return c("",{"":a})},parse:function(a,b){function c(a,b){var d,g,f=a[b];if(f&&typeof f==="object")for(d in f)Object.hasOwnProperty.call(f,d)&&(g=c(f,d),g!==ig_a?f[d]=g:
delete f[d]);return e.call(a,b,f)}var e=b,g;d.lastIndex=0;d.test(a)&&(a=a.replace(d,function(a){return"\\u"+("0000"+(+a.charCodeAt(0)).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return g=eval("("+a+")"),typeof e==="function"?c({"":g},""):g;throw Error("JSON.parse");}}}());
ig_G.parse=function(){var a=ig_G.parse;return function(b,c){try{return a(b,c)}catch(d){return!1}}}();function ig_Oa(a){var b=document.createElement("DIV");b.innerHTML="<iframe onload='this.pool_locked=false'></iframe>";var c=b.getElementsByTagName("IFRAME")[0];c.style.visibility="hidden";c.style.width=c.style.height="0px";c.style.border="0px";c.style.position="absolute";c.Gd=a;this.r[this.r.length]=c;b.removeChild(c);return c}
function ig_Pa(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=ig_,d=b.r.length-1;d>=0;d--){var e=b.r[d];if(e&&!e.Gd)if(e.parentNode.removeChild(e),window.ActiveXObject)b.r[d]=ig_,b.r.splice(d,1);else{e.Gd=!0;c=e;break}}c=c?c:b.pg(!0);c.src=a;document.body.appendChild(c)},0)}}function ig_Qa(){for(var a=0;a<this.r.length;a++)this.r[a].onload=ig_,this.r[a]=ig_;this.r.length=0;this.r=[]}
function ig_Ra(){for(var a=0;a<this.r.length;a++){var b=this.r[a];b&&b.parentNode.removeChild(b)}}function ig_Sa(){this.r=[];this.pg=ig_Oa;this.rd=ig_Pa;this.clear=ig_Qa;this.Jc=ig_Ra}function ig_Ta(a,b){_IFPC.oa[a]=b}function ig_Ua(a){delete _IFPC.oa[a]}
function ig_Va(a,b,c,d,e,f,g,h){if(!_IFPC.sb){var l=4095-d.length,l=parseInt(l/3,10);typeof g=="undefined"&&(g=!0);if(h)g={Ph:b,Oh:c,f:"..",t:window._isk[a.split("_")[2]]},a=[a,"..",_IFPC.ub,1,1,encodeURIComponent(ig_G.stringify(g))].join("&"),_IFPC.Ka.rd(d+"#"+a);else{c=c.slice(0);c.unshift(_IFPC.nf(e));c.unshift(f);c.unshift(b);c.unshift(a);b=_IFPC.Uc(c);c=parseInt(b.length/l,10);b.length%l>0&&(c+=1);for(e=0;e<c;e++)f=b.substr(e*l,l),f=[a,_IFPC.ub,c,e,f,g],_IFPC.Ka.rd(d+"#"+_IFPC.Uc(f))}_IFPC.ub++}}
function ig_Wa(){_IFPC.oa={};_IFPC.X={};_IFPC.Ka.clear()}function ig_Xa(){if(!_IFPC.sb)_IFPC.sb=!0,_IFPC.Ka.Jc(),_IFPC.clear()}function ig_Ya(a){var b=_IFPC.vb(a)[0],c=ig_;try{c=window.parent.frames[b]}catch(d){}try{!c&&window.parent.parent.frames[b]!=window.parent&&(window.parent.parent.frames[b].setTimeout(function(){},0),c=window.parent.parent.frames[b])}catch(e){}if(!c)c=window.parent.parent;!c||c._IFPC==ig_a?c=ig_:(b=function(){c._IFPC.xb(a)},window.ActiveXObject?b():c.setTimeout(b,0))}
function ig_Za(a){var a=_IFPC.vb(a),b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),a=a.shift(),b=b+"_"+c;_IFPC.N[b]||(_IFPC.N[b]=[]);_IFPC.N[b].push([e,f]);if(_IFPC.N[b].length==d){_IFPC.N[b].sort(function(a,b){return parseInt(a[0],10)-parseInt(b[0],10)});f="";for(e=0;e<d;e++)f+=_IFPC.N[b][e][1];_IFPC.N[b]=ig_;var e=_IFPC.vb(f),b=e.shift(),c=e.shift(),d=e.shift(),f=e.shift(),g=_IFPC.rf(c);if(g)a=g.apply(ig_,e),_IFPC.sf(f)&&(a.unshift(f),_IFPC.call(b,_IFPC.Vc,a,d,ig_,""));else if(a)throw Error("Service "+
c+" not registered.");}}function ig__a(a){return _IFPC.oa.hasOwnProperty(a)?_IFPC.oa[a]:ig_}function ig_0a(a){var b="";a&&typeof a=="function"&&(b=_IFPC.Ff(),_IFPC.X[b]=a);return b}function ig_1a(a){_IFPC.X.hasOwnProperty(a)&&(_IFPC.X[a]=ig_)}function ig_2a(a){return a&&_IFPC.X.hasOwnProperty(a)?_IFPC.X[a]:ig_}function ig_3a(){return _IFPC.Zc+_IFPC.Df++}function ig_4a(a){return(a+"").indexOf(_IFPC.Zc)==0}
function ig_5a(a){for(var a=a.split("&"),b=0;b<a.length;b++){var c=decodeURIComponent(a[b]);try{c=ig_G.parse(c)}catch(d){}a[b]=c}return a}function ig_6a(a){for(var b=[],c=0;c<a.length;c++){var d=ig_G.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function ig_7a(a){var b=_IFPC.Ef(a);if(b){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(ig_,c);_IFPC.Gf(a)}else throw Error("Invalid callbackId");}var _IFPC={};
function ig_8a(a){if((a=window._argsUrl&&window._argsUrl(a))&&a.exp_rpc_js==1)window.FLAG_use_rpc_js=!0;window.FLAG_use_rpc_js?_IFPC={pa:function(a,c){window.gadgets.rpc.register(a,function(){var a=this.a.slice(0);a.unshift(this.f);c.apply(ig_,a)})},$c:function(a){window.gadgets.rpc.unregister(a)},xb:function(a){window.gadgets.rpc.receive(a)},call:function(a,c,d,e,f,g,h,l){g=window.gadgets.rpc;e==g.getRelayUrl("..")&&(a="..");d||(d=[]);l||(d=d.slice(1));d.unshift(f);d.unshift(c);d.unshift(a);g.call.apply(g,
d)}}:(_IFPC={pa:ig_Ta,$c:ig_Ua,call:ig_Va,clear:ig_Wa,Jc:ig_Xa,Kh:ig_Ya,Jh:ig_Ya,xb:ig_Za,Zc:"cbid",Vc:"ifpc_callback",Ka:new ig_Sa,N:{},oa:{},X:{},Df:0,ub:0,sb:!1,rf:ig__a,nf:ig_0a,Gf:ig_1a,Ef:ig_2a,Ff:ig_3a,sf:ig_4a,vb:ig_5a,Uc:ig_6a,Hf:ig_7a},_IFPC.pa(_IFPC.Vc,_IFPC.Hf));_IFPC.registerService=_IFPC.pa;_IFPC.unregisterService=_IFPC.$c;_IFPC.call=_IFPC.call;_IFPC.handleRequest=_IFPC.xb}ig_8a(document.location.href);function _IG_Prefs_PrefsData(){}_IG_Prefs_PrefsData.prototype.value=ig_;function _IG_Prefs(a){if(typeof remote_modules!=="object")a=(a=_args().mid)?a:0,_IG_Prefs._parseURL(a),_IG_Prefs.Fa[a]=!1;else{if(!a)throw Error("Module ID is required as first argument to _IG_Prefs() for inlined modules");_IG_Prefs.Fa[a]=!0}_IG_Prefs.g[_IG_Prefs.L+a]||(_IG_Prefs.g[_IG_Prefs.L+a]={});this.g=_IG_Prefs.g[_IG_Prefs.L+a];this.b=a;this.Gh=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/}ig_b=_IG_Prefs.prototype;
ig_b.$=function(a,b){b==ig_a&&(b=ig_);var c=this.g[a];if(c==ig_a)return b;c=c.value;return c!=ig_a?c:b};ig_b.Zb=function(a,b){return this.$(_IG_Prefs.q+a,b)};ig_b.getString=function(a){var b="",a=this.Zb(a,b);return a!=ig_?a+"":b};ig_b.jh=function(a){var b=0,a=parseInt(this.Zb(a,b),10);return isNaN(a)?b:a};ig_b.getBool=function(a){a=this.getString(a);return a==="true"||!!parseInt(a,10)};ig_b.gh=function(a){return _IG_Prefs.Lg(this.Zb(a,""))};ig_b.wh=function(a,b){this.set(a,_IG_Prefs.Vg(b))};
ig_b.hh=function(){return this.getString(".country")};ig_b.kh=function(){return this.getString(".lang")};ig_b.lh=function(a){return this.$(_IG_Prefs.sd+a,"")+""};ig_b.set=function(a){var b=Math.floor(arguments.length/2);if(b!=0){for(var c=[],d=0;d<b;++d){var e=arguments[d*2],f=_IG_Prefs.q+e,g=arguments[d*2+1]+"";this.cf(f,g)&&c.push(e,g)}c.length!=0&&(_IG_Prefs.Fa[this.b]?_IG_Prefs._setP(this.b,c):_IFPC_SetPref(c))}};
ig_b.oh=function(){var a=["__module_id__="+this.b],b;for(b in this.g)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.g[b].value));return a.join("&")};if(window._IG_CONTAINER){var _IG_getPrefsService=function(){var a=this.f,a=_ig_gmid_(a);return(new _IG_Prefs(Number(a))).mh()};window.gadgets&&window.gadgets.rpc&&window.gadgets.rpc.register("get_prefs",_IG_getPrefsService)}
_IG_Prefs.prototype.dump=function(){document.write("<pre>");for(var a in this.g)document.writeln(a+" = "+this.$(a,ig_));document.write("</pre>")};_IG_Prefs.prototype.mh=function(){var a={},b;for(b in this.g){var c=this.$(b,ig_);c!=ig_&&(a[b]=c)}return a};_IG_Prefs.prototype.cf=function(a,b){var c=this.g[a];if(c&&c.value===b)return!1;c?c.value=b:(c=new _IG_Prefs_PrefsData,c.value=b,this.g[a]=c);return!0};_IG_Prefs.Fa={};_IG_Prefs.g={};_IG_Prefs.L="m_";_IG_Prefs.q="up_";_IG_Prefs.Ug="up_";
_IG_Prefs.sd="msg_";_IG_Prefs.Lb={};_IG_Prefs.Lb[_IG_Prefs.Ug]="value";_IG_Prefs.Rh=function(a,b){if(a.indexOf)return a.indexOf(b);else{for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}};
_IG_Prefs._parseURL=function(a){_IG_Prefs.Fa[a]=!1;for(var b={},c=ig_e(),d=0;d<c.length;++d){var e=c[d].indexOf("=");if(e>=0){var f=c[d].substring(0,e),f=f.replace(/\+/g," "),e=c[d].substring(e+1),e=e.replace(/\+/g," "),e=_unesc(e),g=!1,h;for(h in _IG_Prefs.Lb)if(f.indexOf(h)===0){g=!0;f=f.substring(h.length);f=_IG_Prefs.q+f;b[f]=b[f]?b[f]:new _IG_Prefs_PrefsData;if(h===_IG_Prefs.Nh||h===_IG_Prefs.Mh)e=e=="true";b[f][_IG_Prefs.Lb[h]]=e;break}g||(f.indexOf(_IG_Prefs.sd)===0?_IG_Prefs.Z(a,f,e):(f===
".lang"||f===".country")&&_IG_Prefs.Z(a,_IG_Prefs.q+f,e))}}if(window.IDIModule)for(d in b=window.IDIModule.getPrefs(),b)_IG_Prefs.Z(a,d,b[d]);else for(f in b)_IG_Prefs.Z(a,f,b[f].value)};_IG_Prefs.Z=function(a,b,c){a=_IG_Prefs.L+a;typeof _IG_Prefs.g[a]!=="object"&&(_IG_Prefs.g[a]={});if(typeof _IG_Prefs.g[a][b]!=="object")_IG_Prefs.g[a][b]=new _IG_Prefs_PrefsData,b=_IG_Prefs.g[a][b],b.value=c};
_IG_Prefs.vg=function(a,b,c){var d=_IG_Prefs.L+a;typeof _IG_Prefs.g[d]!=="object"?_IG_Prefs.Z(a,b,c):typeof _IG_Prefs.g[d][b]!=="object"&&(_IG_Prefs.g[d][b]=new _IG_Prefs_PrefsData);a=_IG_Prefs.g[d][b];a.value=c};_IG_Prefs._addAll=function(a,b){for(var c=0;c<b.length;++c)_IG_Prefs.Z(a,b[c][0],b[c][1])};_IG_Prefs.Vg=function(a){var b=a.length&&a.join;if(b){for(var b=[],c=0;c<a.length;++c)b.push(a[c].replace(/\|/g,"%7C"));return b.join("|")}else return a};
_IG_Prefs.Lg=function(a){for(var a=a.length>0?a.split("|"):[],b=0;b<a.length;++b)a[b]=a[b].replace(/%7C/g,"|");return a};_IG_Prefs.pd=function(a,b){for(var c in a)c.indexOf(_IG_Prefs.q)!==0||c.indexOf(_IG_Prefs.q+".lang")===0||c.indexOf(_IG_Prefs.q+".country")===0||c.indexOf(_IG_Prefs.q+"synd")===0||b.push(_esc(c)+"="+_esc(a[c].value))};_IG_Prefs.prototype.serializeToString=function(){if(this.g===ig_a)return"";var a=[];_IG_Prefs.pd(this.g,a);return a.join("&")};
_IG_Prefs.ka=function(a,b){var c=_IG_Prefs.L+a,c=_IG_Prefs.g[c];if(c==ig_)return b;var d=b.split("#"),e=d[0].split("?"),f=e;if(d.length>1&&("&"+d[1]).indexOf("&"+_IG_Prefs.q)!==-1&&(e.length===1||("&"+e[1]).indexOf("&"+_IG_Prefs.q)===-1))f=d;var g=[];f.length>1&&f[1].length!==0&&(g=f[1].split("&"));for(var h=0;h<g.length;++h)g[h].indexOf(_IG_Prefs.q)===0&&g.splice(h--,1);_IG_Prefs.pd(c,g);f[1]=g.join("&");d[0]=e.join("?");return d.join("#")};
_IG_Prefs._setPrefs=function(a,b){for(var c=Math.floor(b.length/2),d=0;d<c;++d){var e=_IG_Prefs.q+b[d*2],f=b[d*2+1];_IG_Prefs.vg(a,e,f)}};_IG_Prefs._setP=function(a,b){if(!(_args().synd==="open"||a===0)){for(var c=Math.floor(b.length/2),d=[],e=0;e<c;++e){var f=_IG_Prefs.q+b[e*2],g=b[e*2+1];d.push(_IG_Prefs.L+a+"_"+f+"="+_esc(g))}d.length!==0&&_xsetp(d.join("&"))}};
_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",_IG_Prefs.prototype.getString,"getInt",_IG_Prefs.prototype.jh,"getBool",_IG_Prefs.prototype.getBool,"getArray",_IG_Prefs.prototype.gh,"setArray",_IG_Prefs.prototype.wh,"getLang",_IG_Prefs.prototype.kh,"getCountry",_IG_Prefs.prototype.hh,"getMsg",_IG_Prefs.prototype.lh,"getPreloadedString",_IG_Prefs.prototype.oh,"set",_IG_Prefs.prototype.set,"dump",_IG_Prefs.prototype.dump]);var _IG_FR_viewType={HEADLINE:0,HEADLINE_AND_LEAD_STORY:1,SLIDESHOW:2,DEFAULT:3},_IG_FR_divType={ENTRY:0,PLUSBOX:1,HEADLINE:2,OUTER_CONTENT:3,INNER_CONTENT:4,STATUS:5,DISPLAY:6,ENTRIES:7,MSG:8,PREVIEW_SNIPPET:9,MEDIA_RSS_INNER:10,SLIDESHOW:12,SUMMARY_IMAGE:13,ARTICLE:14,SLIDESHOW_IMAGE_DIV:15,MEDIA_RSS_OUTER:16,SLIDESHOW_IMAGE_ERROR_DIV:17,EDIT_SETTINGS_NUM_HEADLINE_ITEMS:18,EDIT_SETTINGS_NUM_SLIDESHOW_ITEMS:19,EDIT_SETTINGS_VIEWTYPE:20,EDIT_SETTINGS_VIEWTYPE_VALUE:21,PLUSONE:22,EDIT_SETTINGS_VIEWTYPE_TABLE:23,
EDIT_SETTINGS_VIEWTYPE_TEXT:24};
function _IG_FR_divIdFor(a,b,c,d,e){switch(b){case _IG_FR_divType.ENTRY:return"ftl_"+a+"_"+c;case _IG_FR_divType.PLUSBOX:return"ft_"+a+"_"+c;case _IG_FR_divType.HEADLINE:return"f_e_"+a+"_"+c+"_link";case _IG_FR_divType.PREVIEW_SNIPPET:return"f_e_"+a+"_previewsnippet";case _IG_FR_divType.OUTER_CONTENT:return"fb_"+a+"_"+c;case _IG_FR_divType.SUMMARY_IMAGE:return"f_e_"+a+"_"+c+"_summaryimage";case _IG_FR_divType.INNER_CONTENT:return"fb_"+a+"_"+d;case _IG_FR_divType.STATUS:return"feed_"+a+"_statusmsg";
case _IG_FR_divType.MSG:return"feed_"+a+"_msg";case _IG_FR_divType.DISPLAY:return"feed_"+a+"_display";case _IG_FR_divType.ENTRIES:return"feed_"+a+"_entries";case _IG_FR_divType.MEDIA_RSS_INNER:return"f_e_"+a+"_mediarssinner";case _IG_FR_divType.SLIDESHOW:return"feed_"+a+"_slideshow";case _IG_FR_divType.ARTICLE:return"ftl_"+a+"_"+c+"_article";case _IG_FR_divType.SLIDESHOW_IMAGE_DIV:return"f_s_"+a+"_"+c+"_slideshowimage";case _IG_FR_divType.MEDIA_RSS_OUTER:return"f_e_"+a+"_mediarssouter";case _IG_FR_divType.SLIDESHOW_IMAGE_ERROR_DIV:return"f_s_"+
a+"_"+c+"_slideshowimageerror";case _IG_FR_divType.EDIT_SETTINGS_NUM_HEADLINE_ITEMS:return"m_"+a+"_num_headline_items_section";case _IG_FR_divType.EDIT_SETTINGS_NUM_SLIDESHOW_ITEMS:return"m_"+a+"_num_slideshow_items_section";case _IG_FR_divType.EDIT_SETTINGS_VIEWTYPE:return"m_"+a+"_viewtype";case _IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_VALUE:return"m_"+a+"_viewtype_value_"+e;case _IG_FR_divType.PLUSONE:return"m_"+a+"_plusone_"+c;case _IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_TABLE:return"m_"+a+"_viewtype_table";
case _IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_TEXT:return"m_"+a+"_viewtype_text"}return""}function _IG_FR_fetchFeed(a,b,c){a.is_fetching=!0;_IG_FetchFeedAsJSON(a.url,function(c){a.is_fetching=!1;if(c)c.Entry&&(a.has_entries=!0),a.setFeedData?a.setFeedData(c):a.feedData=c,b(a)},c,!0)}function _IG_FR_getFeed(a){return window["FEED"+a]||{}}
function _IG_FR_toggle(a,b,c,d,e){var c=c||"",d=d||"",f=_gel(_IG_FR_divIdFor(a,_IG_FR_divType.PLUSBOX,b)),g=_gel(_IG_FR_divIdFor(a,_IG_FR_divType.OUTER_CONTENT,b)),h=_gel(_IG_FR_divIdFor(a,_IG_FR_divType.ENTRY,b));if(g.style.display!="none")ig_9a(f,g,h,c,a,b,e);else{var l=_IG_FR_getFeed(a);if(!l.has_entries&&!l.is_fetching)_IG_FR_fetchFeed(l,_IG_Callback(ig_$a,a,b,c,d,e),l.num_items+15);else{for(var j=0;j<l.num_items;++j){var k=_gel(_IG_FR_divIdFor(a,_IG_FR_divType.ENTRY,j));k&&ig_9a(_gel(_IG_FR_divIdFor(a,
_IG_FR_divType.PLUSBOX,j)),_gel(_IG_FR_divIdFor(a,_IG_FR_divType.OUTER_CONTENT,j)),k,c,a,j,e)}c=g;l=h;j=e;if(j==2&&(a=_IG_FR_getFeed(a)))a.maybePopulateSummaryHtml(b),b==0&&a.maybeHidePreviewSnippetAndMedia();f.className=(!j||j==1)&&ig_H(f)?"fminbox_reverse_directionality":"fminbox";f.title=d;if(_old_html||_use_old_feed_styles)f.className="fbox fminbox";c.style.display="";if(!j||j==1)c.style.maxHeight=c.offsetWidth*1.5+"px",l.className=ig_H(f)?"sftl_reverse_directionality":"sftl";if(e=!e||e==1)if(e=
g.style.maxHeight)e=parseInt(g.style.maxHeight,10),a=h.offsetWidth,d=g,h=document.createElement("div"),h.style.left=-screen.width,h.style.top=-screen.height,h.style.width=a,h.innerHTML=d.innerHTML,document.body.appendChild(h),a=h.clientHeight,document.body.removeChild(h),h=a,e=e<h;if(e)g.style.height=g.style.maxHeight}}}
function ig_$a(a,b,c,d,e,f){if(f!=2)for(var a=a.feedData,g=0;g<a.Entry.length;g++)if(a.Entry[g].ID&&a.Entry[g].ID!="no_id"){var h=_gel(_IG_FR_divIdFor(b,_IG_FR_divType.INNER_CONTENT,c,a.Entry[g].ID));if(h)h.innerHTML=a.Entry[g].Summary}_IG_FR_toggle(b,c,d,e,f)}function ig_H(a){return a.className.match(/reverse_directionality$/)=="reverse_directionality"}
function ig_9a(a,b,c,d,e,f,g){f==0&&g==2&&(e=_IG_FR_getFeed(e))&&e.maybeShowPreviewSnippetAndMedia();a.className=(!g||g==1)&&ig_H(a)?"fmaxbox_reverse_directionality":"fmaxbox";a.title=d;if(_old_html||_use_old_feed_styles)a.className="fbox fmaxbox";b.style.display="none";if(!g||g==1)b.style.maxHeight="";if(!g||g==1)c.className=ig_H(a)?"uftl_reverse_directionality":"uftl"}
function _IG_RegisterContainerScrollHandler(a){navigator.userAgent.indexOf("Firefox")>=0?window.addEventListener("scroll",a,!1):window.onscroll=a}function _IG_GetContainerVisibleHeight(){return document.documentElement.clientHeight}function _IG_GetContainerTotalHeight(){return document.body.scrollHeight}function _IG_GetContainerScrollTop(){return document.documentElement.scrollTop}
function _IG_FR_getBaseUrl(a){var b=_gel("hl"),b=b?b.value:"en",c="";window.experimentData&&window.experimentData.PLUSONE&&(c="&enablePlusone=true");return"/reader/ig/feed/"+_esc(_IG_FR_getFeed(a).url)+"?hl="+b+c}function _IG_FR_setSrc(a,b){if(window._max_strategies){var c=_IG_FR_getBaseUrl(a)+(b?"&i="+b:"");window._max_strategies[a]._updateIframeSrc(c)}}function _IG_FR_maxModule(a,b,c){_IG_FR_setSrc(a,b);window._IG_maximize_view(a,"feed",c)}
function _IG_FR_init(a){window._max_strategies&&_IG_callPostLoad(function(){window._max_strategies[a]=new window._IG_inlinedTransitionStrategy(a,_IG_FR_getBaseUrl(a),ig_,_IG_isIE())});_IG_AddModuleEventHandler(a,"unmaximize",function(){_IG_FR_setSrc(a)})};function ig_ab(a,b,c,d){if(!a||a==""||a.length<=27||a.charAt(27)!="{")c(d?ig_:"");else if(a=eval("("+a.substring(27)+")"),b in a)b=a[b].body,c(d?ig_I(b):b)}
function ig_I(a){var b;b=a;var c;window.ActiveXObject?(c=new ActiveXObject("Microsoft.XMLDOM"),c.async=!1,c.validateOnParse=!1,c.resolveExternals=!1,c.loadXML(b)):(c=new DOMParser,c=c.parseFromString(b,"text/xml"));b=c;return(c=b.documentElement)&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&_gelstn("parsererror",b)[0]?a:b}var ig_bb=(new Date).getTime();
function ig_cb(a){if(!a.Mg&&!a.headers&&window._pl_data&&_pl_data[a.url]&&(isNaN(a.refreshInterval)||!(a.refreshInterval>=0&&(new Date).getTime()>ig_bb+a.refreshInterval*1E3)))if(a.Yb){var b=ig_I(_pl_data[a.url]);a.callback(b)}else a.callback(_pl_data[a.url]);else{b="/ig/jsonp?";_et!=""&&(b+="et="+_et+"&");!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(b=_appendMaxAgeParameter(b,a.refreshInterval));a.encoding&&(b+="enc="+_esc(a.encoding)+"&");if(a.headers){for(var c=[],d=0;d<a.headers.length;d++)c.push(_esc(a.headers[d][0]+
":"+a.headers[d][1]));b+="hdrs="+_esc(c.join(","))+"&"}b+="url="+_esc(a.url);_sendx(b,function(b){ig_ab(b,a.url,a.callback,a.Yb)},!1,a.Mg)}}function ig_db(a){var b={},c;for(c in a)b[c]=a[c];return b}function _IG_FetchContent(a,b,c){c=c!=ig_&&typeof c=="object"?ig_db(c):{};c.url=a;c.callback=b;c.Yb=!1;ig_cb(c)}function _IG_FetchXmlContent(a,b,c){c=c!=ig_&&typeof c=="object"?ig_db(c):{};c.url=a;c.callback=b;c.Yb=!0;ig_cb(c)}
function ig_eb(a,b,c){_IG_FetchContent(a,function(a){if(a&&(a=ig_I(a),typeof a=="object"&&a.firstChild)){var c=a.firstChild;c.nodeType==7&&c.nodeName=="xml"&&a.removeChild(c);b(a);return}b(ig_)},c)}function ig_fb(a,b){var c="/ig/feedjson";a&&a.length<1E3&&(c+="?"+a,a=ig_);_sendx(c,function(a){var c={};try{c=eval("("+a.slice(27)+")")}catch(f){c={}}for(var g in b)a=c[g]?c[g]:ig_,b[g](a);b=ig_},!1,a)}var ig_gb=!1,ig_hb=0,ig_J="",ig_K={};
function _IG_FetchFeedAsJSON(a,b,c,d,e){typeof e!="object"&&(e={});var f="fr_"+ig_hb++,a="url="+_esc(a);!isNaN(e.refreshInterval)&&e.refreshInterval>=0&&(a=_appendMaxAgeParameter(a,e.refreshInterval));c&&(a+="&val="+_esc(c));d&&(a+="&sum=1");c=f+"="+_esc(a);ig_gb?(d={},d[f]=b,ig_fb(c,d)):(ig_J!=""&&(ig_J+="&"),ig_J+=c,ig_K[f]=b)}function ig_ib(){ig_gb=!0;ig_J!=""&&ig_fb(ig_J,ig_K);ig_J="";ig_K=ig_}_IG_AddEventHandler("domload",ig_ib);
_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",ig_eb,"getFeedAsJSON",_IG_FetchFeedAsJSON]);function ig_jb(a,b,c){var d=ig_t("m",b);d&&(d.ti=a);var e=_gel("m_"+b+"_title");if(e)e.innerHTML=_hesc(a);if(e=_gel("left_nav_m_"+b+"_title"))if(e=e.firstChild)e.title=a,e.innerHTML=_hesc(a),c||(e.offsetWidth==0?_IG_RegisterOnloadHandler(function(){ig_L(e)}):ig_L(e))}
function ig_L(a,b){var c=b||121,d=a.title;if(!(a.offsetWidth<=c)){var e=0,f=d.length,g,h=d.match(/\(\d+\)$/);if(h=h?h[0]:"")h=" "+h,f=d.length-h.length,g=5*h.length,g>c>>1&&(h="");for(;g=f-e>>1;)g=e+g,a.innerHTML=ig_kb(d,g,h),a.offsetWidth>c?f=g:e=g;a.innerHTML=ig_kb(d,e,h)}}function ig_kb(a,b,c){a=[a.substring(0,b),"..."];c&&a.push(c);return _hesc(a.join(""))}function ig_M(a){return typeof a=="undefined"||!a||a=="undefined"}function ig_lb(a,b){ig_M(a)||ig_jb(b,_ig_gmid_(a))}
_IFPC.pa("set_title",ig_lb);function _IG_SetTitle(a,b,c){ig_M(b)||ig_jb(a,b,c)}function _IG_SetTitleDir(a,b){if(!ig_M(b)){var c=ig_t("m",b);c&&(a?c.ti_dir=a:delete c.ti_dir);(c=_gel("m_"+b+"_title"))&&(a?c.setAttribute("dir",a):c.removeAttribute("dir"));(c=_gel("left_nav_m_"+b+"_title"))&&(a?c.setAttribute("dir",a):c.removeAttribute("dir"))}}
function _IG_FormatLeftNavTitles(){_IG_RegisterOnloadHandler(function(){var a=_gel("full_nav"),b=_gelsbyregex("div",/^left_nav_m_\d+_title$/,a);if(b)for(a=0;a<b.length;++a){var c=b[a];(c=c.firstChild)&&ig_L(c)}for(a=0;a<_IG_MD.dt.length;++a)if(c=_gel("tab"+_IG_MD.dt[a].i+"_view_title"))b=c.className=="selected_tab_view_title"?80:100,(c=c.firstChild)&&ig_L(c,b)})};function _delpromobox(){_xsetp("hp=0");var a=_gel("promobox");a.parentNode.removeChild(a);return!1}function _delmessage(){_xsetp("gm=0");var a=_gel("googlemessage");a.parentNode.removeChild(a);return!1}function _delpromomod(){_xsetp("pm=0");var a=_gel("promomod");a.parentNode.removeChild(a);return!1};function ig_mb(a,b){if(b&&(b.className="searchTextFocus",b.value==a))b.value=""}function ig_nb(a,b){if(b&&(b.className="searchText",b.value==""))b.value=a}function ig_ob(a){var b=document.getElementById("search_module_query_box");return!b?!1:b.value==a?!1:!0}
function ig_pb(a){if(!a)a=window.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;if((a=document.getElementById("drop-down-developer"))&&a.style.display=="none"){if((a=document.getElementById("drop-down-developer"))&&a.style.display!="block")a.style.display="block",document.getElementById("directory_tab_developers").className="dropdown-selected",document.getElementById("channel-dropdown").className="channel-selected"}else ig_qb()}
function ig_qb(){var a=document.getElementById("drop-down-developer");if(a&&a.style.display!="none")a.style.display="none",document.getElementById("directory_tab_developers").className="kd-dropdown",document.getElementById("channel-dropdown").className=""}
function ig_rb(a){if(!a)a=window.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;if((a=document.getElementById("drop-down-webmaster"))&&a.style.display=="none"){if((a=document.getElementById("drop-down-webmaster"))&&a.style.display!="block")a.style.display="block",document.getElementById("directory_tab_webmaster").className="dropdown-selected",document.getElementById("channel-dropdown-web").className="channel-selected channel_dropdown_webmaster"}else ig_sb()}
function ig_sb(){var a=document.getElementById("drop-down-webmaster");if(a&&a.style.display!="none"){var b=document.getElementById("embed");if(b)b.style.display="none",ig_tb();a.style.display="none";document.getElementById("directory_tab_webmaster").className="kd-dropdown";document.getElementById("channel-dropdown-web").className="channel_dropdown_webmaster"}}function ig_tb(){var a=document.getElementById("drop-down-webmaster-inner");if(a)a.style.height="75px",a.style.width="auto"}
function ig_ub(a){if(!a)a=window.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;if((a=document.getElementById("embed"))&&a.style.display!="none"){if(a=document.getElementById("drop-down-webmaster-inner"))a.style.height="107px",a.style.width="292px"}else ig_tb()}function ig_vb(a){if(!a)a=window.event;ig_qb();ig_sb();a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}window.addEventListener?document.addEventListener("click",ig_vb,!1):document.attachEvent("onclick",ig_vb);
_exportSymbols("",["checkSearchText",ig_ob]);_exportSymbols("",["handleEmbedElementClickEvent",ig_ub]);_exportSymbols("",["searchBoxOnBlur",ig_nb]);_exportSymbols("",["searchBoxOnFocus",ig_mb]);_exportSymbols("",["toggleForDeveloperDropdown",ig_pb]);_exportSymbols("",["toggleWebMasterDropdown",ig_rb]);(function(){function a(a){a&&a.data=="ping"&&a.source.postMessage("pong",a.Wh)}window.addEventListener&&window.addEventListener("message",a,!1)})();function ig_wb(){this.va={};var a=window.onbeforeunload;window.onbeforeunload=function(){a&&a();ig_N.Jg()}}var ig_N=new ig_wb;ig_N.$g=function(a,b){this.va[a]=b};ig_N.vh=function(a){delete this.va[a]};ig_N.$=function(a){return this.va[a]};ig_N.Jg=function(){var a=[],b;for(b in this.va)a.push(b+"="+this.va[b]);a.length&&(b=ig_l(),a="/ig/setp?et="+_et+"&"+a.join("&"),b.open("GET",a,!1),b.send(ig_))};function _IG_add_setp_parameter_onbeforeunload(a,b){ig_N.$g(a,b)}
function _IG_remove_setp_parameter_onbeforeunload(a){ig_N.vh(a)}function _IG_get_setp_parameter_onbeforeunload(a){return ig_N.$(a)};var ig_O={wb:0,Xc:1,Yc:2,Wc:3},ig_P=function(){function a(){var a=[],b=[],c;for(c in h)h[c]&&!g[c]?a.push(c):!h[c]&&g[c]&&b.push(c);a.length?_IG_add_setp_parameter_onbeforeunload("exptabs",a.join(":")):_IG_remove_setp_parameter_onbeforeunload("exptabs");b.length?_IG_add_setp_parameter_onbeforeunload("coltabs",b.join(":")):_IG_remove_setp_parameter_onbeforeunload("coltabs");_IG_add_setp_parameter_onbeforeunload("roster",l+"")}function b(){j.style.display="none";k.style.display="none";switch(c){case ig_O.wb:var a=
_gel("section"+d+"_contents");a.className="section_contents leftunselectedtab leftborder";_gel("tab"+d).className="section_title unselected_section_title";_gel("tab_separator"+d).style.display="";if(e)_gel("tab_separator"+e).style.display="";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display="";break;case ig_O.Xc:a=_IG_getCurrentMaxId();a=_gel("left_nav_m_"+a+"_title");a.className="gadget_title";break;case ig_O.Yc:a=_gel("updates_left_nav");a.className="gadget_title";break;
case ig_O.Wc:a=_gel("shares_left_nav"),a.className="gadget_title"}}var c=ig_O.wb,d=ig_,e=ig_,f={},g={},h={},l=!0,j=ig_,k=ig_;return{ef:function(){j=_gel("left_nav_top_rounded_corners");k=_gel("left_nav_bottom_rounded_corners")},gf:function(a){d=a},Hh:function(a){c=a},vf:function(){return d},ff:function(){for(var a=_gel("section"+d+"_contents").nextSibling;a;){if(a.id&&a.id.match(/section\d+_contents/)){e=a.id.match(/\d+/);break}a=a.nextSibling}},Ih:function(){b()},Lc:function(a){b();a=_gel("left_nav_m_"+
a+"_title");a.className="selected_gadget_title gadget_title leftselectedtab surroundborder";j.style.display="";k.style.display="";a.parentNode.insertBefore(j,a);a.parentNode.insertBefore(k,a.nextSibling);c=ig_O.Xc},Mc:function(){b();var a=_gel("section"+d+"_contents");a.className="selected_section_contents leftselectedtab surroundborder";_gel("tab"+d).className="section_title selected_section_title";_gel("tab_separator"+d).style.display="none";if(e)_gel("tab_separator"+e).style.display="none";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display=
"none";j.style.display="";k.style.display="";a.parentNode.insertBefore(j,a);a.parentNode.insertBefore(k,a.nextSibling);c=ig_O.wb},xf:function(){b();var a=_gel("shares_left_nav");a.className="selected_gadget_title gadget_title leftselectedtab surroundborder";j.style.display="";k.style.display="";a.parentNode.insertBefore(j,a);a.parentNode.insertBefore(k,a.nextSibling);c=ig_O.Wc},yf:function(){b();var a=_gel("updates_left_nav");a.className="selected_gadget_title gadget_title leftselectedtab surroundborder";
j.style.display="";k.style.display="";a.parentNode.insertBefore(j,a);a.parentNode.insertBefore(k,a.nextSibling);c=ig_O.Yc},kf:function(a){var b=_gel("m_"+a+"_home_menu");if(b)b.style.display="none";if(a=_gel("m_"+a+"_canvas_menu"))a.style.display=""},lf:function(a){var b=_gel("m_"+a+"_canvas_menu");if(b)b.style.display="none";if(a=_gel("m_"+a+"_home_menu"))a.style.display=""},df:function(a){if(a=_gel("left_nav_"+a+"_title"))a.style.display="none"},hf:function(a){if(a=_gel("left_nav_"+a+"_title"))a.style.display=
""},Nc:function(a){var b=_gel("m_"+a+"_b");f[a]=b&&b.style.display=="none";var a=!_gel(_getIframeId(a)),c=!0;b.style.display=a&&c?"none":""},Oc:function(a){var b=_gel("m_"+a+"_b");b.style.display=f[a]?"none":""},jf:function(){if(d!="0")_gel("rcbg").style.display="",_gel("col2").className="botborder"},Pc:function(){if(d=="0")_gel("rcbg").style.display="",_gel("col2").className="botborder"},Kc:function(){if(d=="0")_gel("rcbg").style.display="none",_gel("col2").className="topbotborder"},uf:function(a){g[a]=
!0;h[a]=!0},tf:function(a){g[a]=!1;h[a]=!1},Cf:function(b,c){if(!b)b=window.event;b.cancelBubble=!0;b.stopPropagation&&b.stopPropagation();if(_gel("gadget_set"+c).style.display=="none"){var d=c;_gel("gadget_set"+d).style.display="block";_gel("triangle"+d).className="v2minbox";h[d]=!0;_sendx("/ig/ui?xp=v2&action=expandTab&t="+d,ig_,!1,ig_)}else d=c,_gel("gadget_set"+d).style.display="none",_gel("triangle"+d).className="v2maxbox",h[d]=!1,_sendx("/ig/ui?xp=v2&action=collapseTab&t="+d,ig_,!1,ig_);a()},
Bf:function(){if(_gel("talk_container"))l=!l,_gel("roster_triangle").className=l?"v2minbox":"v2maxbox",window.gTalkNotifier&&window.gTalkNotifier._setRosterExpanded?window.gTalkNotifier._setRosterExpanded(l):_gel("talk_container").style.display=l?"":"none",_log("roster_toggle:"+(l?"1":"0")),a()},Af:function(a){l=a},zf:function(){return l},wf:function(a){if(a=_gel(a))a.style.display="none"},Rc:function(a){var b=_gel("DD_"+a+"_zip");if(b)a=(a=_gel("m_"+a+"_b"))&&a.style.display=="none",b.innerHTML=
a?IG_MSGS.MAXG:IG_MSGS.MING},Qc:function(a){var b=_gel("m_"+a+"_b"),a=b&&b.style.display=="none";if((b=b.nextSibling)&&b.className)b.className=a?"rnd_modtitle":"rnd_modboxin"}}}();
function _IG_LN_init(a){_IG_AddEventHandler("modulemaximize",ig_P.Lc);_IG_AddEventHandler("modulemaximize",ig_P.kf);_IG_AddEventHandler("modulemaximize",ig_P.Nc);_IG_AddEventHandler("modulemaximize",ig_P.Pc);_IG_AddEventHandler("moduleunmaximize",ig_P.Mc);_IG_AddEventHandler("moduleunmaximize",ig_P.lf);_IG_AddEventHandler("moduleunmaximize",ig_P.Oc);_IG_AddEventHandler("moduleunmaximize",ig_P.Kc);_IG_AddEventHandler("moduledelete",ig_P.df);_IG_AddEventHandler("moduleundelete",ig_P.hf);_IG_AddEventHandler("modulezip",
ig_P.Rc);_IG_AddEventHandler("modulezip",ig_P.Qc);_IG_AddEventHandler("moduleunzip",ig_P.Rc);_IG_AddEventHandler("moduleunzip",ig_P.Qc);_IG_RegisterOnloadHandler(ig_P.ff);_IG_RegisterOnloadHandler(ig_P.jf);_IG_RegisterOnloadHandler(ig_P.ef);ig_P.gf(a)}
var _IG_get_selected_tab_id=ig_P.vf,_IG_expand_tab_onload=ig_P.uf,_IG_collapse_tab_onload=ig_P.tf,_IG_toggle_tab=ig_P.Cf,_IG_toggle_roster=ig_P.Bf,_IG_roster_state_onload=ig_P.Af,_IG_is_roster_expanded=ig_P.zf,_IG_hide_promo=ig_P.wf,_IG_maybe_unzip_module=ig_P.Nc,_IG_maybe_zip_module=ig_P.Oc,_IG_hideRoundedCornerOnRestore=ig_P.Kc,_IG_showRoundedCornerOnMaximize=ig_P.Pc,_IG_highlight_invites=ig_P.xf,_IG_highlight_updates=ig_P.yf,_IG_highlight_module=ig_P.Lc,_IG_highlight_tab=ig_P.Mc;
var ig_Q={Fg:0,Eb:1,Gg:2};function ig_xb(){var a=0,b=0;if(typeof window.pageYOffset=="number")a=window.pageXOffset,b=window.pageYOffset;else if(document.body&&(document.body.scrollLeft||document.body.scrollTop))a=document.body.scrollLeft,b=document.body.scrollTop;else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop))a=document.documentElement.scrollLeft,b=document.documentElement.scrollTop;return{x:a,y:b}}
function ig_R(a,b){var c=_IG_Callback.apply(ig_,arguments);return function(){c()}}function ig_S(a,b,c,d,e){a=="input"&&d&&d.type&&_IG_isIE()?(a=document.createElement('<input type="'+d.type+'">'),delete d.type):a=document.createElement(a);if(b)a.innerHTML=b;_IG_AddDOMEventHandler(a,"click",c);if(d)for(var f in d)a[f]=d[f];e&&_IG_AddDOMEventHandler(a,"click",function(a){a.preventDefault?a.preventDefault():a.returnValue=!1});return a}
function ig_yb(a,b){switch(b){case ig_Q.Fg:var c=_gel("m_"+a);return c&&c.className=="modbox_e";case ig_Q.Eb:return(c=_gel("m_"+a+"_aclbox"))&&c.style.display!="none";case ig_Q.Gg:return(c=_gel("m_"+a+"_editbox"))&&c.style.display!="none"}}function ig_T(a){a=a.split("#");if(/[?&]$/.test(a[0]))a[0]=a[0].replace(/[?&]$/,"");else{var b=/\?/.test(a[0])?"&":"?";a[0]+=b}return a.join("#")}
function ig_zb(a,b){if(!b)return!1;for(var c=a.className.split(" "),d=0;d<c.length;++d)if(c[d]==b)return!1;c.push(b);a.className=c.join(" ");return!0}
var ig_U={Xa:"javascript:void(0);",emptyInfo_:{u:"",ti:"",mt:""},gmc:function(a,b){return[IG_MSGS.GMC,ig_q(IG_URLS.gmc,["moduleurl="+_esc(b.u),"mid="+a]),ig_]},gmp:function(a){return[IG_MSGS.GMP,ig_q(IG_URLS.gmp,["mid="+a]),ig_]},gmi:function(a,b){return[IG_MSGS.GMI,ig_q(IG_URLS.gmi,["moduleurl="+_esc(b.u),"mid="+a,"moduletitle="+_esc(_hesc(b.ti))]),ig_]},ed:function(a,b){var c=b.eh?function(){window[b.eh]()}:ig_;return[IG_MSGS.ED,ig_U.Xa,ig_R(_edit,a,c)]},Td:function(a,b,c){a=ig_R(_confirmDel,a,
b.mt,"n_"+b.mt+"="+_esc("url="+_esc(b.u)),c.replace("MODULE_TITLE",_bidi_unicode_wrap(b.ti,b.ti_dir)));return[IG_MSGS.DEL,ig_U.Xa,a]},del:function(a,b){return ig_U.Td(a,b,IG_MSGS.DEL_CONFIRM)},del2:function(a,b){return ig_U.Td(a,b,IG_MSGS.DEL_CONFIRM2)},ming:function(a,b){return[IG_MSGS.MING,ig_U.Xa,ig_R(_zm,a,b.mt),ig_a,"zip"]},maxg:function(a,b){var c=ig_U.ming(a,b);c[0]=IG_MSGS.MAXG;return c},shg:function(a,b){var c=ig_R(_share_this_gadget,IG_MSGS.SHG,ig_q(IG_URLS.sgu,["moduleurl="+_esc(b.u),"mid="+
a,"source=share_gadget"]),a);return[_hesc(IG_MSGS.SHG),"#",function(){c();return!1}]},osShare:function(a,b){function c(){_IG_callPostLoad(function(){window._IG_OS_requestShareApp(_getIframeId(a),ig_,ig_,IG_MSGS.OSSHARE.replace(/%GADGET_NAME%/,_hesc(b.ti)))})}return[_hesc(IG_MSGS.SHG),ig_U.Xa,c]},stripProtocolRegExp_:/^http:\/\//,stripProtocolAndEsc_:function(a){return _esc(a.replace(ig_U.stripProtocolRegExp_,""))},rg:function(a,b){return ig_U.rgv1(a,b).concat("dd_separator")},rgv1:function(a,b){return[IG_MSGS.RG,
ig_q(IG_URLS.dir,["recommend="+ig_U.stripProtocolAndEsc_(b.u)]),ig_]},ag:function(a,b){var c=b.u;c=="http://www.gstatic.com/ig/modules/mail/sp.xml"&&(c="http://www.google.com/ig/modules/builtin_gmail.xml");return[IG_MSGS.AG,ig_q(IG_URLS.dir,["url="+ig_U.stripProtocolAndEsc_(c)]),ig_]}};_exportSymbols("",["_IG_DDI",ig_U]);var ig_V,ig_W,ig_X={};function _IG_AddDropDownEventHandler(a,b){ig_X[a]=b}function _IG_DD_init(){var a=document.createElement("iframe");a.id="IG_DD_iframe_cover";a.className="dd_iframe_cover";a.style.display="none";document.body.insertBefore(a,document.body.firstChild);a=document.createElement("div");a.id="IG_DD_div";a.className="dd_layer_hidden";a.onclick=_IG_DD_hide;document.body.insertBefore(a,document.body.firstChild)}
function _IG_DD_create(a,b){if(!b)for(var b=[],c=ig_t("m",a,"dd"),d=0;d<c.length;++d)b[d]=ig_U[c[d]];c=document.createElement("div");c.setAttribute("id","DD_"+a);c.className="dd dd_border";c.style.display="none";c.onkeydown=_IG_DD_keys;for(var d=0,e;e=b[d];d++){var f=e;typeof e=="function"&&(f=e(a,ig_t("m",a)||ig_U.emptyInfo_));f[3]&&c.appendChild(ig_Ab(f[3]));e=ig_a;f[4]&&(e="DD_"+a+"_"+f[4]);c.appendChild(_IG_DD_add(f[0],f[1],f[2],d,e))}_gel("IG_DD_div").appendChild(c)}
function _IG_DD_add(a,b,c,d,e){var b=b||"javascript:void(0)",f=document.createElement("div"),g="";typeof c=="string"&&c!=""&&(g=' onclick="'+c+'"');f.innerHTML='<a href="'+b+'"'+g+">"+a+"</a>";a=f.firstChild;if(typeof c=="string"&&c!="")c=a.onclick;if(c){var h=c;a.onclick=function(a){h(a);_IG_DD_hide();return!1}}a.className=d==0?"dd_item dd_item_first":"dd_item";a.onblur=function(){ig_W=!1;return!0};a.onmouseover=function(){return _IG_DD_select(this)};if(e)a.id=e;return a}
function ig_Ab(a){var b=document.createElement("div");b.className=a;b.innerHTML='<div class="topline"></div><div class="bottomline"></div>';return b}
function _IG_DD_open(a,b){var c=_gel("DD_"+b);c||(_IG_DD_create(b),c=_gel("DD_"+b));if(c.style.display=="none"){ig_V=b;var d=_gel("IG_DD_div");d.className="dd_layer";_IG_AddEventHandler("resize",_IG_DD_position);_IG_DD_position();ig_W=!1;if(c.hasChildNodes()){c=c.firstChild;if(c.tagName!="A")c=c.nextSibling;_IG_DD_select(c)}c=_gel("DD_tg_"+b);c.className+=" ddbox_sel";(c=ig_X[ig_V])&&c(!0)}}
function _IG_DD_position(){var a=_gel("DD_"+ig_V),b=_gel("DD_tg_"+ig_V),c=_gel("IG_DD_div");a.style.display="block";var d=_findPos(b),e=a.offsetWidth,f=d[0]+b.offsetWidth-e,g=document.body.clientWidth+document.body.scrollLeft;f<5?f=5:f+e>g-5&&(f=g-5-e);a.style.left=f+"px";a.style.top=d[1]+b.offsetHeight+"px";b=_gel("IG_DD_iframe_cover");b.style.left=a.style.left;b.style.top=a.style.top;b.style.width=a.offsetWidth+"px";b.style.height=a.offsetHeight+"px";
b.style.display="block";c.style.height=ig_A()+"px";c.style.width=document.body.clientWidth+"px"}
function _IG_DD_hide(){var a=_gel("IG_DD_div");if(a.className=="dd_layer"){_IG_RemoveEventHandler("resize",_IG_DD_position);if(ig_V!==ig_a){var b=_gel("DD_"+ig_V);b.style.display="none";_gel("IG_DD_iframe_cover").style.display="none";b=_gel("DD_tg_"+ig_V);b.className=b.className.replace(/ ddbox_sel/,"");(b=ig_X[ig_V])&&b(!1);ig_W&&(b=_gel("DD_tg_"+ig_V))&&b.focus();ig_W=!1;ig_V=ig_a}a.className="dd_layer_hidden"}_IG_DD_select(ig_)}
function _IG_DD_gcn(a,b,c){for(var c=RegExp("(^| )"+c+"( |$)"),a=_gelstn(b,a),b=[],d=0,e;e=a[d];d++)c.test(e.className)&&b.push(e);return b}function _IG_DD_select(a){var b=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(b!=ig_)for(var c=0,d;d=b[c];c++)d.className=d.className.replace(/ dd_sel/g,"");_gel("IG_DD_div").className!="dd_layer_hidden"&&a&&(a.focus(),a.className+=" dd_sel")}
function _IG_DD_keys(a){function b(a,b){var c=a;do if(c=b?c.nextSibling:c.previousSibling,!c)c=a.parentNode,c=b?c.firstChild:c.lastChild;while(c!=a&&c.tagName!="A");return c}var c=!0,d=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(d==ig_||d.length!=1)return!0;d=d[0];if(!a)a=window.event;a=a.keyCode||a.charCode||a.which;switch(a){case 13:ig_W=!0;break;case 38:_IG_DD_select(b(d,!1));c=!1;break;case 40:_IG_DD_select(b(d,!0));c=!1;break;case 27:case 9:ig_W=!0,c=ig_V===ig_a&&a==9,_IG_DD_hide()}return c}
;var ig_Y={H:ig_,init:function(a,b){a.onmousedown=ig_Y.start;a.H=b;if(isNaN(parseInt(b.style.left,10)))b.style.left="0px";if(isNaN(parseInt(b.style.top,10)))b.style.top="0px";b.Aa=new Function;b.Ga=new Function;b.Ba=new Function},of:function(a,b){window.clearInterval(b.hd);a.onmousedown=ig_;a.H=ig_;b.Aa=ig_;b.Ga=ig_;b.Ba=ig_},start:function(a){var b=ig_Y.H=this.H,a=ig_Y.La(a);if(a.which!=1)return!0;b.Aa(a);var c=a.clientY;ig_Z.kd||(c+=document.body.scrollTop);b.Ca=a.clientX;b.T=c;b.Mf=parseInt(b.style.left,
10)-a.clientX;b.Nf=parseInt(b.style.top,10)-c;b.hd=window.setInterval(ig_Bb(b,document.body.scrollHeight>document.documentElement.clientHeight?document.body.scrollHeight:document.documentElement.clientHeight),10);document.onmouseup=ig_Y.jd;document.onmousemove=ig_Y.Rf;return!1},Rf:function(a){a=ig_Y.La(a);if(a.which==0)return ig_Y.jd();var b=ig_Y.H,c=a.clientY;ig_Z.kd||(c+=document.body.scrollTop);a=a.clientX;if(b.Ca==a&&b.T==c)return!1;var d=a+b.Mf,e=c+b.Nf;b.style.left=d+"px";b.style.top=e+"px";
b.Ca=a;b.T=c;b.Ba(d,e);return!1},jd:function(){document.onmousemove=ig_;document.onmouseup=ig_;window.clearInterval(ig_Y.H.hd);var a=ig_Y.H.Ga();ig_Y.H=ig_;return a},La:function(a){if(typeof a=="undefined")a=window.event;if(typeof a.layerX=="undefined")a.layerX=a.offsetX;if(typeof a.layerY=="undefined")a.layerY=a.offsetY;if(typeof a.which=="undefined")a.which=a.button;return a}};
function _IG_initDrag(a,b){ig_Z.ra=a;ig_Z.Qa=b;var c;c=ig_Z.ra;var d="div",e="yui-u";if(c){c=d=="*"&&c.all?c.all:_gelstn(d,c);for(var d=[],e=e.replace(/\-/g,"\\-"),e=RegExp("(^|\\s)"+e+"(\\s|$)"),f,g=0;g<c.length;g++)f=c[g],e.test(f.className)&&d.push(f);c=d}else c=[];ig_Z.aa=c;if(_old_html)ig_Z.td=ig_Z.ra.tBodies[0].rows[0],ig_Z.aa=ig_Z.td.cells;ig_Z.j=[];for(d=c=0;d<ig_Z.aa.length;d++)if(e=ig_Z.aa[d],!(e.className.indexOf("ig_dnd_fixed_col")!=-1||e.style.display=="none"))for(f=0;f<e.childNodes.length;f++)g=
e.childNodes[f],g.tagName=="DIV"&&(ig_Z.j[c]=g.className!="dm"?new ig_Cb(g):new ig_Db(g),c++);_IG_AddEventHandler("unload",ig_Eb)}function ig_Eb(){if(ig_Z.j)for(var a=0;a<ig_Z.j.length;a++)ig_Z.j[a].wc(),ig_Z.j[a]=ig_;ig_Z.j=ig_;ig_Z.aa=ig_;if(_old_html)ig_Z.td=ig_;ig_Z.ra=ig_}var ig_Z={};ig_Z.bc=navigator.userAgent;ig_Z.yc=ig_Z.bc.indexOf("Gecko")!=-1;ig_Z.mb=ig_Z.bc.indexOf("Opera")!=-1;ig_Z.kd=ig_Z.bc.indexOf("Safari")!=-1;ig_Z.bd="IG_pageDivMaskId";ig_Z.ad="IG_moduleDivMaskId";
ig_Z.Th=function(){ig_Z.ra.style.display="none"};ig_Z.Uh=function(){ig_Z.ra.style.display=""};ig_Z.Q=ig_;ig_Z.Ea=function(){if(!ig_Z.Q)ig_Z.Q=document.createElement("DIV"),ig_Z.Q.className="modbox",ig_Z.Q.backgroundColor="",ig_Z.Q.style.border="2px dashed #aaa",ig_Z.Q.innerHTML="&nbsp;";return ig_Z.Q};ig_Z.V=function(a,b){return function(){return a[b].apply(a,arguments)}};
ig_Z.zc=function(){var a=[];if(ig_Z.Qa){var b;b=_old_html?ig_Z.Qa.tBodies[0].rows[0].cells:_gelstn("LI",ig_Z.Qa);for(var c=0;c<b.length;c++){var d=b[c];(" "+d.className+" ").indexOf(" unselectedtab ")<0||d.style.display!="none"&&a.push(d)}b=_gelstn("DIV",ig_Z.Qa);for(c=0;c<b.length;c++)d=b[c],(" "+d.className+" ").indexOf(" leftunselectedtab ")<0||d.style.display!="none"&&a.push(d)}return a};
ig_Z.Kf=function(){for(var a=ig_Z.zc(),b=0;b<a.length;b++){var c=a[b];c.He=!0;c.Ha=ig_Z.W(c,!0);c.Je=c.Ha+c.offsetWidth;c.ma=ig_Z.W(c,!1);c.Ie=c.ma+c.offsetHeight}};ig_Z.Jf=function(a){for(var b=0;b<ig_Z.j.length;b++){var c=ig_Z.j[b];c.c.Ha=ig_Z.W(c.c,!0);c.c.ma=ig_Z.W(c.c,!1)}for(b=a.c.nextSibling;b;)b.ma-=a.c.offsetHeight,b=b.nextSibling};
ig_Z.W=function(a,b){var c=0,d=0;if(a&&a.offsetParent&&a.offsetParent.id&&!b){var e=_gelstn(a.tagName,a.offsetParent);if(e&&e[0])d=e[0].offsetTop}for(;a;)c+=a["offset"+(b?"Left":"Top")],a=a.offsetParent;return c-d};
ig_Z.If=function(a){ig_Z.Sc();var b=document.createElement("DIV");b.id=ig_Z.bd;b.innerHTML="&nbsp;";b.style.position="absolute";b.style.width="100%";b.style.height=document.body.offsetHeight+"px";b.style.left="0px";b.style.top="0px";b.style.backgroundImage="url(http://www.google.com/c.gif)";b.style.zIndex="9999";document.body.appendChild(b);if(a.xc)b=b.cloneNode(!0),b.id=ig_Z.ad,b.style.height=a.c.offsetHeight-a.G.offsetHeight+"px",b.style.top=a.G.offsetHeight+"px",a.c.appendChild(b)};
ig_Z.Sc=function(){for(var a=[ig_Z.ad,ig_Z.bd],b=0;b<a.length;b++){var c=_gel(a[b]);c&&c.parentNode.removeChild(c)}};ig_Z.Lf=function(){for(var a="",b=0;b<ig_Z.aa.length;b++)for(var c=ig_Z.aa[b],d=0;d<c.childNodes.length-1;d++){var e=c.childNodes[d];e.tagName=="DIV"&&(a+=a!=""?":":"",a+=e.id.substring(2)+"_"+c.id.substring(2))}_xsetp("mp="+_esc(a))};function ig_Db(a){this.wc=ig_Fb;this.c=a;this.c.innerHTML="<br />"}function ig_Fb(){this.c=ig_}
function ig_Cb(a){this._urlMouseUp=ig_Gb;this._urlMouseDown=ig_Hb;this._urlClick=ig_Ib;this._dragStart=ig_Jb;this._drag=ig_Kb;this._dragEnd=ig_Lb;this.Ge=ig_Mb;this.za=ig_Nb;this.wc=ig_Ob;this.R=!1;this.c=a;this.G=_gel(a.id+"_h");this.h=_gel(a.id+"_url");this.xc=_gelstn("IFRAME",this.c).length>0;this.c.Fh=this;if(this.G&&(this.G.style.cursor="move",ig_Y.init(this.G,this.c),this.c.Aa=ig_Z.V(this,"_dragStart"),this.c.Ba=ig_Z.V(this,"_drag"),this.c.Ga=ig_Z.V(this,"_dragEnd"),this.h))this.h.style.cursor=
"pointer",ig_Z.yc?(this.h.onmousedown=ig_Z.V(this,"_urlMouseDown"),this.h.onclick=ig_Z.V(this,"_urlClick")):this.h.onmouseup=ig_Z.V(this,"_urlMouseUp")}function ig_Ob(){if(this.G){if(this.h)this.h.onclick=ig_,this.h=this.h.onmouseup=ig_;ig_Y.of(this.G,this.c);this.c.Aa=ig_;this.c.Ba=ig_;this.G=this.c.Ga=ig_}this.c=ig_}
function ig_Gb(a){a=ig_Y.La(a);if(this.R||!this.h||!this.h.href||a.which!=1)return!0;this.za("titleclick");this.h.target||a.shiftKey?window.open(this.h.href,this.h.target):document.location=this.h.href;return!1}function ig_Hb(a){a=ig_Y.La(a);a.stopPropagation();return!0}function ig_Ib(){return!this.R&&this.h&&this.h.href?(this.za("titleclick"),!0):!1}
function ig_Jb(){ig_Z.Jf(this);ig_Z.Kf();this.mf=this.c.nextSibling;var a=ig_Z.Ea(),b=this.c.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.c.offsetWidth,d=ig_Z.W(this.c,!0),e=ig_Z.W(this.c,!1);this.c.style.width=c+"px";a.style.height=b+"px";this.c.parentNode.insertBefore(a,this.c.nextSibling);this.c.style.position="absolute";this.c.style.zIndex=1E4;this.c.style.left=d+"px";this.c.style.top=e+"px";ig_Z.If(this);return this.R=!1}
function ig_Kb(a,b){if(!this.R)this.c.style.filter="alpha(opacity=50)",this.c.style.opacity=0.5,this.R=!0,this.za("dragstart");for(var c=ig_,d=1E8,e=0;e<ig_Z.j.length;e++){var f=ig_Z.j[e],g=a;document.body.dir=="rtl"&&f.c.offsetWidth==1&&(g+=this.c.offsetWidth);g=Math.sqrt(Math.pow(g-f.c.Ha,2)+Math.pow(b-f.c.ma,2));f!=this&&!isNaN(g)&&g<d&&(d=g,c=f)}this.M=ig_;d=ig_Z.zc();for(e=0;e<d.length;e++)if(f=d[e],f.He&&(g=ig_xb(),this.c.Ca>=f.Ha&&this.c.Ca<=f.Je&&this.c.T+g.y>=f.ma&&this.c.T+g.y<=f.Ie)){this.M=
f;e=ig_Z.Ea();e.parentNode!=ig_&&e.parentNode.removeChild(e);break}for(e=0;e<d.length;e++)if(f=d[e],f.id.indexOf("view")>=0||f.id.indexOf("contents")>=0)f==this.M?f.className.indexOf(" tab_hover")<0&&(f.className+=" tab_hover"):f.className=f.className.replace(/ tab_hover/g,"");e=ig_Z.Ea();if(this.M==ig_&&c!=ig_&&e.nextSibling!=c.c&&(c.c.parentNode.insertBefore(e,c.c),ig_Z.mb))document.body.style.display="none",document.body.style.display=""}
function ig_Lb(){ig_Z.Sc();this.Ge()&&ig_Z.Lf();if(this.M){var a=this.M.id.match(/.*?(\d+).*/)[1],b=this.c.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.c.style.display="none";this.M.className=this.M.className.replace(/ tab_hover/g,"");var c=_gel("left_nav_m_"+b+"_title"),d=_gel("gadget_set"+a);if(c&&d)c.parentNode.removeChild(c),d.appendChild(c),_gelstn("a",c)[0].onclick=function(){_select_gadget_and_log(a,b)}}_hideNewUserTip();this.R&&this.za("dragend");return!0}
function _hideNewUserTip(){var a=_gel("new_user_tip");if(a)a.style.display="none"}
function ig_Mb(){var a=!1;this.c.style.position="";this.c.style.width="";this.c.style.zIndex="";this.c.style.filter="";this.c.style.opacity="";window.scrollBy(0,0);var b=ig_Z.Ea();b.parentNode!=ig_&&(b.nextSibling!=this.mf&&(b.parentNode.insertBefore(this.c,b.nextSibling),a=!0),b.parentNode.removeChild(b));if(ig_Z.mb)document.body.style.display="none",document.body.style.display="";if(a&&this.xc&&(ig_Z.yc||ig_Z.mb)){var b=_gelstn("IFRAME",this.c)[0],c=this.c.id.substring(2),c=_IG_Prefs.ka(c,b.src);
if(b.src!=c)b.src=c}return a}function ig_Nb(a){switch(a){case "titleclick":_IG_TriggerModuleEvent(this.c.id,a,this.h.href);_IG_TriggerEvent("module"+a,this.c.id,this.h.href);break;case "dragstart":case "dragend":_IG_TriggerDelayedModuleEvent(this.c.id,a),_IG_TriggerDelayedEvent("module"+a,this.c.id)}}
function ig_Bb(a,b){return function(){var c;c=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.offsetHeight;c=c<document.body.clientHeight?c:document.body.clientHeight;var d=ig_xb(),e=d.y,f=4,g=0.05*c,h=e,d=a.offsetTop;a.T<=g?(d=a.offsetTop-f,h=e-f):a.T>=c-g&&(d=Math.min(b-a.offsetHeight,a.offsetTop+f),h=Math.min(b-c,e+f));c=h-e;if(c!=0)window.scrollBy(0,c),a.style.top=d+"px"}}
_IG_AddCustomEventHandler("initdrag",function(a,b){_IG_initDrag(a,b)});_exportSymbols("",["IG_DND",ig_Z]);window._IG_PU=function(){function a(a){if(!arguments.callee.Zf){var b={IG_PU_box:"div",IG_PU_iframe_cover:"iframe",IG_PU_bg:"div"},c;for(c in b){var g=document.createElement(b[c]);g.id=c;g.style.display="none";document.body.insertBefore(g,document.body.firstChild)}arguments.callee.Zf=!0}return _gel(a)}var b=!0,c;return{open:function(c,e,f,g,h){b=typeof e=="string";var l=a("IG_PU_box");l&&l.style.display=="none"&&(f||(f=[_IG_PU_MakeDialogButton("Save"),_IG_PU_MakeDialogButton("Cancel")]),c=['<table class=dialog id=IG_PU_dlg cellspacing=0 cellpadding=0><tr><td><div class=outerborder><div class="border titlebar">',
c,'</div><div class="border body" id=dialogcontent>',b?e:"",ig_Pb(f),"</div></td></tr></table>"].join(""),ig_Qb(c,g,b?ig_:e,h))},ig:function(a,b,c,g,h,l,j){a=_IG_PU_createSimpleTitle(a)+(b||"");c=['<div class=url><iframe id=popup_iframe style="width:',g,';height:0px;" src="',c,'" onload="_ResizeIframeHeight();" scrolling=no frameborder=0></iframe><div class=c></div>',ig_Pb(h,"colored_background")].join("");window._IG_PU.open(a,c,[],l,j)},fg:function(d){var e=_gel("button_"+d);if(!e||!e.firstChild||
!e.firstChild.disabled){a("IG_PU_box").style.display="none";a("IG_PU_iframe_cover").style.display="none";e=a("IG_PU_bg");e.onclick="";e.style.height="";e.style.width="";if(!b)e=_gel("dialogcontent").firstChild,d!=_DI_button_type.OK&&e.nodeName=="FORM"&&e.reset(),setTimeout(function(){var a=_gel("popup_box_placeholder");a.parentNode.insertBefore(_gel("dialogcontent").firstChild,a);a.parentNode.removeChild(a)},1E3);var f=(e=_gel("popup_iframe"))&&e.contentWindow.getPopupData?e.contentWindow.getPopupData():
ig_;_IG_RemoveEventHandler("resize",e?_ResizeIframeHeight:ig__);_IG_RemoveDOMEventHandler(window,"scroll",ig__);c(d,f)}},bg:function(a){return["<div class=popup_title>",a,'</div><div class=popup_title_buttons><a onclick="_IG_PU_hide(_DI_button_type.Close);" class=delbox  href="javascript:void(0)"></a></div><div class=c></div>'].join("")},dg:function(a,b,c){if(!a.disabled){var g=a.nodeName.toLowerCase();if(g=="input"||g=="button")return a;if(!c){if(g=="a"&&ig_Rb(a,"href"))return a;if(a.nodeType==1&&
ig_Rb(a,"tabindex")&&a.tabIndex!=-1)return a}}if(!a.hasChildNodes())return ig_;a=a.childNodes;if(b)for(var g=0,h;h=a[g];g++){if(h=ig_0(h,b,c))return h}else for(g=a.length-1;h=a[g];g--)if(h=ig_0(h,b,c))return h;return ig_},hg:function(a,b,c,g){var h=["<input type=button"];b&&h.push(' id="'+b+'"');c&&h.push(' class="'+c+'"');g&&h.push(' onclick="'+g+'"');h.push(' value="',a,'"></input>');return h.join("")},cg:function(a){if(a=_gel("button_"+a))a.onclick=function(){}},$f:function(a,b,c){return['<div class="popup_body thinpadding"><form onsubmit="_IG_PU_hide(_DI_button_type.OK); return false;"><table cellspacing=0 cellpadding=0 border=0><tr><td class=sidepadding>',
_hesc(b),'</td><td class=sidepadding><input id="',_hesc(a),'" name="',_hesc(a),'" ','type=text size=45 value="'+_hesc(c)+'"></td>',"</tr></table></form></div>"].join("")},eg:function(a,b){if(a.getAttributeNode){var c=a.getAttributeNode(b);return c?c.specified:!1}return a.getAttribute(b)!=ig_},gg:function(a){var a=a||window.event,b=a.target||a.srcElement,c=a.keyCode||a.charCode||a.which;if(c==9){c=ig_0(this,!0,!1);if(!c)return!0;var g=ig_0(this,!1,!1);if(b==c&&a.shiftKey&&!a.ctrlKey&&!a.altKey)return g.focus(),
!1;else if(b==g&&!a.shiftKey&&!a.ctrlKey&&!a.altKey)return c.focus(),!1}return!0},Yf:function(a,b){if(!a||!a.length)return"";var c=['<div id=buttons class="button_background'];b&&c.push(" "+b);c.push('"><table class=buttontable cellspacing=0 cols=');c.push(a.length,"><tr>");for(var g=0;g<a.length;++g)c.push("<td align=center>"),c.push('<span id="button_',g,'" '),c.push('onclick="_IG_PU_hide(',g,')">'),c.push(a[g]),c.push("</span>"),c.push("</td>");c.push("</tr></table></div></div>");return c.join("")},
kg:function(d,e,f,g){var h=3E3,l=a("IG_PU_bg"),j=l.style;j.zIndex=h;j.background="#000";ig_Sb(l,!0);j.position="absolute";l.onclick=function(){};j.display="none";j.left="0px";j.top="0px";var l=a("IG_PU_box"),k=a("IG_PU_iframe_cover");l.innerHTML=d;if(!b&&f)d=document.createElement("div"),d.id="popup_box_placeholder",d.style.display="none",f.parentNode.insertBefore(d,f),_gel("dialogcontent").insertBefore(f,_gel("dialogcontent").firstChild);f=l.style;f.position="absolute";f.zIndex=h+1;h=k.style;h.position=
"absolute";f.visibility="hidden";f.display="block";ig__();f.visibility="visible";h.display="";j.display="block";_IG_AddEventHandler("resize",_gel("popup_iframe")?_ResizeIframeHeight:ig__);_IG_AddDOMEventHandler(window,"scroll",ig__);_gel("IG_PU_dlg").onkeydown=ig_Tb;e=e||function(){};if(g&&g.length){for(var m=[],j=0;j<g.length;++j)if(h=_gel(g[j]))m.push(g[j]),h.setAttribute("old_position",h.style.position),h.setAttribute("old_left",h.style.left),h.style.position="relative",h.style.left="-99999px";
c=function(a,b){e(a,b);for(var c=0;c<m.length;++c){var d=_gel(m[c]);if(d)d.style.position=d.getAttribute("old_position"),d.style.left=d.getAttribute("old_left")}}}else c=e;(g=ig_0(l,!0,!0))&&g.focus()},position:function(){var b=a("IG_PU_box");if(b.style.display=="block"){var c=a("IG_PU_iframe_cover"),f=a("IG_PU_bg"),g=document.body.clientWidth,h=window.innerHeight;if(!h)h=document.documentElement.clientHeight;var l=b.offsetHeight<h,j=b.style;if(b){var g=(g-b.offsetWidth)/2,k=Math.max((h-b.offsetHeight)/
2+ig_B(),0);!l&&j.top&&(k=parseInt(j.top,10));j.left=g+"px";j.top=k+"px";c=c.style;c.left=g+"px";c.top=k+"px";c.width=b.offsetWidth+"px";c.height=b.offsetHeight+"px"}if(f)b=parseInt(j.top,10)+b.offsetHeight,h=Math.max(ig_A(),h,b),f.style.height=h+"px",f.style.width=document.body.clientWidth+"px"}},lg:function(a,b){var c=a.style;if("opacity"in c)c.opacity=b?0.5:1;else if("MozOpacity"in c)c.MozOpacity=b?0.5:1;else if("filter"in c)c.filter=b?"alpha(opacity=50)":"alpha(opacity=100)"},jg:function(){var a=
_gel("popup_iframe");if(a){var b=a.style;b.height=ig_A(a.contentWindow.document.body)+"px";b.display="block";b.display=""}ig__()}}}();
var _DI_button_type={Close:-1,OK:0,Cancel:1},_IG_PU_hide=window._IG_PU.fg,_IG_PU_open=window._IG_PU.open,_IG_PU_openURL=window._IG_PU.ig,_IG_PU_disable_hide_for_button=window._IG_PU.cg,_IG_PU_MakeDialogButton=window._IG_PU.hg,_ResizeIframeHeight=window._IG_PU.jg,ig_Sb=window._IG_PU.lg,_IG_PU_createSimpleTitle=window._IG_PU.bg,_IG_PU_createSimpleInputBox=window._IG_PU.$f,ig_0=window._IG_PU.dg,ig_Rb=window._IG_PU.eg,ig_Tb=window._IG_PU.gg,ig_Pb=window._IG_PU.Yf,ig__=window._IG_PU.position,ig_Qb=window._IG_PU.kg;
function _IG_PU_init(){}function _IG_PU_IGNORE(){};function _hide_sent_content_messages(){_gel("sent_content_msg").className="hidden_msg";_gel("sent_tab_box").className="hidden_msg_box";_gel("send_tab_error_box").className="hidden_msg_box";_gel("sent_gadget_box").className="hidden_msg_box"}var ig_1=ig_;
function _share_gadget(a,b,c,d,e,f,g,h){if(d){_hide_sent_content_messages();if(!ig_1)ig_1=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=ig_1.replace("GADGET_NAME",_bidi_span_wrap(_get_module_title(d),_get_module_title_dir(d)))}var l=g?"_gel('popup_iframe').contentWindow.prepareEmail(_gel('share_userprefs') ? _gel('share_userprefs').checked : false)":"_gel('popup_iframe').contentWindow.prepareEmail();",e=['<input type="button" id="send_btn" disabled="true" onclick="'+l+'" value="'+
e+'"></input>',_IG_PU_MakeDialogButton(f)],f="titlebar userprefs userprefs_border",g=_get_userprefs_checkbox_html(g,h,f);_IG_PU_openURL(a,g,b,c,e,d?_finish_sharing_gadget:ig_);_IG_PU_disable_hide_for_button(0)}
function _share_this_gadget(a,b,c,d){function e(a,b){f(a,b);c&&_finish_sharing_gadget(a)}if(c){_hide_sent_content_messages();if(!ig_1)ig_1=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=ig_1.replace("GADGET_NAME",_bidi_span_wrap(_get_module_title(c),_get_module_title_dir(c)))}var f=d||function(){};_IG_PU_openURL(a,ig_,b,"555px",ig_,e);_IG_PU_disable_hide_for_button(0)}
function _share_tab_with_gadget_checkboxes(a,b,c,d,e,f,g){var b='<iframe id="popup_iframe" width="100%" height="0px" src="'+_hesc(b)+'" onload="_ResizeIframeHeight();" scrolling="no"></iframe>',h="_gel('popup_iframe').contentWindow.storeTabAndPrepareEmail(_find_unshared_gadgets(), _gel('share_userprefs') ? _gel('share_userprefs').checked : false);",f=['<input type="button" id="send_btn" disabled="true" onclick="'+_hesc(h)+'" value="'+_hesc(f)+'"></input>',_IG_PU_MakeDialogButton(g)];if(_uli){for(var g=
_get_all_modules(),l=Math.max(g.length*160,400),h=7,j=0,k=0;k<g.length;k++)if(g[k].length>j)j=g[k].length;j=j>h&&c!="NO_TRANSLATION";a=[a];a.push('<form id="module_list">');a.push('<table class="titlebar module_list_table" ','cols="',g.length,'"',' width="',l,'px">');j?a.push('<tr class="zipped_modules" id="module_list_zipper">'):a.push('<tr class="unzipped_modules">');for(l=0;l<g.length;l++){a.push('<td width="',100/g.length,'%" ','valign="top">');for(k=0;k<g[l].length;k++){var m=_hesc(g[l][k].id.replace("m_",
"")),n=_bidi_span_wrap(_get_module_title(m),_get_module_title_dir(m));a.push('<div class="module_item');k>=h&&j&&a.push(" extra_items");a.push('">');a.push('<input id="share_',m,'" type="checkbox"'," checked ></input>");a.push('<label for="share_',m,'">',n,"</label>");a.push("</div>")}a.push("</td>")}a.push("</tr>");j&&(a.push('<tr class="zipped_module_list">'),a.push('<td id="show_all_modules" colspan="',g.length,'" style="font-size:80%;text-align:center;">'),a.push('<a href="javascript:void(0);" id="zipper_text"',
' onclick="_modules_zipper();">'),a.push(c,"</a>"),a.push("</td></tr>"));a.push("</table>");a.push(_get_userprefs_checkbox_html(d,e,"userprefs"));a.push("</form>");_IG_PU_open(a.join(""),b,f);_IG_PU_disable_hide_for_button(0);_gel("dialogcontent").className+=" url"}else _IG_PU_open(a,b,f);_gel("buttons").className+=" colored_background"}
function _show_shared_userprefs_alert(){_gel("share_userprefs").checked?(_gel("share_userprefs_alert").style.display="block",_gel("popup_iframe").contentWindow.shouldShareUserprefs(!0)):(_gel("share_userprefs_alert").style.display="none",_gel("popup_iframe").contentWindow.shouldShareUserprefs(!1))}
function _get_userprefs_checkbox_html(a,b,c){var d=[];a&&a!=""&&(d.push('<div class="',c,'">'),d.push('<input id="share_userprefs" type="checkbox"'),b!=""&&d.push(' onclick="_show_shared_userprefs_alert();"'),d.push("></input>"),d.push('<label for="share_userprefs">',a,"</label>"),b!=""&&d.push('<div class="userprefs_alert"',' id="share_userprefs_alert">',b,"</div>"),d.push("</div>"));return d.join("")}
function _modules_zipper(){if(_gel("module_list_zipper").className=="zipped_modules")_gel("module_list_zipper").className="unzipped_modules",_gel("show_all_modules").style.display="none";_ResizeIframeHeight()}
function _find_unshared_gadgets(){for(var a=_gel("module_list").elements,b=[],c=0;c<a.length;c++){var d;d=a[c];d=!d||d.tagName.toLowerCase()!=="input"||d.type.toLowerCase()!=="checkbox"||d.checked===!0||!/module_item/.test(d.parentNode.className)?!1:/extra_items/.test(d.parentNode.className)?(d=_gel("module_list_zipper"))&&/unzipped_modules/.test(d.className):!0;d&&(b[b.length]=a[c].id.replace("share_",""))}return b}
function _finish_sharing_gadget(a){if(a==_DI_button_type.OK)_gel("sent_content_msg").className="msg",_gel("sent_tab_box").className="hidden_msg_box",_gel("send_tab_error_box").className="hidden_msg_box",_gel("sent_gadget_box").className="msg_box"}
function _finish_sharing_tab(a){_gel("sent_content_msg").className="msg";_gel("sent_gadget_box").className="hidden_msg_box";a?(_gel("sent_tab_box").className="msg_box",_gel("send_tab_error_box").className="hidden_msg_box"):(_gel("send_tab_error_box").className="msg_box",_gel("sent_tab_box").className="hidden_msg_box")};function _IG_saveModuleEditPrefs(a,b,c,d){var e=ig_t("m",b),f=e.mt,e=e.sn,g=_gel(_getIframeId(b)),h=g&&g.src;ig_o(a,"sn",e);ig_o(a,"ifr",h?"1":"0");if(c||!h)return _fsetp(a,b,f),!0;for(var c=b,a=a.elements,f=[],h=[],l=0;l<a.length;++l){var j=a[l].name,k=a[l].value;if(j&&j!="url"&&(f.push(_esc(j)+"="+_esc(k)),j=j.match(/^m_\d+_up_(.*)$/)))h.push(j[1]),h.push(k)}d||_xsetp(f.join("&"));_IG_Prefs._setPrefs(c,h);_closeUserPrefs(b);ig_Ub(g,b,e);return!1}
function ig_Ub(a,b,c){var d=(new Date).getTime(),e=a.onload;a.onload=function(){var b=(new Date).getTime()-d;_sendx(["/ig/ui?action=refreshIfr&m=",_esc(c),"&ol=",b].join(""));typeof e=="function"&&e();a.onload=e};var f=a.src.replace(/&+$/,""),g=_IG_Prefs.ka(b,f);f.split("#")[0]==g.split("#")[0]?setTimeout(function(){a.src=ig_T(g)},500):a.src=g};function _IG_FRUC_init(){for(var a in ig_t("m")){var b=ig_t("m",a);b.mt==25&&_IG_RegisterMaximizeHandler(b.i,ig_Vb(a))}a=[];var b=[],c=[],d=0,e;for(e in ig_t("m")){var f=ig_t("m",e);if(f.mt==25){a.push(_hesc(f.u));b.push(f.i);if(f.fa&&f.fa.length>0){for(var g=[],h=0;h<f.fa.length;++h)g.push(f.fa[h].i);c.push(g.join(","))}else c.push("");d++}}a.length!=0&&_sendx("/ig/unreadcounts?feed="+a.join("&feed=")+"&fa="+c.join("&fa="),ig_Wb(b))}
function ig_Vb(a){return function(b){if(!b){var b=ig_t("m",a,"i"),c=ig_t("m",b);c&&c.mt==25&&_sendx("/ig/unreadcounts?feed="+c.u,ig_Wb([b]))}}}function ig_Wb(a){return function(b){ig_Xb(a,b)}}function ig_Xb(a,b){if(b){var c=eval("("+b+")");if(c&&c.uc&&c.uc.length==a.length)for(var d=0;d<a.length;++d){var e=ig_t("m",a[d]);if(e){var f=c.uc[d];e.uc=f;ig_Yb(e,f);f=c.ua[d];if(e&&e.fa&&f&&e.fa.length==f.length)for(var g=0;g<e.fa.length;++g)e.fa[g].rs=f[g]}}}}
function ig_Yb(a,b){a&&b!=ig_&&(b==0?_IG_SetTitle(a.ti,a.i):_IG_SetTitle(a.ti+" ("+b+")",a.i))}function _IG_FRUC_setFeedAsRead(a,b){if(ig_t("f","show_feed_unread_counts")&&ig_t("m",a,"fa",b)){var c=ig_t("m",a);if(c.fa[b].rs==1)c.uc&&(c.uc--,ig_Yb(c,c.uc),_sendx("/ig/markfeed?feed="+c.u+"&fa="+c.fa[b].i)),c.fa[b].rs=!1}};function _IG_hoverModule(a,b){var c=_gel("m_"+a),d="modhover";b?ig_5.da(a)||ig_zb(c,d):ig_d(c,d)}function _IG_hoverHeader(a,b){var c=_gel("m_"+a+"_drag");if(c)c.style.display=b?"":"none";if(c=_gel("m_"+a+"_home_menu")){var d="titlehover";b?ig_5.da(a)||ig_zb(c,d):ig_d(c,d)}};function _IG_inherits(a,b){function c(){}c.prototype=b.prototype;a.yh=b.prototype;a.prototype=new c;a.prototype.constructor=a};function ig_6(){}ig_b=ig_6.prototype;ig_b._onPreDetachDashboard=function(){};ig_b._onPostDetachDashboard=function(){};ig_b._onPreAttachMaximized=function(){};ig_b._onPostAttachMaximized=function(){};ig_b._onPreDetachMaximized=function(){};ig_b._onPostDetachMaximized=function(){};ig_b._onPreAttachDashboard=function(){};ig_b._onPostAttachDashboard=function(){};
ig_6.bh=function(a,b){if(!b.view)return _pid?new _IG_scaleInlinedTransitionStrategy(a):new _IG_noMaxSupportTransitionStrategy(a,b.u);switch(b.view.ty){case 0:return new _IG_inlinedTransitionStrategy(a,b.view.max_u);case 1:return new _IG_scaleInlinedTransitionStrategy(a);case 2:return new _IG_iFrameTransitionStrategy(a,b.view.max_u);case 3:return _pid?new _IG_scaleInlinedTransitionStrategy(a):new _IG_noMaxSupportTransitionStrategy(a,b.u)}return ig_};function ig_7(a){this.b=a;this.Tc=""}
_IG_inherits(ig_7,ig_6);ig_b=ig_7.prototype;ig_b.s=function(){return _gel("remote_iframe_"+this.b)};ig_b.Vd=function(){var a=this.s();a&&(a.src="")};ig_b.la=function(){var a=this.s();if(a)a.src=_IG_Prefs.ka(this.b,a.src)};ig_b._onPreAttachMaximized=function(){var a=_gel("m_"+this.b+"_b");this.Tc=a.className;a.className="modboxin_max";ig_5.pf(this.b);_gel("rcam_t1").className="rnd1_max_top";_gel("rcam_t2").className="rnd2_max_top";_gel("rcam_t3").className="rnd3_max_top"};
ig_b._onPreAttachDashboard=function(){var a=_gel("m_"+this.b+"_b");a.className=this.Tc;ig_5.qf(this.b);_gel("rcam_t1").className="rnd1";_gel("rcam_t2").className="rnd2";_gel("rcam_t3").className="rnd3"};ig_b.rb=function(a,b,c){b.style.width="200px";c=c||0;c=a.scrollWidth-c;c!=0?(a=_max(200,_IG_isIE()?c:a.offsetWidth),b.style.width=a+"px"):b.style.width="100%"};
function _IG_iFrameTransitionStrategy(a,b,c,d){ig_7.call(this,a);this.K=b;this.S=d||!1;this.Da="";this.ib=c||"800px";this.tc=this.rc=this.sc=this.jb=ig_;if(this.S){var e=this;this.o=function(){e.Of.call(e)}}}_IG_inherits(_IG_iFrameTransitionStrategy,ig_7);ig_b=_IG_iFrameTransitionStrategy.prototype;ig_b.Of=function(){this.rb(_gel("remote_"+this.b),this.s())};
ig_b._onPreDetachDashboard=function(){if(this.Da=="")for(var a=0;a<remote_modules.length;a++){var b=remote_modules[a];if(b.id==this.b)this.Da=b.base_iframe_url}this.tc=_isModuleZipped(this.b)};ig_b._onPostDetachMaximized=function(){this.Vd()};
ig_b._onPostAttachMaximized=function(){var a=this.s(),b=_gel("m_"+this.b),c=_gel("m_"+this.b+"_b");this.sc=b.style.height;this.rc=c.style.height;this.jb=a.style.height;this.S&&(_IG_AddEventHandler("resize",this.o),this.o());a.src=this.K;a.style.height=this.ib;this.la()};
ig_b._onPostAttachDashboard=function(){var a=this.s(),b=_gel("m_"+this.b),c=_gel("m_"+this.b+"_b");if(this.jb!=ig_)a.style.height=this.jb,a.style.width="100%",b.style.height=this.sc,c.style.height=this.rc;this.tc?_IG_AddEventHandler("moduleunzip",this.Ze()):(a.src=this.Da,this.la())};ig_b._onPreDetachMaximized=function(){this.S&&_IG_RemoveEventHandler("resize",this.o)};ig_b.Ze=function(){var a=this;return function(){a.s().src=a.Da;a.la();_IG_RemoveEventHandler("moduleunzip",this)}};
function _IG_gmailIE7TransitionStrategy(a,b,c,d,e){ig_7.call(this,a);this.$e=b;this.K=c;this.af=d;this.bf=e;this.U=0}_IG_inherits(_IG_gmailIE7TransitionStrategy,ig_7);ig_b=_IG_gmailIE7TransitionStrategy.prototype;ig_b._onPreDetachDashboard=function(){var a=_gel("remote_iframe_"+this.b+(this.U==0?"":"_h"+this.U));_gel("remote_"+this.b).removeChild(a);ig_t("m",this.b)&&(_IG_MD.m[this.b].ifrId=ig_)};
ig_b._onPostAttachMaximized=function(){var a="remote_iframe_"+this.b+"_m"+this.U;this.Ic(a,this.K);var b=this;this.o=function(){b.rb(_gel("remote_"+b.b),_gel(a))};_IG_AddEventHandler("resize",this.o);this.o();_gel("m_"+this.b+"_b").style.display="block"};ig_b._onPreDetachMaximized=function(){_IG_RemoveEventHandler("resize",this.o);this.o=ig_;var a="remote_iframe_"+this.b+"_m"+this.U;_gel("remote_"+this.b).removeChild(_gel(a));ig_t("m",this.b)&&(_IG_MD.m[this.b].ifrId=ig_)};
ig_b._onPostAttachDashboard=function(){this.U++;var a="remote_iframe_"+this.b+"_h"+this.U;this.Ic(a,this.$e)};
ig_b.Ic=function(a,b){_gel("remote_"+this.b).innerHTML=['<iframe id="',a,'" name="',a,'" frameborder="0" scrolling="no"></iframe>'].join("");_gel(a).style.border=0;_gel(a).style.margin=0;_gel(a).style.padding=0;_gel(a).style.overflow="hidden";_gel(a).style.width="100%";_gel(a).style.height="300px";ig_t("m",this.b)&&(_IG_MD.m[this.b].ifrId=a);window.gadgets&&window.gadgets.rpc&&(window.gadgets.rpc.setRelayUrl(a,this.af,!1),window.gadgets.rpc.setAuthToken(a,this.bf));_gel(a).src=b};
function _IG_inlinedTransitionStrategy(a,b,c,d){ig_7.call(this,a);this.K=b;this.kb="max_div";this.vc="max_iframe";this.ib=c||"800px";this.S=d||!1;this.zb=this.lb=ig_;if(this.S){var e=this;this.o=function(){e.Qf.call(e)}}}_IG_inherits(_IG_inlinedTransitionStrategy,ig_7);ig_b=_IG_inlinedTransitionStrategy.prototype;ig_b.s=function(){return _gel(this.vc)};ig_b._updateIframeSrc=function(a){this.K=a;var b=this.s();if(b)b.src=a};ig_b._setNextMaxIframeAddress=function(a){this.K=a};
ig_b._setPostMaximizeCallback=function(a){if(!a||typeof a=="function")this.lb=a};ig_b._setPostRestoreCallback=function(a){if(!a||typeof a=="function")this.zb=a};ig_b.Qf=function(){this.rb(_gel("max_div"),this.s(),25)};
ig_b._onPostAttachMaximized=function(){var a=_gel(this.kb),b=this.s(),c=_gel("m_"+this.b+"_b");if(!a)a=document.createElement("DIV"),a.id=this.kb;if(!b)b=document.createElement("IFRAME"),b.frameBorder="0",b.scrolling="no",b.style.border="0",b.style.margin="0",b.style.padding="0",b.style.overflow="hidden",b.style.width="100%",b.id=this.vc,a.appendChild(b);this.S?_IG_AddEventHandler("resize",this.o):(_IG_RemoveEventHandler("resize",this.o),b.style.width="100%");c.nextSibling?c.parentNode.insertBefore(a,
c.nextSibling):c.parentNode.appendChild(a);a.className="modboxin_max";a.style.display="";b.style.height=this.ib;b.src=_IG_Prefs.ka(this.b,this.K);this.lb&&this.lb(this);return b.src};ig_b._onPostDetachMaximized=function(){this.Vd()};ig_b._onPostAttachDashboard=function(){var a=_gel(this.kb);a.style.display="none";if(a=this.s())a.src="";this.zb&&this.zb(this)};ig_b._onPreAttachDashboard=function(){_IG_inlinedTransitionStrategy.yh._onPreAttachDashboard.call(this);window.onresize=ig_};
function _IG_scaleInlinedTransitionStrategy(a){ig_7.call(this,a)}_IG_inherits(_IG_scaleInlinedTransitionStrategy,ig_7);_IG_scaleInlinedTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel("m_"+this.b+"_b");a.style.display="block"};function _IG_noMaxSupportTransitionStrategy(a,b){ig_7.call(this,a);this.tb=b}_IG_inherits(_IG_noMaxSupportTransitionStrategy,ig_7);
function _IG_noMaxSupportResizeIframe(a){var b=window.innerHeight;if(document.body.clientHeight)b=document.body.clientHeight;_gel(a).style.height=parseInt(b-_gel(a).offsetTop-8,10)+"px"}ig_b=_IG_noMaxSupportTransitionStrategy.prototype;ig_b._onPostAttachDashboard=function(){this.la()};
ig_b._onPostAttachMaximized=function(){var a=_gel("m_"+this.b),b=_gel("mu_div");if(b==ig_)b=document.createElement("DIV"),b.id="mu_div",b.innerHTML=['<table border=0 height=100% width=100%><tr valign=top><td width="450px" height=100%><div id="muph"></div><br></td><td height=100%><div style="padding-top:4px;padding-left:4px;"><b class="rnd_modtitle"><b class="rnd1"></b><b class="rnd2"></b><b class="rnd3"></b></b><div class="modtitle">',IG_MSGS.RG,'</div></div><iframe id="max_ifr2" onload="_IG_noMaxSupportResizeIframe(\'max_ifr2\')" frameBorder=0 scrolling="no" style="height:100%; border:0px" width="100%"></iframe></td></tr></table>'].join("");
a.parentNode.replaceChild(b,a);var c=_gel("muph");c.appendChild(a);b.style.display="";a.style.minWidth="300px";if(a=_gel("max_ifr2"))a.src=this.tb&&this.tb.length?"/ig/directory"+_qs()+"output=brief&recommend="+this.tb:"";this.la();if(a=_gel("m_"+this.b+"_b"))a.style.display=""};ig_b._onPreDetachMaximized=function(){var a=_gel("m_"+this.b),b=_gel("mu_div");if(b)b.parentNode.replaceChild(a,b),b.style.display="none";a.style.minWidth=""};ig_b._onPreAttachMaximized=function(){};
ig_b._onPreAttachDashboard=function(){};function ig_Zb(){this.Gb="modules";this.Mb="dash_ph";this.Kb="max_ph";this.D=ig_;this.Ad=""}var ig_5=new ig_Zb;ig_5.Rd=function(){return ig_5.D};ig_5.Cg=function(a){this.Ad=a};ig_5.Md=function(a){this.D!=a&&(this.D&&this.Rb(this.D),this.ug(a))};ig_5.Gc=function(){this.D&&this.Rb(this.D)};ig_5.da=function(a){return this.D==a};ig_5.getStrategy=function(a){var b=_max_strategies[a];if(b==ig_){var c=ig_t("m",a);c&&(b=ig_6.bh(a,c),_max_strategies[a]=b)}return b};
ig_5.ug=function(a){var b=this.getStrategy(a);b._onPreDetachDashboard();this.yg(a);b._onPostDetachDashboard();b._onPreAttachMaximized();this.xg(a);b._onPostAttachMaximized();this.D=a;_IG_suspend_refresh_cycle()};ig_5.Rb=function(a){var b=this.getStrategy(a);b._onPreDetachMaximized();this.zg(a);b._onPostDetachMaximized();b._onPreAttachDashboard();this.wg(a);b._onPostAttachDashboard();this.D=ig_;_IG_restart_refresh_cycle()};
ig_5.Bg=function(a){this.Xb=function(){_IG_minimize_view(a,"delete",this.Ad)};_IG_AddModuleEventHandler(a,"delete",this.Xb)};ig_5.Hg=function(a){this.Xb&&_IG_RemoveModuleEventHandler(a,"delete",this.Xb)};ig_5.yg=function(a){var b=_gel(this.Mb);if(b==ig_)b=document.createElement("DIV"),b.id=this.Mb,b.style.display="none";var c=_gel("m_"+a),d=_gel(this.Gb).parentNode;c.parentNode.replaceChild(b,c);d.appendChild(c);b.style.display="block";b.style.height=c.clientHeight+"px";this.Id(a)};
ig_5.xg=function(a){var b=_gel(this.Kb);if(b==ig_)b=document.createElement("DIV"),b.id=this.Kb,b.style.display="none";var c=_gel("m_"+a),d=_gel(this.Gb);b.appendChild(c);d.parentNode.appendChild(b);d.style.display="none";b.style.display="block";c.className=c.className.replace(/( |^)modbox( |$)/,"$1modbox_max$2");this.Ag(a);this.Bg(a);_IG_TriggerEvent("modulemaximize",a);_IG_TriggerModuleEvent(a,"maximize")};
ig_5.zg=function(a){var b=_gel(this.Gb),c=_gel(this.Kb);c.style.display="";b.style.display="";b=_gel("m_"+a);b.className=b.className.replace(/modbox_max/,"modbox");this.Id(a)};ig_5.wg=function(a){var b=_gel(this.Mb),c=_gel("m_"+a);b.parentNode.replaceChild(c,b);b.style.display="none";this.Ig(a);this.Hg(a);_IG_TriggerEvent("moduleunmaximize",a);_IG_TriggerModuleEvent(a,"unmaximize")};
ig_5.Ag=function(a){var b=_gel("m_"+a),a=_gel("m_"+a+"_h");b.parentNode.className+=" ig_dnd_fixed_col";a.style.cursor="default";ig_Eb()};ig_5.Ig=function(a){var b=_gel("m_"+a),a=_gel("m_"+a+"_h");b.parentNode.className=b.parentNode.className.replace(/ ig_dnd_fixed_col/,"");a.style.cursor="move";_IG_initDrag(_table,_tabs)};ig_5.Id=function(a){_IG_hoverModule(a,!1);_IG_hoverHeader(a,!1)};
ig_5.Ud=function(a){for(var a=_gel(a),a=a.childNodes,b=[],c=0;c<a.length;++c)if(a[c].className&&(a[c].className.indexOf("rnd_modtitle")==0||a[c].className.indexOf("rnd_modboxin")==0))for(var d=0;d<a[c].childNodes.length;++d)b[b.length]=a[c].childNodes[d];return b};ig_5.pf=function(a){for(var a=this.Ud("m_"+a),b=0;b<a.length;++b)a[b].className+="_max"};ig_5.qf=function(a){for(var a=this.Ud("m_"+a),b=0;b<a.length;++b)a[b].className=a[b].className.replace(/_max/,"")};
function _IG_toggle_view(a){ig_5.Md(a)}function _IG_is_maximized_module(a){return ig_5.da(a)}function _IG_maximize_view(a,b,c){_IG_OS_hideGadgetInvitesManager();_IG_OS_hideUpdates();var d=_gel("m_"+a);d&&d.style.display!="none"&&(b==ig_&&(b="dunno"),b=["/ig/ui?xp=",c||"","&action=maximizeMod","&from=",b,"&m=",a,"&sn=",ig_t("m",a,"sn")],window["FEED"+a]&&b.push("&mt=feed"),_sendx(b.join(""),ig_,!1,ig_),ig_5.da(a)||(ig_5.Cg(c),ig_5.Md(a)))}
function _IG_minimize_view(a,b,c){_IG_OS_hideGadgetInvitesManager();_IG_OS_hideUpdates();b==ig_&&(b="dunno");b=["/ig/ui?xp=",c||"","&action=minimizeMod","&from=",b,"&m=",a,"&sn=",ig_t("m",a,"sn")];_sendx(b.join(""),ig_,!1,ig_);ig_5.da(a)&&ig_5.Rb(a)}function _IG_restore_view(){_IG_OS_hideGadgetInvitesManager();ig_5.Gc()}var _IG_getCurrentMaxId=ig_5.Rd;_exportClass("gadgets.views","ViewManager",ig_5,ig_,["isModuleMaximized",ig_5.da,"getCurrentMaxId",ig_5.Rd]);function ig__b(){this.Ra="";this.og=150;this.Pa=_IG_isIE();this.Ua=[];window.location.hash.slice(1);var a=this;_IG_callPostLoad(function(){_IG_AddDOMEventHandler(window,"load",function(){a.Bd()})})}ig_b=ig__b.prototype;ig_b.Bd=function(){var a=this;if(!(window._gjuc&&window._gjuc()==1)){window.setTimeout(function(){a.Bd()},this.og);var b=this.qg();if(b!=this.Ra&&(this.Cd(b),this.Ra=b,this.Pa))window.location.hash="#"+(b||"home")}};
ig_b.Hd=function(){try{if(this.Pa&&!this.Wb){this.Wb=_gel("ighistory");var a=this.Wb.contentWindow.document,b=window.location.hash.slice(1);a.open();a.write("<head></head><body>"+_esc(b)+"</body>");a.close()}return this.Wb.contentWindow.document}catch(c){}};ig_b.qg=function(){if(this.Pa){var a=this.Hd();return a?_unesc(a.body.innerHTML):""}else return window.location.hash.slice(1)};
ig_b.xh=function(a,b){if(a!=this.Ra&&(this.Ra=a,this.Cd.apply(this,arguments),window.location.hash="#"+a,this.Pa)){var c=this.Hd();c&&(c.open(),c.write("<head></head><body>"+_esc(a)+"</body>"),c.close())}};ig_b.Cd=function(a,b){for(var c=0;c<this.Ua.length;++c)if(this.Ua[c][0].test(a)){this.Ua[c][1].apply(ig_a,arguments);break}};ig_b.Wg=function(a,b){this.Ua.push([a,b])};var ig_8;window._IG_CONTAINER&&(ig_8=new ig__b);function _IG_PushHistory(a,b){ig_8&&ig_8.xh.apply(ig_8,arguments)}
function _IG_AddHistoryCallback(a,b){ig_8&&ig_8.Wg(a,b)}_IG_AddHistoryCallback(/^max\d+$/,function(a,b,c){a=a.substr(3);b==ig_&&(b="history");_IG_maximize_view(a,b,c)});_IG_AddHistoryCallback(/^min\d+$/,function(a,b,c){a=a.substr(3);b==ig_?_IG_restore_view():_IG_minimize_view(a,b,c)});_IG_AddHistoryCallback(/^restore$/,_IG_restore_view);_IG_AddHistoryCallback(/^$/,function(){var a=_args();a.fh?_IG_maximize_view(a.fh,"history",""):_IG_restore_view()});var _IG_Json=ig_G;var _IG_ViewType={CANVAS:"canvas",HOME:"home",PROFILE:"home",PREVIEW:"preview"};function _IG_View(a,b){this.Sg=a;this.Qg=!!b}_IG_View.prototype.nh=function(){return this.Sg};_IG_View.prototype.qh=function(){return this.Qg};var _IG_SupportedViews={};_IG_SupportedViews.CANVAS=new _IG_View(_IG_ViewType.CANVAS,!0);_IG_SupportedViews.canvas=new _IG_View(_IG_ViewType.CANVAS,!0);_IG_SupportedViews.HOME=new _IG_View(_IG_ViewType.HOME,!1);_IG_SupportedViews.Vh=new _IG_View(_IG_ViewType.HOME,!1);
_IG_SupportedViews.PROFILE=new _IG_View(_IG_ViewType.PROFILE,!1);function ig_0b(a,b,c){b=b.toLowerCase();b==_IG_ViewType.CANVAS?_IG_is_maximized_module(a)||_IG_PushHistory("max"+a,"navTo",""):_IG_is_maximized_module(a)&&_IG_PushHistory("min"+a,"navTo","");c&&(b=_IG_Json.stringify(c),_gel(_getIframeId(a)).src+="&view-params="+_esc(b));return!0}var _IG_NavigateToGadget=ig_0b;function ig_1b(a){return _IG_is_maximized_module(a)?_IG_SupportedViews.CANVAS:_IG_SupportedViews.HOME}
var _IG_GetCurrentView=ig_1b;function ig_2b(a){a=_gel(_getIframeId(a)).src;a=_argsUrl(a);return a=_IG_Json.parse(_unesc(a["view-params"]))}var _IG_GetViewParams=ig_2b;function _IG_GetSupportedViews(){return _IG_SupportedViews}_exportSymbols("gadgets.views",["ViewType",_IG_ViewType,"getSupportedViews",_IG_GetSupportedViews,"requestNavigateTo",_IG_NavigateToGadget,"getCurrentView",_IG_GetCurrentView,"getParams",_IG_GetViewParams]);
_exportClass("gadgets.views","View",_IG_View,["getName",_IG_View.prototype.nh,"isOnlyVisibleGadget",_IG_View.prototype.qh]);var ig_9=function(){function a(a,b){return function(c,d){ig_9.Fc(a,b,_IG_Json.parse(d))}}function b(){var a=_gel("maximized_container");if(!a)a=document.createElement("div"),a.id="maximized_container",_gel("modules").parentNode.appendChild(a);return a}function c(){var a=_gel("gadget_invite_items");if(!a)a=document.createElement("div"),a.id="gadget_invite_items",a.className="gadget_invite_items",_IG_AddDOMEventHandler(a,"click",ig_9.Me);return a}function d(a,b){var c=document.createElement("span");
c.className="gadget_invite_content_item cl linkon";_IG_AddDOMEventHandler(c,"click",function(){b.osit&&_sendx("/ig/osinvites?et="+_et,function(){},!1,"action=accept&osit="+b.osit);b.mtid=b.mtid||0;_select_gadget_and_log(b.mtid,b.mid)});c.innerHTML=IG_MSGS.GIGTG.replace(/%1\$s/,a);return c}function e(a){var c=b();c.innerHTML="";c.style.display=a?"":"none";a?(_IG_showRoundedCornerOnMaximize(),ig_5.Gc()):_IG_hideRoundedCornerOnRestore();_gel("rcam_t1").className=a?"rnd1_max_top":"rnd1";_gel("rcam_t2").className=
a?"rnd2_max_top":"rnd2";_gel("rcam_t3").className=a?"rnd3_max_top":"rnd3";c=_IG_getCurrentMaxId();_gel(c?"max_ph":"modules").style.display=a?"none":""}function f(){if(typeof _IG_OS_updates_gadget_iframe_url=="undefined")return"";else{var a=_IG_OS_updates_gadget_iframe_url.match(/mid=(-?\d+)/);return a==ig_?"remote_module_1618033":"remote_module_"+_IG_OS_updates_gadget_iframe_url.match(/mid=(-?\d+)/)[1]}}return{l:ig_,C:0,Ia:!1,Bc:!1,ob:!1,pb:!0,w:10,Fe:function(){var a=_args(),a=a.force_sandbox;return a==
"1"},Fc:function(a,b,c){_IFPC.call(a,"shindig.requestShareApp_callback",[b,c.success,c.success?ig_:c.message,c.recipientIds],_ifpc_relay_url[_ig_gmid_(a)],ig_,window.location.Re+"/ig/images/rpc_relay.html",!0,!0)},Ec:function(b,c,d,e){var f=_ig_gmid_(b),d=d||[],m="";if(typeof d=="object"&&d.join)d.length>50&&d.splice(50),m=d.join(",");else if(typeof d=="string")m=d;else if(!d.nb||d.nb.Ye!="VIEWER"&&d.nb.Ye!="OWNER"||d.nb.Ch!="FRIENDS"){e={Eh:!1,message:"Invalid recipient.",Dh:[]};ig_9.Fc(b,c,e);return}var d=
ig_t("m",f,"u"),n=_IG_ViewType.HOME;if(f==_IG_getCurrentMaxId())n=_IG_ViewType.CANVAS;_share_this_gadget(_hesc(_jesc(e)),ig_q(IG_URLS.sgu,["moduleurl="+_esc(d),"mid="+f,"source=os","view="+n,"uids="+m]),f,a(b,c))},Cc:function(){_sendx("/ig/osinvites",function(a){ig_9.l=eval("("+a+")");a=ig_9.l;ig_9.C=a&&a.invite&&a.invite.length?a.invite.length:0;ig_9.Ia=a&&!!a.n;_IG_OS_updateGadgetInvites();if(ig_9.C&&ig_9.pb)ig_9.w=Math.min(10,ig_9.C),ig_9.Ja(ig_9.l.invite,0,ig_9.w)})},Hc:function(){var a=_gel("gadget_invites_header"),
b=_gel("gadget_shares_nav");if(a&&b){a.style.display="none";b.style.display="none";if(ig_9.C){if(ig_9.Ia){a.style.display="block";var a=ig_9.C>1?IG_MSGS.GIP:IG_MSGS.GI,a=a.replace(/%1\$d/,ig_9.C),c=_gel("gadget_invites_header_link");c.innerHTML=a}b.style.display="block";b=_gel("num_invites");b.innerHTML=ig_9.C}if(b=_gel("show_all_invites"))b.innerHTML=IG_MSGS.GISAI.replace(/%1\$d/,ig_9.C)}},Ve:function(){ig_9.pb=!0;ig_9.Cc();e(!0);_IG_highlight_invites();ig_9.Ac(IG_MSGS.GIH,function(){_IG_PushHistory("",
"gadget_invites","")});b().appendChild(c())},Oe:function(){if(ig_9.ob)ig_9.ob=!1,setTimeout(function(){window.location.replace(ig_T(document.location.href))},0);e(!1);ig_9.pb=!1;var a=_IG_getCurrentMaxId();a!=ig_?_IG_highlight_module(a):_IG_highlight_tab()},Xe:function(){e(!0);_IG_highlight_updates();ig_9.Ac(IG_MSGS.GUH,function(){_IG_PushHistory("","social_updates","")});var a=_gel(f());if(!a)a=document.createElement("iframe"),a.src=_IG_OS_updates_gadget_iframe_url,a.id=f(),a.width="98%",a.height=
"900px",a.frameBorder="0",a.style.marginTop="6px",a.style.marginLeft="6px";b().appendChild(a)},Pe:function(){e(!1);var a=f();a&&((a=_gel(a))&&a.parentNode.removeChild(a),a=_IG_getCurrentMaxId(),a!=ig_?_IG_highlight_module(a):_IG_highlight_tab())},Ac:function(a,c){var d=_gel("maximized_container_header");if(!d){d=document.createElement("div");d.id="maximized_container_header";d.className="gititle";var e=document.createElement("h2");d.appendChild(e);var f=document.createElement("span");f.id="maximized_header_title";
f.className="gititle_text";e.appendChild(f);f.innerHTML=a;c&&(e=ig_S("a","",c,{id:"maxContainerMinButton",className:"v2shrinkbox hand"},!0),d.appendChild(e))}e=document.createElement("div");e.style.clear="both";d.appendChild(e);b().appendChild(d)},Ja:function(a,b,d){var e=c();e.innerHTML="";var f=document.createElement("div");f.className="gadget_invite_legal";var m="http://www.google.com/support/websearch/bin/answer.py?answer=145550";_hl&&(m+="&hl="+_hl);f.innerHTML=[IG_MSGS.GIL,' <a href="',m,'" target=_blank>',
IG_MSGS.GILM,"</a>"].join("");e.appendChild(f);b=b||0;d=d||a.length;for(f=b;f<d;f++){if(f!=b)m=document.createElement("hr"),m.id="invite_item_sep_"+a[f].osit,m.className="invite_item_sep",e.appendChild(m);ig_9.Se(a[f])}b=document.createElement("div");b.id="bulk_dismiss";b.className="gadget_invite_footer";d=ig_S("span",IG_MSGS.GIBD,function(){_sendx("/ig/osinvites?et="+_et,function(){ig_9.qb(0,!1);_IG_PushHistory("","gadget_invites","")},!1,"action=declineall")},{className:"decline_invite linkon"});
b.appendChild(d);e.appendChild(b);e.appendChild(ig_9.Te(a.length))},Se:function(a){var b=c(),e=_bidi_span_wrap(a.nam||"",a.nam_dir),f=a.ema?_bidi_span_wrap(a.ema,"ltr"):"",k=_bidi_span_wrap(a.gti||IG_MSGS.GIDGN,a.gti_dir),m=document.createElement("div");m.className="gadget_invite_item";m.id="invite"+a.osit;var n=document.createElement("img");n.src=a.gtu;n.className="gadget_invite_thumb";m.appendChild(n);n=document.createElement("div");n.id="gadget_invite_content_"+a.osit;n.className="gadget_invite_content";
if(_IG_isIE()&&(!document.documentMode||document.documentMode<=7))n.style.cssText="float:none;zoom:1";var q='<a href="/ig/directory?type=gadgets&url='+a.gur+'" target="_blank">'+k+"</a>",r=IG_MSGS.GID,r=r.replace(/%1\$s/,"gadget_invite_content_item").replace(/%2\$s/,"<strong>"+e+"</strong>").replace(/%3\$s/,f).replace(/%4\$s/,"gadget_invite_content_item cl").replace(/%5\$s/,q);n.innerHTML=r;f=a.mid>-1;n.appendChild(document.createElement("br"));if(!f||f&&!a.isc)q="gadget_invite_content_item cl",f&&
!a.isc?(r=_bidi_unicode_wrap(a.nam||"",a.nam_dir),r=IG_MSGS.GIAUBT.replace(/%1\$s/,r),q+=" add_contact"):(r=IG_MSGS.GIAG,q+=" accept_invite"),q=ig_S("input","",ig_,{id:"accept_button_"+a.osit,type:"button",value:r,className:q}),n.appendChild(q);f&&a.isc&&(k=d(k,a),n.appendChild(k));k=f&&a.isc?IG_MSGS.GIDIS:IG_MSGS.GINT;k=ig_S("span",k,ig_,{id:"close_invite_"+a.osit,className:"gadget_invite_content_item decline_invite linkon"});n.appendChild(k);if(!a.isc&&!f)k=IG_MSGS.GIAU,k=k.indexOf("<span")>=0?
k.replace(/%1\$s/,e).replace(/%2\$s/,"_IG_OS_openGroupPopup(true);"):k.replace(/%1\$s/,e).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);"),e=document.createElement("span"),e.id="add_contacts_container_"+a.osit,e.className="gadget_invite_content_item cl add_user_msg",e.innerHTML=k,n.appendChild(e);m.appendChild(n);b.appendChild(m)},Te:function(a){var b=document.createElement("div");b.id="gadget_invite_footer";b.className="gadget_invite_footer";for(var c=3,d,e=
0;e<c;e++)d=document.createElement("b"),d.className="rnd"+(e+1),b.appendChild(d);d=document.createElement("div");d.id="gadget_invite_footer_content";d.className="gadget_invite_footer_content";e=ig_S("span",IG_MSGS.GIBTT,ig_9.Le,{className:"leading_edge linkon"});d.appendChild(e);e=ig_S("span",IG_MSGS.GIM,ig_9.We,{className:"trailing_edge linkon"});d.appendChild(e);e=document.createElement("span");e.className="trailing_edge spacer";e.appendChild(document.createTextNode("-"));d.appendChild(e);a=ig_S("span",
IG_MSGS.GISAI.replace(/%1\$d/,a),ig_9.Ue,{id:"show_all_invites",className:"trailing_edge linkon"});d.appendChild(a);a=document.createElement("div");a.style.clear="both";d.appendChild(a);b.appendChild(d);for(e=c;e>0;e--)d=document.createElement("b"),d.className="rnd"+e,b.appendChild(d);return b},Le:function(){ig_9.w=Math.min(10,ig_9.l.invite.length);ig_9.Ja(ig_9.l.invite,0,ig_9.w)},We:function(){ig_9.w=Math.min(ig_9.w+10,ig_9.l.invite.length);ig_9.Ja(ig_9.l.invite,0,ig_9.w)},Ue:function(){ig_9.w=ig_9.l.invite.length;
ig_9.Ja(ig_9.l.invite,0,ig_9.w)},Me:function(a){for(var b,c=a.target||a.srcElement,a=c;a;)if(a.className=="gadget_invite_item"){b=a.id.replace("invite","");break}else a=a.parentNode;if(b){var a="",d,e,c=c.className;c.indexOf("accept_invite")>=0?(c=(a=_gel("add_contacts_"+b))?a.checked:!1,d="accept",a="addcontact=true",e={na:c?1:0},ig_9.ob=!0):c.indexOf("decline_invite")>=0?d="decline":c.indexOf("add_contact")>=0&&(d="accept",a="addcontact=true",e={na:2});d&&(a+=(a?"&":"")+"action="+d+"&osit="+b,_sendx("/ig/osinvites?et="+
_et,function(a){ig_9.Ne(a,b,d,e)},!1,a))}},Ne:function(a,b,c,e){var f;a:{for(var m=ig_9.l.invite,n=0;n<m.length;n++)if(m[n].osit==b){f=m[n];break a}f=ig_}if(f){var a=a&&eval("("+a+")"),m=_gel("gadget_invite_content_"+b),q=_gel("accept_button_"+f.osit),r=_gel("close_invite_"+f.osit),t=_gel("add_contacts_container_"+f.osit),o=_bidi_span_wrap(f.nam||"",f.nam_dir),n=_bidi_span_wrap(f.gti||IG_MSGS.GIDGN,f.gti_dir),i="";switch(c){case "accept":q.parentNode.removeChild(q);r.parentNode.removeChild(r);t&&
t.parentNode.removeChild(t);if(e){if(e.na==0||e.na==1)i+=IG_MSGS.GIGA.replace(/%1\$s/,n);if(e.na==1||e.na==2)c=IG_MSGS.GICA,c=c.indexOf("<span")>=0?c.replace(/%1\$s/,o).replace(/%2\$s/,"_IG_OS_openGroupPopup(true);"):c.replace(/%1\$s/,o).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);"),i+=(i?" ":"")+c}c=i;e=_gel("gadget_invite_content_"+b);f=document.createElement("div");f.className="gadget_invite_content_item cl ie_content_fix";o=document.createElement("span");
o.className="action_message";o.innerHTML=c;f.appendChild(o);e.appendChild(f);m.appendChild(d(n,a));break;case "decline":a=_gel("invite"+f.osit),m=a==a.parentNode.firstChild?a.nextSibling:_gel("invite_item_sep_"+f.osit),a.parentNode.removeChild(a),m&&m.parentNode.removeChild(m)}a=ig_9.l.invite;for(m=0;m<a.length;m++)a[m].osit==b&&(ig_9.l.invite.splice(m,1),ig_9.qb(ig_9.l.invite.length,ig_9.Ia));ig_9.w=Math.min(ig_9.w,ig_9.l.invite.length)}},Dc:function(a,b){if(ig_9.Bc){var c="/ig/c",d=_args();(d=d.authuser)&&
(c="/ig/c/u/"+d);window.goog.GroupPopupLauncher.launch(c,"ig",window.goog.GroupPopupLauncher.Group.FRIENDS,a?window.goog.GroupPopupLauncher.PopupType.EDIT:window.goog.GroupPopupLauncher.PopupType.PICK,{hl:_hl});b&&b()}else _IG_LoadScriptCallback(IG_URLS.gpjsu,function(){ig_9.Bc=!0;ig_9.Dc(a,b)})},Ke:function(){var a=_gel("gadget_invites_header");if(a)a.style.display="none";_sendx("/ig/osinvites?et="+_et,function(){},!1,"action=ack")},qb:function(a,b){ig_9.C=a;ig_9.Ia=b;ig_9.Hc()},Qe:function(){_gel("contacts_nav").style.display=
"";_gel("tab_separator_social").style.display=""}}}(),_IG_OS_loadGadgetInvitesData=ig_9.Cc,_IG_OS_updateGadgetInvites=ig_9.Hc,_IG_OS_showGadgetInvitesManager=ig_9.Ve,_IG_OS_hideGadgetInvitesManager=ig_9.Oe,_IG_OS_showUpdates=ig_9.Xe,_IG_OS_hideUpdates=ig_9.Pe,_IG_OS_requestShareApp=ig_9.Ec,_IG_OS_openGroupPopup=ig_9.Dc,_IG_OS_acknowledgeInvitations=ig_9.Ke,_IG_OS_setPendingInvites=ig_9.qb,_IG_OS_initOpenSocialUI=ig_9.Qe;_IFPC.pa("shindig.requestShareApp",ig_9.Ec);
_IG_AddHistoryCallback(/^social_updates$/,_IG_OS_showUpdates);_IG_AddHistoryCallback(/^gadget_invites$/,_IG_OS_showGadgetInvitesManager);var ig_$=function(){function a(a,b){var e=_gel("m_"+a+"_canvas_social_icon");if(e)e.className=b+e.className.replace(/\bsocialbox\S*/,"");if(e=_gel("m_"+a+"_social_icon"))e.className=b+e.className.replace(/\bsocialbox\S*/,"")}function b(a){ig_$.xd({moduleUrl:_IG_MD.m[a].u},function(b){ig_$.wd(eval("("+b+")"),a)})}_IG_AddEventHandler("modulesocialedit",function(a){var a=a.replace("m_",""),b=_gel("m_"+a+"_aclform");b&&ig_$.yd(b,a)});return{yd:function(a,b){if(a.module_url){a.reset();var e=a["access_profile"+
b],f=a["post_updates"+b];f.disabled=!e.checked}},Wf:function(b,d){_closeUserPrefs(d);if(b.module_url){var e=b.module_url.value,f=b["access_profile"+d],g=b["post_updates"+d];f.defaultChecked=f.checked;g.defaultChecked=g.checked;a(d,f.checked?"socialboxon":"socialbox");var h=_gel("acl_cancel_"+d);if(h)h.style.display="";if(h=_gel("reset_acl_"+d))h.style.display="";h=_IG_ViewType.HOME;if(d==_IG_getCurrentMaxId())h=_IG_ViewType.CANVAS;_IG_OS_makeAclXhr({moduleUrl:e,editToken:_et,accessProfile:f.checked,
view:h,postUpdates:g.checked},function(){var a=_gel(_getIframeId(d));if(a&&a.src)a.src=ig_T(_IG_Prefs.ka(d,a.src)),window.frames[_getIframeId(d)].location.replace(a.src)})}},xd:function(a,b){if(a&&a.moduleUrl){var e="/ig/osacl";e+="?url="+a.moduleUrl;ig_9.Fe()&&(e+="&force_sandbox=1");if(a.editToken){e+="&et="+a.editToken;var f=a.accessProfile?"t":"f",g=a.accessProfile&&a.postUpdates?"t":"f";e+="&osacl=0:"+f+",1:"+g}a.view&&(e+="&view="+a.view);_sendx(e,b,!1,!1)}},wd:function(b,d){var e=_gel("access_profile"+
d),f=_gel("post_updates"+d),g=_gel("acl_cancel_"+d),h=_gel("reset_acl_"+d);if(b.user_decided){e.checked=b.friends;f.checked=b.post&&b.friends;f.disabled=!b.friends;if(g)g.style.display="";if(h)h.style.display=""}else{e.checked=!0;f.checked=!0;f.disabled=!1;if(g)g.style.display="none";if(h)h.style.display="none";_showUserPrefs(d,!0)}e.defaultChecked=e.checked;f.defaultChecked=f.checked;a(d,b.friends?"socialboxon":"socialbox");_gel("acl_options_"+d).style.display="block";_gel("aowc_"+d).style.display=
"none"},Xf:function(a){var a=a||"",b=_gel("access_profile"+a),a=_gel("post_updates"+a);b.checked?a.disabled=!1:(a.checked=!1,a.disabled=!0)},Uf:function(a){ig_yb(a,ig_Q.Eb)?_gel("m_"+a+"_aclform")?_closeUserPrefs(a):ig_$.vd(a):(_log("social_options:"+a),_showUserPrefs(a,!0))},vd:function(a){ig_yb(a,ig_Q.Eb)&&(_xsetp("m_"+a+"_dossip=1"),_closeUserPrefs(a))},Vf:function(){for(var a in _IG_MD.m){var d=_IG_MD.m[a];d.os&&b(a)}}}}(),_IG_OS_handleFormAclOptions=ig_$.Wf,_IG_OS_resetFormAclOptions=ig_$.yd,
_IG_OS_makeAclXhr=ig_$.xd,_IG_OS_handleGetAclXhrResponse=ig_$.wd,_IG_OS_updateAclOptions=ig_$.Xf,_IG_OS_edit=ig_$.Uf,_IG_OS_closeSocialSignInPromo=ig_$.vd,_IG_OS_getAllAcl=ig_$.Vf;function ig_3b(a,b){var c=a.split("#");if(!c[1])return a;for(var d=c[1].split("&"),e=0;e<d.length;++e)/^st=/.test(d[e])&&(d[e]="st="+_hesc(b));c[1]=d.join("&");return c.join("#")}
function ig_4b(a){if(a&&!(a.length<27||a.charAt(27)!="{"))if(a=eval("("+a.substring(27)+")"),a.m)for(var b=0;b<a.m.length;++b){var c=a.m[b];if(c){var d=c.i,e=c.st;if(!c.nsl){for(c=0;c<remote_modules.length;++c)if(remote_modules[c].id==d)remote_modules[c].base_iframe_url=ig_3b(remote_modules[c].base_iframe_url,e);(c=ig_t("m",d,"view","max_u"))&&(_IG_MD.m[d].view.max_u=ig_3b(c,e))}_gel(_getIframeId(d))&&_IFPC.call(_getIframeId(d),"update_security_token",[e],window._ifpc_relay_url[d],ig_,window.location.Re+
"/ig/images/rpc_relay.html",!0,!0)}}}window._IG_CONTAINER&&setInterval(function(){_sendx("/ig/ostokens",ig_4b)},18E5);var _handleAuthRefreshJsonResponse=ig_4b;
var _IG_FR_addWindowResizeHandler,_IG_FR_getMedia_verifyImage,_IG_FR_measureFeedDisplayWidthForModuleId,_IG_FR_measureWindow,_IG_FR_prefetchImage;
(function(){function a(a){return a!="unknown"?a:document.body.dir=="rtl"?"rtl":"ltr"}function b(a){if(a=_gel(_IG_FR_divIdFor(a,_IG_FR_divType.DISPLAY)))if(a=a.clientWidth?a.clientWidth:a.offsetWidth)return a;return 0}function c(a){window.addEventListener?window.addEventListener("resize",a,!1):window.attachEvent("onresize",a)}function d(){return[document.body.offsetWidth,document.body.offsetHeight]}function e(){this.db={};this.kc=0}function f(a,b){b.join(",");return a+"("+b.join(",")+");return false;"}
function g(a){if(!a)return!1;a=a.Entry;if(!a)return!1;for(var b=0;b<a.length;++b){var c=a[b];if(c){var d=c.Media;if(d)for(var e=0;e<d.length;++e){var f=d[e];if(f&&h(f))return!0}if(d=c.Thumbnail)for(e=0;e<d.length;++e)if((f=d[e])&&h(f))return!0;if(c=c.Enclosure)for(d=0;d<c.length;++d)if((e=c[d])&&h(e))return!0}}return!1}function h(a){return a.type?a.type=="image/jpeg"||a.type=="image/jpg"||a.type=="image/gif"||a.type=="image/png"?!0:!1:a.url&&a.url.search(/\.jpg$|\.gif$|\.png$/)!=-1?!0:!1}function l(a,
b,c){return!a.width||a.width<b||a.width>c?!1:!a.height||a.height<b||a.height>c?!1:!0}function j(a,b,c){return!a?b:['<a href="',_hesc(a.Link||"#"),'" ',c?'target="_blank"':"",' title="',_hesc(q(a.Summary||"")),'">',b,"</a>"].join("")}function k(a,b,c,d,e,f,g){b?_IG_callPostLoad(function(){m(0,a,b,c,d,e,f,g)}):a(ig_,ig_,ig_)}function m(a,b,c,d,e,f,g,i){switch(a){case 0:a:{var j=c.Media;if(j)for(var k=0;k<j.length;++k){var p=j[k];if(p&&p.url&&h(p)&&l(p,e,f)){b(p.url,p.width,p.height);break a}}if(d&&
(j=c.Thumbnail))for(k=0;k<j.length;++k)if((p=j[k])&&p.url&&h(p)&&l(p,e,f)){b(p.url,ig_,ig_);break a}m(a+1,b,c,d,e,f,g,i)}break;case 1:a:{if(j=c.Media)for(k=0;k<j.length;++k)if((p=j[k])&&p.url&&h(p)&&(p.height==ig_||p.width==ig_)){_IG_FR_getMedia_verifyImage(p.url,a,b,c,d,e,f,g,i);break a}if(d&&(j=c.Thumbnail))for(k=0;k<j.length;++k)if((p=j[k])&&p.url&&h(p)&&(p.height==ig_||p.width==ig_)){_IG_FR_getMedia_verifyImage(p.url,a,b,c,d,e,f,g,i);break a}m(a+1,b,c,d,e,f,g,i)}break;case 2:a:{if(k=c.Enclosure)for(j=
0;j<k.length;++j)if((p=k[j])&&p.url&&h(p)){_IG_FR_getMedia_verifyImage(p.url,a,b,c,d,e,f,g,i);break a}m(a+1,b,c,d,e,f,g,i)}break;default:b(ig_,ig_,ig_)}}function n(a,b,c,d,e,f,g,h,j){var k=new Image;k.onerror=function(){k=ig_;m(b+1,c,d,e,f,g,h,j)};k.onload=function(){k=ig_;this.width&&this.width>h&&this.height&&this.height>h?c(a,this.width,this.height):m(b+1,c,d,e,f,g,h,j)};k.src=i.F.ha(a,j,j)}function q(a){a=_trim(_striptags(a));a.length>150&&(a=a.substr(0,148),a=a.replace(/[\s|\.|;|!|?|\"|\'|,]+[^\s]*$/,
""),a+="...");return a}function r(a,b){return['<p class="MoreStories"><a href="#" onclick="_log(\'RssModuleV2MoreStoriesLinkClick\');',f("gadgets.views.requestNavigateTo",[b,"_IG_ViewType.CANVAS"]),'">',a,"</a></p>"].join("")}function t(a){var b=new Image;b.src=a}function o(){this.ab=!1;this.pc=this.qc=ig_;this.bb=!1;this.j=[];this.ic=!1}function i(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q,r,s,t,u){this.b=a;this.url=b;this.num_items=0;this.numEntriesToFetch=c;this.initial_num_items=d;this.num_slideshow_items=
0;this.initial_num_slideshow_items=e;this.viewType=ig_;this.initialViewType=f;this.renderer=ig_;this.version=g;this.feedData=ig_;this.openLinksInNewWindow=i;this.defaultViewShouldShowSlideshow=j;this.has_entries=h!=ig_;this.is_fetching=!1;this.catalog=new v(k,l,m,n,o,q,r,s,t,u);this.hb(f);this.mc(h);this.fb(d);this.gb(e)}function v(a,b,c,d,e,f,g,h,i,j){this.jc=a||"";this.dc=b||"";this.nc=c||"";this.le=d||"";this.ve=e||"";this.ue=f||"";this.ec=g||"";this.ke=h||"";this.je=i||"";this.Be=j||""}function u(a,
b,c,d,e){this.b=a;this.feedData=b;this.maxEntriesToDisplay=c;this.openLinksInNewWindow=d;this.catalog=e;this.k=250;this.B=100;this.ga=5E3;this.p=this.k;this.A=ig_}function s(a,b,c,d,e,f,g){this.b=a;this.feedData=b;this.version=c;this.viewType=d;this.maxEntriesToDisplay=e;this.openLinksInNewWindow=f;this.catalog=g;this.k=80;this.B=49;this.ga=1600;this.be=48;this.Ya=this.A=ig_;this.ja={}}e.Yd=3;e.Zd="googleusercontent.com";e.prototype.he=function(){var a=this.kc;this.kc=(a+1)%e.Yd;return a};e.prototype.ie=
function(a){this.db[a]==ig_&&(this.db[a]=this.he());return this.db[a]};e.prototype.cb=function(a,b,c,d){return a&&b&&a>=1&&b>=1&&c>=1&&d>=1?(a=Math.min(1,c/a,d/b),b=Math.max(1,Math.round(b*a)),'style="height:'+b+'px" '):""};e.prototype.ha=function(a,b,c){if(!a)return"";var d=this.ie(a);return"http://images"+d+"-ig-opensocial."+e.Zd+"/gadgets/proxy?"+["container=ig&gadget=a&no_expand=1&refresh=3600","resize_h="+c,"resize_w="+b,"rewriteMime="+encodeURIComponent("image/*"),"url="+encodeURIComponent(a)].join("&")};
o.prototype.ye=function(){for(var a=0;a<this.j.length;++a){var b=_IG_FR_getFeed(this.j[a]);b&&b.wa()}};o.cc=10;o.$d=500;o.prototype.o=function(){if(this.ab)this.ab=!1,window.setTimeout(function(a){return function(){a.eb()}}(this),o.cc)};o.prototype.eb=function(){var a=this.qc,b=this.pc,c=_IG_FR_measureWindow(),d=c[0],c=c[1];this.qc=d;this.pc=c;if(d!=a||c!=b){if(d&&a&&d!=a)this.bb=!0;window.setTimeout(function(a){return function(){a.eb()}}(this),o.$d)}else{if(this.bb)this.bb=!1,window.setTimeout(function(a){return function(){a.ye()}}(this),
o.cc);this.ab=!0}};o.prototype.me=function(a){this.j[this.j.length]=a;if(!this.ic)this.ic=!0,_IG_callPostLoad(function(a){return function(){function b(){a.o()}a.eb();_IG_FR_addWindowResizeHandler(b)}}(this))};i.ea={HEADLINE:0,HEADLINE_AND_LEAD_STORY:1};i.J={NONE:0,HEADLINE:1,SLIDESHOW:2};i.F=new e;i.ce=new o;i.prototype.Ee=function(){var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_NUM_HEADLINE_ITEMS)),b=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_NUM_SLIDESHOW_ITEMS)),
c=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE));if(a&&b&&c){switch(this.gc()){case i.J.HEADLINE:a.style.display="";b.style.display="none";break;case i.J.SLIDESHOW:a.style.display="none",b.style.display=""}c.nodeName.toUpperCase()=="SELECT"?c.selected=this.viewType:c.innerHTML=this.viewType}};i.prototype.fb=function(a){if(this.num_items!=a)this.num_items=a,this.ya()};i.prototype.gb=function(a){if(this.num_slideshow_items!=a)this.num_slideshow_items=a,this.ya()};i.prototype.hb=
function(a){if(this.viewType!=a)this.viewType=a,this.ya(),this.Ee()};i.prototype.xe=function(){this.hb(this.initialViewType);this.fb(this.initial_num_items);this.gb(this.initial_num_slideshow_items)};i.prototype.oc=function(){var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_VALUE,ig_,ig_,_IG_FR_viewType.DEFAULT));if(a){var b=this.hc(),c=ig_;switch(b){case _IG_FR_viewType.HEADLINE:c=this.catalog.ke;break;case _IG_FR_viewType.HEADLINE_AND_LEAD_STORY:c=this.catalog.je;break;case _IG_FR_viewType.SLIDESHOW:c=
this.catalog.Be}if(c){a.innerHTML=this.catalog.ec+" ("+c+")";var d=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE));if(d.nodeName.toUpperCase()=="SELECT")for(var e=0;e<d.length;++e){if(d[e].value==b){a.selected=d[e].selected;d.remove(e);break}}else for(var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_TABLE)).getElementsByTagName("tr"),d=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE)),f=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.EDIT_SETTINGS_VIEWTYPE_TEXT)),
e=0,g=a.length;e<g-1;++e)if(a[e].firstChild.innerHTML==c){if(this.viewType==b||this.viewType==_IG_FR_viewType.DEFAULT)d.innerHTML=_IG_FR_viewType.DEFAULT,f.innerHTML=this.catalog.ec+" ("+c+")";a[e].parentNode.removeChild(a[e]);break}}}};i.prototype.hc=function(){return this.defaultViewShouldShowSlideshow?_IG_FR_viewType.SLIDESHOW:g(this.feedData)?_IG_FR_viewType.HEADLINE_AND_LEAD_STORY:_IG_FR_viewType.HEADLINE};i.prototype.mc=function(a){this.feedData=a;this.oc();this.ya()};i.prototype.gc=function(){return!this.renderer?
i.J.NONE:this.renderer.constructor==u.prototype.constructor?i.J.SLIDESHOW:this.renderer.constructor==s.prototype.constructor?i.J.HEADLINE:i.J.NONE};i.prototype.ya=function(){var a=this.viewType==_IG_FR_viewType.DEFAULT?this.hc():this.viewType;this.renderer=a==_IG_FR_viewType.HEADLINE?new s(this.b,this.feedData,this.version,i.ea.HEADLINE,this.num_items,this.openLinksInNewWindow,this.catalog):a==_IG_FR_viewType.HEADLINE_AND_LEAD_STORY?new s(this.b,this.feedData,this.version,i.ea.HEADLINE_AND_LEAD_STORY,
this.num_items,this.openLinksInNewWindow,this.catalog):a==_IG_FR_viewType.SLIDESHOW?new u(this.b,this.feedData,this.num_slideshow_items,this.openLinksInNewWindow,this.catalog):ig_};i.prototype.Ce=function(){_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.DISPLAY))&&(this.feedData?this.ia():this.fc())};i.prototype.fc=function(){_IG_FR_fetchFeed(this,function(a,b){a.ia(b)},this.numEntriesToFetch)};i.prototype.ia=function(a){if(this.renderer)i.ce.me(this.b),this.feedData?this.feedData.ErrorMsg&&this.feedData.ErrorMsg!=
""?this.$a(this.feedData.ErrorMsg):(this.ze(),!this.feedData.Entry||this.feedData.Entry.length==0?this.$a(this.catalog.dc):(this.Ae(),_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.ENTRIES)).style.display="none",_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW)).style.display="none",this.renderer.ia(a))):this.$a(this.catalog.dc)};i.prototype.wa=function(){this.renderer&&this.renderer.wa()};i.prototype.Ae=function(){_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.MSG)).style.display="none";_gel(_IG_FR_divIdFor(this.b,
_IG_FR_divType.DISPLAY)).style.display=""};i.prototype.$a=function(a){_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.STATUS)).innerHTML=_hesc(a);_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.MSG)).style.display="";_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.DISPLAY)).style.display="none"};i.prototype.pe=function(){var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.PREVIEW_SNIPPET));if(a)a.style.display="none";if(a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.MEDIA_RSS_OUTER)))a.style.display="none"};i.prototype.xa=
function(a){this.gc()==i.J.HEADLINE&&this.renderer.xa(a)};i.prototype.te=function(){var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.PREVIEW_SNIPPET));if(a)a.style.display="";if(a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.MEDIA_RSS_OUTER)))a.style.display=""};i.prototype.ze=function(){if(this.feedData&&this.feedData.Title&&this.feedData.TitleDirection){_IG_SetTitleDir(this.feedData.TitleDirection,this.b);_IG_SetTitle(this.feedData.Title,this.b);var a=_gel("m_"+this.b+"_link");if(a){var b=_hesc(this.feedData.Title),
c=this.feedData.TitleDirection,d=b,e=document.body.dir=="rtl"?"rtl":"ltr";c!=e&&(c=="ltr"?d="<span dir=ltr>"+b+"</span>&rlm;":c=="rtl"&&(d="<span dir=rtl>"+b+"</span>&lrm;"));b=d;c=b='<span id="m_'+this.b+'_title" class="modtitle_text">'+b+"</span>";if(this.feedData.Link)c='<a id="m_'+this.b+'_url" class="mtlink" href="'+_hesc(this.feedData.Link)+'">'+b+"</a>",a.className="lnk";a.innerHTML=c}}};u.prototype.wa=function(){if(this.A!=ig_){var a=_IG_FR_measureFeedDisplayWidthForModuleId(this.b),b=this.k;
a>0&&a<this.k+4&&(b=a-4);b!=this.p&&this.lc(this.A)}};u.prototype.ia=function(a){var b=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW));b.style.display="";b=ig_;window.setTimeout(function(a,b){return function(){a.lc(b||0)}}(this,a),10)};u.prototype.lc=function(a){if(this.feedData&&this.feedData.Entry&&!(a<0||a>=_min(this.maxEntriesToDisplay,this.feedData.Entry.length))){var b=this.feedData.Entry[a];if(b){var c=_IG_FR_measureFeedDisplayWidthForModuleId(this.b);this.p=c>0&&c<this.k+4?c-4:this.k;
c=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW));this.A=a;c.innerHTML=this.Za(a);var d=this;k(function(c,e,f){d.we(b,a,c,e,f)},b,!1,this.B,this.ga,this.p*this.B/this.k,this.p);d=this;a<_min(this.maxEntriesToDisplay,this.feedData.Entry.length)-1&&k(function(a){a&&_IG_FR_prefetchImage(i.F.ha(a,d.p,d.p))},this.feedData.Entry[a+1],!1,this.B,this.ga,this.p*this.B/this.k,this.p)}}};u.prototype.de=function(a){return['<div id="'+_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW_IMAGE_ERROR_DIV,a)+'" style="display:none">',
'<div class="RssSlideshowNoArticleImage">',this.catalog.ve,'</div><div class="RssSlideshowChangeSettings">',this.catalog.ue,"</div></div>"].join("")};u.prototype.we=function(a,b,c,d,e){var f=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW_IMAGE_DIV,b));c?(b="_gel('"+_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW_IMAGE_ERROR_DIV,b)+"').style.display=''",c=i.F.ha(c,this.p,this.p),f.innerHTML=j(a,"<img onload=\"this.className='RssImage';this.style.height=''\" class=\"RssImageLoading\" onerror=\"this.style.display='none';"+
b+'" '+i.F.cb(d,e,this.p,this.p)+'src="'+_hesc(c)+'"/>',this.openLinksInNewWindow)):_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW_IMAGE_ERROR_DIV,b)).style.display=""};u.prototype.Za=function(a){if(this.feedData&&this.feedData.Entry&&this.feedData.Entry[a]){var b=this.feedData.Entry[a],c=a!=_min(this.maxEntriesToDisplay,this.feedData.Entry.length)-1,d=a!=0,e=this.p<this.k;return['<center><div class="',e?"RssSlideshowCompact":"RssSlideshow",'"><table class="RssSlideshowTable"><tr class="RssSlideshowTr"><td class="RssSlideshowArrowsTd"><a href="#" class="RssSlideshowArrows',
d?"":" RssArrowDisabled",'" onclick="',d?f("_IG_FR_getFeed("+this.b+").render",[a-1]):"return false;",'">&lsaquo;</a></td><td><div class="RssSlideshowHeadline">&nbsp;',j(b,_hesc(_striptags(b.Title||"")),this.openLinksInNewWindow),'&nbsp;</div></td><td class="RssSlideshowArrowsTd"><a href="#" class="RssSlideshowArrows',c?"":" RssArrowDisabled",'" onclick="',c?f("_IG_FR_getFeed("+this.b+").render",[a+1]):"return false;",'">&rsaquo;</a></td></tr></table><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.SLIDESHOW_IMAGE_DIV,
a),'"></div>',this.de(a),r(this.catalog.jc,this.b),"</div></center>"].join("")}};s.prototype.wa=function(){if(this.A!=ig_){var a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.OUTER_CONTENT,this.A)),b=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SUMMARY_IMAGE,this.A));if(b&&b.firstChild&&a&&(b=_IG_FR_measureFeedDisplayWidthForModuleId(this.b),this.Ya&&this.Ya!=b)){for(var c in this.ja)this.ja[c]=!0;this.ja[""+this.A]=!0;a.style.display!="none"&&this.xa(this.A)}}};s.Bh=function(a){return a.search(/<img.*>/)!=
-1};s.prototype.xa=function(a){var b=this.feedData,c=b.Entry[a];if(c){var d=this.b;c.Link&&window.experimentData&&window.experimentData.PLUSONE&&window.gbar&&window.gbar.lPWF&&window.gbar.lPWF(function(){var b=_IG_FR_divIdFor(d,_IG_FR_divType.PLUSONE,a),e=_gel(b);e&&!e.hasChildNodes()&&window.gapi.plusone.render(b,{href:c.Link,size:"small",source:"google:igoogle"})});var e=c.Summary?c.Summary:"";if(c.ID&&c.ID!="no_id"&&(b=_gel(_IG_FR_divIdFor(d,_IG_FR_divType.INNER_CONTENT,a,c.ID)),this.A=a,b&&(b.style.display==
"none"||this.ja[""+a]))){this.ja[""+a]=!1;if(e&&b.style.display=="none")b.innerHTML=e;this.Ya=e=_IG_FR_measureFeedDisplayWidthForModuleId(d);e-=this.be;var f=e*this.B/this.k;k(function(a,b,d){return function(e,f,g){a.se(c,b,e,d,f,g)}}(this,a,e),c,!0,this.B,this.ga,f,e);b.style.display="";b=ig_}}};s.prototype.De=function(a,b,c){a=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.INNER_CONTENT,b,a.ID));if(!a)return!1;if(a=a.getElementsByTagName("img"))for(b=0;b<a.length;++b){var d=a[b];if(d&&d.src==c)return!0}return!1};
s.prototype.se=function(a,b,c,d,e,f){if(c){var g=i.F.ha(c,d,d);if(!this.De(a,b,c)&&(b=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.SUMMARY_IMAGE,b))))b.innerHTML=this.ge(a,g,d,e,f)}};s.prototype.qe=function(){var a=this.feedData.Entry;if(a){var b=this;(a=a[0])&&this.viewType==i.ea.HEADLINE_AND_LEAD_STORY&&k(function(a){return function(c,d,e){b.re(a,c,d,e)}}(a),a,!0,this.B,this.ga,this.B,this.k)}};s.prototype.ia=function(){_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.ENTRIES)).style.display="";if(this.feedData&&
this.feedData.Entry){var b=this.feedData.Entry;if(b){var c=document.body.dir=="rtl"?"rtl":"ltr",d=a(this.feedData.LanguageDirection);if(d!="unknown"&&d!=c){d=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.DISPLAY));d.className+=" RssReverseDirectionality";var e=document.createElement("bdo");d.parentNode.insertBefore(e,d.nextSibling);e.dir=c}c="";b=_min(b.length,this.maxEntriesToDisplay);for(d=0;d<b;d++)c+=this.Za(d);c+=r(this.catalog.jc,this.b);_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.ENTRIES)).innerHTML=
c;var f=this,b=_IG_isIE()&&window.navigator.userAgent.indexOf("MSIE 6.")!=-1?100:10;window.setTimeout(function(){f.qe()},b)}}};s.prototype.re=function(a,b,c,d){if(b){var b=i.F.ha(b,this.k,this.k),e=_gel(_IG_FR_divIdFor(this.b,_IG_FR_divType.MEDIA_RSS_INNER));e.style.display="block";e.innerHTML=j(a,"<img onload=\"this.className='RssImage';this.style.height=''\" class=\"RssImageLoading\" onerror=\"this.style.display='none'\" "+i.F.cb(c,d,this.k,this.k)+'src="'+_hesc(b)+'"/>',this.openLinksInNewWindow)}};
s.prototype.ee=function(a){return['<a id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.PLUSBOX,a),'" class="fmaxbox" href="#" title="',_hesc(this.catalog.nc),'" onclick="',f("_IG_FR_toggle",[this.b,a,"'"+_hesc(this.catalog.nc)+"'","'"+_hesc(this.catalog.le)+"'",this.version]),'"></a>'].join("")};s.prototype.oe=function(a,b){return this.viewType!=i.ea.HEADLINE_AND_LEAD_STORY||b!=0?"":['<div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.PREVIEW_SNIPPET),'" class="RssEntryOuterContent">',q(a.Summary||""),"</div>"].join("")};
s.prototype.ge=function(a,b,c,d,e){return["<div>",j(a,"<img onload=\"this.className='RssImage';this.style.height=''\" class=\"RssImageLoading\" onerror=\"this.style.display='none'\" "+i.F.cb(d,e,c,c)+'src="'+_hesc(b)+'"/>',this.openLinksInNewWindow),"</div>"].join("")};s.prototype.fe=function(a,b){return!a.ID?"":['<div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.OUTER_CONTENT,b),'" class="RssEntryOuterContent" style="display:none"><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.SUMMARY_IMAGE,b),
'"></div><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.INNER_CONTENT,b,a.ID),'" style="display:none"></div><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.PLUSONE,b),'" class="RssPlusOne"></div></div>'].join("")};s.prototype.ne=function(a){return!(a==0&&this.viewType==i.ea.HEADLINE_AND_LEAD_STORY)?"":['<div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.MEDIA_RSS_OUTER),'" class="LeadStoryImgOuterDiv"><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.MEDIA_RSS_INNER),'" class="LeadStoryImgInnerDiv"></div></div>'].join("")};
s.prototype.Za=function(b){if(!this.feedData||!this.feedData.Entry||!this.feedData.Entry[b])return"";var c=a(this.feedData.LanguageDirection),d=this.feedData.Entry[b],e=d.LanguageDirection,f="",g="";e!="unknown"&&e!=c&&(f='dir="'+e+'"',g='<bdo dir="'+c+'"></bdo>');return['<div class="RssEntry" id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.ENTRY,b),'" ',f,'><span class="RssPlusbox">',this.ee(b),'</span><div id="',_IG_FR_divIdFor(this.b,_IG_FR_divType.ARTICLE,b),'" class="RssHeadlinePreview">',this.ne(b),
j(d,_hesc(_striptags(d.Title||"")),this.openLinksInNewWindow),this.oe(d,b),'</div><div class="RssSummary">',this.fe(d,b),"</div></div>",g].join("")};_exportClass("","FeedReader",i,["fetchFeedAndRender",i.prototype.fc,"startRender",i.prototype.Ce,"resetRenderer",i.prototype.xe,"setMaxEntriesToDisplay",i.prototype.fb,"setMaxSlideshowEntriesToDisplay",i.prototype.gb,"setViewType",i.prototype.hb,"setFeedData",i.prototype.mc,"updateEditSettingsDefaultText",i.prototype.oc,"maybeShowPreviewSnippetAndMedia",
i.prototype.te,"maybeHidePreviewSnippetAndMedia",i.prototype.pe,"maybePopulateSummaryHtml",i.prototype.xa]);_exportSymbols("",["_IG_FR_addWindowResizeHandler",c]);_exportSymbols("",["IG_FR_previewSnippetText",q]);_exportSymbols("",["_IG_FR_getMedia_verifyImage",n]);_exportSymbols("",["IG_FR_getMediaAndRunFunction",k]);_exportSymbols("",["IG_FR_getMedia_runFunctionForState",m]);_exportSymbols("",["_IG_FR_prefetchImage",t]);_exportSymbols("",["_IG_FR_measureFeedDisplayWidthForModuleId",b]);_exportSymbols("",
["_IG_FR_measureWindow",d]);_exportSymbols("",["_IG_FR_feedHasImageMedia",g])})();

