function ig_et_a(a){a=a||document.location.href;var 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?encodeURIComponent(a):escape(a)}function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)}
function _argsUrl(a){var b={};a=ig_et_a(a);for(var 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};window._varz_numerrors=0;function ig_et_(a){this.b=window.onerror;this.a={};for(var b in ig_et_.e)this.a[b]=ig_et_.e[b];if(a)for(b in a)if(ig_et_.e[b])this.a[b]=a[b];this.a.uniqueTimestamp=(new Date).getTime();window.onerror=this.d()}ig_et_.prototype.c=0;ig_et_.e={maxNumErrorsToSend:3,urlToLogTo:"/ig/jserrors"};ig_et_.prototype.f=function(){window.onerror=this.b;this.b=null;this.i=false};ig_et_.prototype.d=function(){var a=this;return function(b,c,d){a.g(b,c,d)}};
ig_et_.prototype.g=function(a,b,c){++window._varz_numerrors;try{var d={};d.msg=a;d.url=b;d.line=c;if(this.b)try{this.b(a,b,c)}catch(e){}this.h(d)}catch(f){this.f();throw f;}};
ig_et_.prototype.h=function(a){this.f();var b=_argsUrl(document.location.href).parent||"";(new Image).src=[b,this.a.urlToLogTo,"?ts=",this.a.uniqueTimestamp,"&sent=",this.c,"&url=",_esc(a.url),"&line=",a.line,"&msg=",_esc(a.msg)].join("");this.c++;if(this.c<this.a.maxNumErrorsToSend){this.b=window.onerror;window.onerror=this.d();this.i=true}};var _IG_errorTracker=new ig_et_;
function ig_a(a){throw a;}var ig_b=true,ig_=null,ig_c=false,ig_d;function ig_e(a){var b=window;if(a!="")for(a=a.split(".");a.length;){var c=a.shift();if(typeof b[c]!="object")b[c]={};b=b[c]}return b}(function(){function a(c,d){c=ig_e(c);for(var e=0;e<d.length;e+=2)c[d[e]]=d[e+1]}function b(c,d,e,f,h){if(f)for(var g=0;g<f.length;g+=2)e.prototype[f[g]]=f[g+1];if(h)for(g=0;g<h.length;g+=2)e[h[g]]=h[g+1];a(c,[d,e])}a("",["_exportSymbols",a]);a("",["_exportClass",b])})();function ig_f(a,b,c){if(!a.className)return ig_c;for(var d=a.className.split(" "),e=[],f=ig_c,h=0;h<d.length;++h)if(d[h]!=b)e.push(d[h]);else{f=ig_b;c&&e.push(c)}a.className=e.join(" ");return f};function ig_g(a){a=a||document.location.href;var 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?encodeURIComponent(a):escape(a)}function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)}
function _argsUrl(a){var b={};a=ig_g(a);for(var 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_h={},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_i.ue);return a.ig_event_hashcode_}function ig_da(a){return"builtin_"+a}function ig_ea(a,b){if(a.indexOf&&a.indexOf("m_")==0)a=a.substring(2);return"builtin_m"+a+"_"+b}function ig_fa(a,b){return"builtin_"+ig_i.fe(a)+"_"+b}function ig_ga(a){return"custom_"+a}
function ig_ha(){for(var a in ig_i.c){for(var b=0;b<ig_i.c[a].length;b++)delete ig_i.c[a][b];if(a in ig_i.oa){var c=ig_i.oa[a];b=c[0];var d=c[1];c=c[2];if(b.removeEventListener)b.removeEventListener(d,c,ig_c);else b.detachEvent&&b.detachEvent("on"+d,c);delete ig_i.oa[a]}}ig_h={}}function ig_ia(a,b,c){for(c=c;c<b.length;c++)a[a.length]=b[c];return a}function ig_ja(a,b){if(a in ig_i.c)for(var c=0;c<ig_i.c[a].length;c++)if(ig_i.c[a][c]===b){ig_i.c[a][c]=ig_;return ig_b}return ig_c}
function ig_ka(a){if(a in ig_i.c)for(var b=0;b<ig_i.c[a].length;b++)if(ig_i.c[a][b]){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];ig_i.c[a][b].apply(this,c)}}function ig_la(a,b){if(!(a in ig_i.Mf))ig_a(Error("Unsupported event type: "+a));a=ig_i.Wa(a);a in ig_i.c||(ig_i.c[a]=[]);ig_i.c[a][ig_i.c[a].length]=b;return ig_i.c[a].length}
function ig_ma(a,b,c){if(!(b in ig_i.Nf))ig_a(Error("Unsupported module event type: "+b));a=ig_i.Xa(a,b);a in ig_i.c||(ig_i.c[a]=[]);ig_i.c[a][ig_i.c[a].length]=c}
function ig_na(a,b,c){var d=ig_i.Ub(a,b);if(!(d in ig_i.c)){ig_i.c[d]=[];var e=function(f){if(!f)f=window.event;ig_i.Fa.apply(a,[d,f])};if(a.addEventListener)a.addEventListener(b,e,ig_c);else if(a.attachEvent)a.attachEvent("on"+b,e);else ig_a(Error("Object {"+a+"} does not support DOM events."));ig_i.oa[d]=[a,b,e]}e=ig_i.c[d].length;if(a===window&&b=="unload"&&e>0){ig_i.c[d][e]=ig_i.c[d][e-1];ig_i.c[d][e-1]=c}else if(ig_h[b])setTimeout(c,10);else ig_i.c[d][e]=c}
function ig_oa(a,b){a=ig_i.Va(a);a in ig_i.c||(ig_i.c[a]=[]);ig_i.c[a][ig_i.c[a].length]=b}function ig_pa(a,b){a=ig_i.Wa(a);return ig_i.Ca(a,b)}function ig_qa(a,b,c){a=ig_i.Xa(a,b);return ig_i.Ca(a,c)}function ig_ra(a,b,c){a=ig_i.Ub(a,b);return ig_i.Ca(a,c)}function ig_sa(a,b){a=ig_i.Va(a);return ig_i.Ca(a,b)}
function ig_ta(a){var b=a=="load"||a=="domload",c=ig_c;if(b){(c=ig_h[a])||_IG_TriggerCustomEvent(a+"_start");ig_h[a]=ig_b}var d=ig_i.R([ig_i.Wa(a)],arguments,1);ig_i.Fa.apply(window,d);b&&!c&&_IG_TriggerCustomEvent(a+"_end")}function ig_ua(){var a=ig_i.R([],arguments,0);setTimeout(function(){ig_i.cd.apply(window,a)},0)}function ig_va(a,b){var c=ig_i.R([ig_i.Xa(a,b)],arguments,2);ig_i.Fa.apply(window,c)}
function ig_wa(){var a=ig_i.R([],arguments,0);setTimeout(function(){ig_i.yb.apply(window,a)},0)}function ig_xa(a){var b=ig_i.R([ig_i.Va(a)],arguments,1);ig_i.Fa.apply(window,b)}function ig_ya(){var a=ig_i.R([],arguments,0);setTimeout(function(){ig_i.ad.apply(window,a)},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_wa(b,a);ig_ua("module"+a,b);break}}
function _IG_delayScript(a,b){function c(){clearTimeout(d);_IG_RemoveEventHandler("load",c);setTimeout(a,0)}var d;b=!isNaN(b)&&b||1E4;d=setTimeout(c,b);_IG_AddEventHandler("load",c)}
var ig_i={ue:0,c:{},oa:{},Mf:ig_aa,Nf:ig_ba,fe:ig_ca,Wa:ig_da,Xa:ig_ea,Ub:ig_fa,Va:ig_ga,Pd:ig_ha,R:ig_ia,Ca:ig_ja,Fa:ig_ka,sd:ig_la,Ob:ig_ma,rd:ig_na,qd:ig_oa,jf:ig_pa,Oc:ig_qa,gf:ig_ra,ff:ig_sa,cd:ig_ta,yb:ig_va,ad:ig_xa,Uf:ig_ua,bd:ig_wa,Tf:ig_ya},_IG_AddEventHandler=ig_i.sd,_IG_AddModuleEventHandler=ig_i.Ob,_IG_AddGadgetEventHandler=ig_i.Ob,_IG_AddDOMEventHandler=ig_i.rd,_IG_AddCustomEventHandler=ig_i.qd,_IG_RemoveEventHandler=ig_i.jf,_IG_RemoveModuleEventHandler=ig_i.Oc,_IG_RemoveGadgetEventHandler=
ig_i.Oc,_IG_RemoveDOMEventHandler=ig_i.gf,_IG_RemoveCustomEventHandler=ig_i.ff,_IG_TriggerEvent=ig_i.cd,_IG_TriggerModuleEvent=ig_i.yb,_IG_TriggerGadgetEvent=ig_i.yb,_IG_TriggerCustomEvent=ig_i.ad,_IG_TriggerDelayedEvent=ig_i.Uf,_IG_TriggerDelayedModuleEvent=ig_i.bd,_IG_TriggerDelayedGadgetEvent=ig_i.bd,_IG_TriggerDelayedCustomEvent=ig_i.Tf;_IG_AddDOMEventHandler(window,"unload",ig_i.Pd);_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(ig_c)});_IG_AddModuleEventHandler(a,"maximize",function(){b(ig_b)})};function ig_k(a,b){function c(){}c.prototype=a.prototype;b.prototype=new c}function _gel(a){return document.getElementById(a)}function _gelstn(a,b){b=b||document;if(a=="*"&&b.all)return b.all;return b.getElementsByTagName?b.getElementsByTagName(a):[]}function _gelsbyregex(a,b,c){a=_gelstn(a,c);c=[];for(var d=0,e;e=a[d];++d)b.test(e.id)&&c.push(e);return c}function _uc(a){return a.toUpperCase()}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 a.split("_")[2]}
function _showUserPrefs(a,b){if(b){ig_l("m_"+a+"_editbox","none");ig_l("m_"+a+"_aclbox","block");ig_j("socialedit","m_"+a)}else{ig_l("m_"+a+"_editbox","");ig_l("m_"+a+"_aclbox","none");ig_j("edit","m_"+a)}if(a=_gel("m_"+a))a.className="modbox_e"}function _closeUserPrefs(a){ig_l("m_"+a+"_editbox","none");ig_l("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(c){window.eval(c);eval(b)})}function _IG_LoadScriptCallback(a,b){_sendx(a,function(c){window.eval(c);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)ig_a(new Error("Document is missing <head> element.  Failed to load CSS."));var c=document.createElement("style");c.type="text/css";if(c.styleSheet)c.styleSheet.cssText=a;else 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_m();e.open(d?"POST":"GET",a,ig_b);if(b)e.onreadystatechange=function(){if(e.readyState==4)b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d||ig_)}function ig_m(){var a=ig_;if(window.ActiveXObject)(a=new ActiveXObject("Msxml2.XMLHTTP"))||(a=new ActiveXObject("Microsoft.XMLHTTP"));else if(window.XMLHttpRequest)a=new XMLHttpRequest;return a}
var _et="",_brand="",_bmod="",_source="",_ae="",_pid="",_authpath="",_prefid="",_setp_url="/ig/setp",_hl="",_old_html=ig_b,_use_old_feed_styles=ig_b,ig_n=ig_,ig_o=ig_;function ig_p(a,b,c){var d=a.elements[b];if(d)d.value=c;else{d=document.createElement("input");d.type="hidden";d.name=b;d.value=c;a.appendChild(d)}}function _args(){return _argsUrl(document.location.href)}function _IG_isIE(){return/msie/i.test(navigator.userAgent)}
function _qs(a){var b={pid:1,host:1,gl:1,hl:1,enable_flag:1,e:1,expid:1};a=a||_args();var c=["?"];for(var d in a)b[d]&&c.push(d,"=",_esc(a[d]),"&");return c.join("")}var ig_za=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_q(a,b){a=ig_za.exec(a);var c=[a[1],"?",a[2]];c.push(a[2]?"&":"",b.join("&"),a[3]);return c.join("")}function ig_Aa(a){var b={url:document.location,et:_et,brand:_brand,bmod:_bmod,source:_source,ae:_ae,pid:_pid,ap:_authpath,prefid:_prefid};for(var c in b)b[c]&&ig_p(a,c,b[c])}
function _submit_form(a,b){a.action=_setp_url+_qs()+b;a.method="get";ig_Aa(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_Aa(a);ig_p(a,"m_"+b+"_t",c);c=_args();b=c.host;c=c.hl;b&&ig_p(a,"host",b);c&&ig_p(a,"hl",c);return ig_b}var ig_r=[],ig_s=ig_c;
function ig_Ba(){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_Ca(){if(ig_r.length==0)ig_s=ig_c;else{ig_s=ig_b;var a=_setp_url+_qs()+ig_Ba(),b=ig_r.join("&");ig_r=[];var c=a.length+b.length>=1800;if(c)_sendx(a,ig_Da,ig_c,b);else{a+="&"+b;_sendx(a,ig_Da,ig_c,ig_)}}}
function ig_Da(){_IG_TriggerDelayedEvent("xsetpdone");ig_Ca()}function _xsetp(a){ig_r.push(a);ig_s||ig_Ca()}function _xsetp_is_done(){return ig_r.length==0&&ig_s==ig_c}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+_qs()+ig_Ba()+"&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){b=b||"/ig";ig_t(b+_qs()+"t="+a)}
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){_sendx("/ig/ui?xp=v2&action=maximizeMod&from=selectMod&mid="+b);window.nd?ig_t("/ig"+_qs()+"t="+a+"&g="+b):ig_t("/ig"+_qs()+"t="+a+"#max"+b)}function ig_t(a){window.location.href=a}function ig_l(a,b){if(a=_gel(a))a.style.display=b}_exportSymbols("",["setDisplayStyle",ig_l]);
function _ssbc(a,b,c){for(var d=_gelstn("*"),e=0,f;f=d[e];e++)if(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);if(!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){if(typeof a.currentStyle!="undefined")a=a.currentStyle;else if(document.defaultView.getComputedStyle!="undefined")a=document.defaultView.getComputedStyle(a,ig_);else return"";return a[b]}function ig_u(){for(var a=_IG_MD,b=0;b<arguments.length;++b){a=a[arguments[b]];if(a==ig_)return ig_}return 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_m]);if(!window.FLAG_isInSplitJS)window.FLAG_isInSplitJS=ig_c;function ig_v(a){this.A=[];this.jb=a;this.ta("_IG_DD_open");this.ta("_IG_hoverHeader");this.ta("_IG_hoverModule");this.O("_IG_DD_create");this.O("_IG_DD_init");this.O("_IG_initDrag");this.O("_IG_PushHistory");this.O("_IG_PU_MakeDialogButton")}ig_v.prototype.Mc=ig_c;ig_v.prototype.cc=ig_c;ig_v.jd=1E4;ig_d=ig_v.prototype;
ig_d.O=function(a){if(this.jb){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_e(a.substring(0,c));a=a.substring(c+1)}if(b[a]&&!b[a].zc)ig_a(new Error(a+" is already defined."));b[a]=this.Ld(a)}};ig_d.ta=function(a){if(this.jb){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_e(a.substring(0,c));a=a.substring(c+1)}b[a]=function(){}}};ig_d.Ld=function(a){var b=this;function c(){for(var d=[],e=0;e<arguments.length;e++)d.push(arguments[e]);b.A.push([a,this,d])}c.zc=ig_b;return c};
ig_d.Qb=function(){if(this.A.length!=0){var a=this.A.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.A.length>0){var f=this;setTimeout(function(){f.Qb()},0)}else{this.cc=ig_b;this.hf()}}};
ig_d.Hd=function(){for(var a=[],b=0;b<this.A.length;b++){var c=this.A[b][0];if(!(c instanceof Function))if(window[c].zc){a.push(c);this.A.splice(b,1);b--}}var d=this;setTimeout(function(){d.Qb()},0);if(a.length>0)ig_a(new Error("The following functions were not found in the post load file: "+a.join(", ")))};ig_d.hf=function(){for(var a=_gelstn("*"),b=0;b<a.length;b++){var c=a[b];c.className&&c.className.split&&ig_f(c,"disabled",ig_)}};
ig_d.Me=function(a,b){b=this.Le(b);_IG_AddEventHandler(a,b);setTimeout(b,ig_v.jd)};ig_d.Le=function(a){var b=this;return function(){if(!b.Mc){_IG_LoadScriptXDomain(a,"window._IG_DD_position",function(){b.Hd()});b.Mc=ig_b}}};ig_d.Dd=function(a){this.cc||!this.jb?a():this.A.push([a,ig_,[]])};var ig_w;ig_w||(ig_w=new ig_v(window.FLAG_isInSplitJS));function _IG_callPostLoad(a){ig_w.Dd(a)}function _IG_deferFunction(a){ig_w.O(a)}function _IG_ignoreFunction(a){ig_w.ta(a)}
function _IG_loadPostloadJS(a,b){ig_w.Me(a,b)};function _edit(a,b){function c(){b&&b();_sendx("/ig/ui?action=editsettings&m="+a);ig_j("edit","m_"+a)}var d=ig_Ea[a];if(d){d();c()}else _IG_LL_load("m_"+a+"_editbox",{mid:a},function(){_showUserPrefs(a,ig_c);c()});return ig_c}var ig_Ea={};function _IG_AddCustomEditHandler(a,b){ig_Ea[a]=b}function _cedit(a){_closeUserPrefs(a);var b=_gel("m_"+a+"_form");if(b){b.reset();_sendx("/ig/ui?action=canceledit&m="+a);ig_j("canceledit","m_"+a);return ig_c}}
function _uhc(a,b,c){b="m_"+a+"_"+b;var d=_gel(b);if(!d){d=document.createElement("INPUT");d.type="hidden";d.disabled=ig_b;d.name=b;_gel("m_"+a+"_form").appendChild(d)}d.value=c;d.disabled=ig_c}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){if(typeof a=="object")a=a.id.replace("m_","");else if(typeof a=="string")a=a.replace("m_","");if(typeof _IG_MD!="undefined")return _IG_MD.m[a].ti;else return(a=_gel("m_"+a+"_title"))?_striptags(a.innerHTML):""}function _get_module_title_dir(a){if(typeof a=="object")a=a.id.replace("m_","");else if(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]);a=a;b=[];c=/^m_[0-9]+$/;for(var d=0;d<a.length;d++){b[d]=[];for(var e=b[d],f=0;f<a[d].childNodes.length;f++){var h=a[d].childNodes[f];h.tagName=="DIV"&&h.style.display!="none"&&h.id&&c.test(h.id)&&e.push(h)}}if(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=ig_c;function _del_is_done(){return _xsetp_is_done()&&ig_x}
function _del(a,b,c){ig_x=ig_c;_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_l("undo_msg","none");ig_l("undo_restore_msg","none")}ig_l("m_"+a,"none");ig_n=a;ig_o=c;ig_l(c,"");_mod=ig_b;ig_j("delete","m_"+a);ig_x=ig_b;return ig_c}
function _undel(){if(ig_n!=ig_){var a="m_"+ig_n,b=_gel(a);if(b){ig_l(a,"block");_xsetp("undel")}ig_l("undel_msg","none");ig_o!=ig_&&ig_l(ig_o,"none");ig_o=ig_n=ig_;ig_j("undelete",a)}}function _isModuleZipped(a){if(a=_gel("m_"+a+"_b"))return a.style.display=="none";return ig_c}
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 ig_c}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=ig_c,ig_Fa=ig_c,_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":""];if(_mod){a[a.length]=["unmod","display","none"];a[a.length]=["mod","display",""]}else{a[a.length]=["mod","display","none"];a[a.length]=["unmod","display",""]}a=a;for(var b=_gelstn("*"),c=0,d;d=b[c];c++)for(var e=0;e<a.length;e++)if(d.className==a[e][0])d.style[a[e][1]]=a[e][2];_IG_callPostLoad(_init_drag_drop)}
function _init_drag_drop(){if(_pl)if(_cbp||_uli)if(!ig_Fa&&!_mpnlo){_IG_TriggerCustomEvent("initdrag",_table,_tabs);ig_Fa=ig_b}}var ig_y=0;
function _tp(a){ig_y>0&&clearInterval(ig_y);_pnlo=a;_mod=ig_b;_xsetp("pnlo="+(a?1:0));_upc();var b=_gel("cpnl"),c=_gel("cpnlc"),d=b.offsetWidth,e,f;if(a){e=c.offsetWidth;f="visible";ig_l("ehdr","");ig_l("nhdr","none")}else{e=1;f="hidden";ig_l("ehdr","none");ig_l("nhdr","")}b.style.overflow="hidden";a=100;var h=10,g=0;ig_y=setInterval(function(){var k=g/h,j=d+(e-d)*k;b.style.width=j+"px";g++;if(k>=1){clearInterval(ig_y);ig_y=0;b.style.width=e+"px";b.style.overflow=f}},a/h);return ig_c}
function _ts(a,b){a=_gel(a+b);if(a.className=="mlist_open"){a.className="mlist_closed";a="pnlsc"}else{a.className="mlist_open";a="pnlso"}_xsetp(a+"="+_esc(b));return ig_c}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_Ga=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/,ig_z=ig_b;function _find_feed_is_done(){return ig_z}
function _find_feed(a){ig_z=ig_c;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_l("ffresults","none");ig_l("ffloading","block");_sendx("/ig/feeds"+_qs()+"q="+_esc(a)+"&page="+_esc(b),ig_Ha);return ig_c}
function ig_Ha(a){ig_l("ffloading","none");ig_l("ffresults","block");if(a.length>0&&a.charAt(0)=="<"){if(_gel("ffresults"))_gel("ffresults").innerHTML=a}else{a.match(ig_Ga)!=ig_;eval(a)}ig_z=ig_b}function _add_remote_module(a,b,c){_sendx("/ig/feeds"+_qs()+"module=1&q="+_esc(a),function(d){b();d=d;var e=c,f=/_add_m_confirm\((\"[^"]+\"),\s*(\"[^"]+\")(,\s*\"[^"]+\")?\)/,h=/^alert\(\"[^"]+\"\)$/;if(d.match(ig_Ga)!=ig_||d.match(h)!=ig_){if(e)d=d.replace(f,"_add_m($1$3)");eval(d)}});return ig_c}
function _ListApp(a,b,c){this.items=a;this.na=[];this.Dc=b;this.ba=c;this.Ra="m_"+c+"_App";this.fc=_gel("m_"+c+"_disp");this.Jf=ig_b;this.U=_gel("m_"+c+"_val");this.H=_gel("m_"+c+"_name");if(!this.H)this.H=this.U;if(this.H){this.$b=this.H.value;this.bc=this.U.value}this.Nc=[].concat(this.items)}ig_d=_ListApp.prototype;ig_d.reset=function(){this.items=[].concat(this.Nc);this.na=[];this.refresh()};ig_d.sort=function(a,b){return a.Ua(b)};
ig_d.df=function(){var a="";if(_old_html)a="<table cellspacing=0 cellpadding=0 border=0>";for(var b="",c=this.items,d=0;d<c.length;d++)if(c[d]){a+=_old_html?"<tr><td nowrap><font size=-1>"+c[d].gb()+'</font></td><td><a href="#" onclick="'+this.Ra+"._del("+d+');return false"><img src="/ig/images/x.gif" width=16 height=13 border=0></a></td></tr>':'<a href="#" onclick="'+this.Ra+"._del("+d+');return false" class="delbox listdelbox"></a>'+c[d].gb()+'<div class="c"></div>';if(parseInt(c[d].Pa,10)<0)b+=
c[d].Ha(d)}else{this.items.splice(d,1);d--}c=this.na;var e="";for(d=0;d<c.length;d++)if(parseInt(c[d].Pa,10)>=0)e+=","+c[d].Pa;a+=this.nc(b,e);return a};ig_d.nc=function(a,b){var c="<input type=hidden name=m_"+this.ba+'_del value="'+b+'"><input type=hidden name=m_'+this.ba+'_add value="'+a+'">';if(_old_html)c="</table><input type=hidden name=m_"+this.ba+'_del value="'+b+'"><input type=hidden name=m_'+this.ba+'_add value="'+a+'">';return c};
ig_d.refresh=function(){this.Jf&&this.items.sort(this.sort);this.fc.innerHTML="<font size=-1>"+this.df()+"</font>"};ig_d.add=function(a,b){a||(a=_trim(this.H.value));b||(b=_trim(this.U.value));a=new this.Dc(a,b,-1);if(a.mb()){this.items[this.items.length]=a;this.refresh();this.H.value=this.$b;this.U.value=this.bc}};ig_d._del=function(a){this.na[this.na.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);for(var h in d)this[h]=d[h];typeof c=="string"&&this.$e(c);this.cf=a;this.lg=b;this.Ra="m_"+e+"_"+a+"_App";this.fc=_gel("m_"+e+"_"+a+"_disp");this.H=this.U=_gel("m_"+e+"_"+a+"_val");this.bc=this.$b="";this.nc=_PrefListApp_get_tail}function _PrefListApp_get_tail(){var a="</table>";_gel("m_"+this.ba+"_"+this.cf).value=this.Kf();return a}
_PrefListApp.prototype.$e=function(a){if(a.length!=0){a=_IG_Prefs.Nb(a);for(var b=[],c=0;c<a.length;c++){var d=new this.Dc(a[c],a[c],-1);b[b.length]=d}this.items=b;this.Nc=[].concat(b)}};_PrefListApp.prototype.Kf=function(){for(var a=[],b=0;b<this.items.length;b++)a[a.length]=this.items[b].F;return _IG_Prefs.Lb(a)};function _ListItem(a,b,c){this.p=a;this.F=b;this.Pa=c}_ListItem.prototype.mb=function(){return this.p!=""};_ListItem.prototype.Ua=function(){return 0};_ListItem.prototype.gb=function(){return _hesc(this.p)};
_ListItem.prototype.Ha=function(){return"&"+_esc(this.p)+"="+_esc(this.F)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_k(_ListItem,_BMListItem);ig_d=_BMListItem.prototype;ig_d.mb=function(){return _ListItem.prototype.mb.call(this)&&this.p!="http://"};ig_d.eb=function(){if(this.F)return this.F;else{var a=this.p;if(a.indexOf("http://")==0)a=a.substring(7);if(a.indexOf("www.")==0)a=a.substring(4);return a}};
ig_d.gb=function(){return'<a href="'+this.p+'" target=bmwindow>'+_hesc(this.eb())+"</a>"};ig_d.Ha=function(a){return"&b"+a+"="+_esc(this.p)+"&t"+a+"="+_esc(this.F)};ig_d.Ua=function(a){var b=_uc(this.eb());a=_uc(a.eb());if(b==a)return 0;return b<a?-1:1};function _WthrListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_k(_ListItem,_WthrListItem);_WthrListItem.prototype.Ha=function(){var a="&"+_esc(this.p);if(this.F)a+="="+_esc(this.F);return a};
function _FListItem(a,b,c,d){_ListItem.call(this,a,b,c);this.ja=d||0}ig_k(_ListItem,_FListItem);_FListItem.prototype.Ha=function(){return"&"+_esc(this.p)};_FListItem.prototype.Ua=function(a){var b=this;if(b.ja<a.ja)return-1;if(b.ja>a.ja)return 1;b=_uc(b.p);a=_uc(a.p);if(b<a)return-1;if(b>a)return 1;return 0};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];if(c)c(b);else{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 _enableGS(a,b){a.action="https://www.google.com/accounts/CheckCookie";a.method="get";ig_p(a,"service",b);ig_p(a,"continue",document.location);ig_p(a,"skipvpage",ig_b);return ig_b};function _reload(a,b){var c=a-(new Date).getTime();if(c>1E3)setTimeout("_reload("+a+")",c);else if(b)document.location.replace(ig_Ja(document.location.href,document.location.pathname));else{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];if(b=="/")d+="ig";d+="?";if(b=c[2])d+=b;if(!_argsUrl(a).refresh){if(b)d+="&";d+="refresh=1"}return d}
var ig_D={db:0,$c:1800,pb:ig_,ob:ig_,Qa:ig_b,Z:ig_,gd:ig_,Rb:600,ga:function(){ig_D.db=(new Date).getTime()+ig_D.$c*1E3},Ze:function(){if((new Date).getTime()>ig_D.db)window.gTalkNotifier&&window.gTalkNotifier._isAnyMoleOpen&&window.gTalkNotifier._isAnyMoleOpen()?ig_D.ga():_testConnection(function(){_reload(ig_D.db,ig_D.gd)},ig_D.ga)},rb:function(a){ig_D.ga();ig_D.pb&&ig_D.pb(a)},qb:function(a){ig_D.ga();ig_D.ob&&ig_D.ob(a)}};
function _IG_disable_refresh_cycle(){ig_D.Qa=ig_c;_IG_suspend_refresh_cycle()}function _IG_suspend_refresh_cycle(){if(ig_D.Z!=ig_){clearInterval(ig_D.Z);ig_D.Z=ig_}}function _IG_restart_refresh_cycle(){!ig_D.Qa||ig_D.Z!=ig_||ig_La()}
function _IG_start_refresh_cycle(a,b,c){if(ig_D.Qa){ig_D.pb=document.onmousedown;ig_D.ob=document.onkeyup;ig_D.$c=a;ig_D.Rb=b;if(c)ig_D.gd=c;if(document.addEventListener){document.addEventListener("keyup",ig_D.qb,ig_c);document.addEventListener("mousedown",ig_D.rb,ig_c)}else if(document.attachEvent){document.attachEvent("onkeyup",ig_D.qb);document.attachEvent("onmousedown",ig_D.rb)}else{document.onkeyup=ig_D.qb;document.onmousedown=ig_D.rb}ig_La()}}
function ig_La(){ig_D.ga();ig_D.Z=setInterval(ig_D.Ze,ig_D.Rb*1E3)}function _testConnection(a,b,c){var d=ig_m(),e="/ig/nop?t="+(new Date).getTime();c||(c=3500);d.open("GET",e,ig_b);d.onreadystatechange=function(){if(d.readyState==4&&a)if(200<=d.status&&d.status<300||d.status==1223){b=ig_;a()}};try{d.send(ig_)}catch(f){}function h(){if(b){a=ig_;b()}}setTimeout(h,c)};function _IG_GetCachedUrl(a,b){b=typeof b=="object"?b:{};var c=window.location.href,d="/ig/proxy?",e=/^http:\/\/[^\/]+\/ig\/ifr[?]/;if((e=e.exec(c))||c.indexOf("http://www.google.cn/ig/china")==0){if(window.location.host!="p.gmodules.com"&&_et)d+="et="+_esc(_et)+"&"}else d="http://p.gmodules.com/ig/proxy?";if(!isNaN(b.refreshInterval)&&b.refreshInterval>=0)d=_appendMaxAgeParameter(d,b.refreshInterval);return d+"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){var b=arguments;return function(){for(var c=[],d=0;d<arguments.length;d++)c[c.length]=arguments[d];for(d=1;d<b.length;d++)c[c.length]=b[d];a.apply(ig_,c)}};var _IG_Layouts={};_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){b[c].checked=ig_c;if(e.src.indexOf("_highlight")!=-1)e.src=e.src.substring(0,e.src.indexOf("_highlight"))+".gif"}else{b[c].checked=ig_b;if(e.src.indexOf("_highlight")==-1)e.src=e.src.substring(0,e.src.indexOf(".gif"))+"_highlight.gif"}}};var ig_E=function(){var a=ig_c,b=[],c=ig_,d=ig_;return{init:function(){},load:function(e,f,h){if(_gel(e))h(f);else{b.push({id:e,args:f,callback:h});if(!a)if(c){d(c,b);b=[]}else{_sendx("/ig/ui?action=lazy&id="+e,ig_,ig_c,ig_);if(!(c||a)){a=ig_b;_IG_LoadScript("/ig/ll"+window.location.search,"")}}}},Ne:function(e,f){c=e;d=f;a=ig_c;d(c,b);b=[]},pg:function(){a=ig_c;b=[];d=c=ig_}}}(),_IG_LL_init=ig_E.init,_IG_LL_load=ig_E.load,_IG_LL_loaded=ig_E.Ne;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("remote_iframe_"+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 h=d.t[f.t];if(h)h.m[f.i]=f}if(a.ct!=ig_&&b.t)b.ct=b.t[a.ct];a=a;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(j){return j<10?"0"+j:j}function b(j){e.lastIndex=0;return e.test(j)?'"'+j.replace(e,function(l){var m=g[l];if(typeof m==="string")return m;return"\\u"+("0000"+(+l.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+j+'"'}function c(j,l){var m,n,i=f,o,p=l[j];if(p&&typeof p==="object"&&typeof p.toJSON==="function")p=p.toJSON(j);if(typeof k==="function")p=k.call(l,j,p);switch(typeof p){case "string":return b(p);case "number":return isFinite(p)?String(p):"null";case "boolean":case "null":return String(p);
case "object":if(!p)return"null";f+=h;o=[];if(typeof p.length==="number"&&!p.propertyIsEnumerable("length")){n=p.length;for(j=0;j<n;j+=1)o[j]=c(j,p)||"null";l=o.length===0?"[]":f?"[\n"+f+o.join(",\n"+f)+"\n"+i+"]":"["+o.join(",")+"]";f=i;return l}if(k&&typeof k==="object"){n=k.length;for(j=0;j<n;j+=1){m=k[j];if(typeof m==="string")if(l=c(m,p))o.push(b(m)+(f?": ":":")+l)}}else for(m in p)if(Object.hasOwnProperty.call(p,m))if(l=c(m,p))o.push(b(m)+(f?": ":":")+l);l=o.length===0?"{}":f?"{\n"+f+o.join(",\n"+
f)+"\n"+i+"}":"{"+o.join(",")+"}";f=i;return l}}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,h,g={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},k;return{stringify:function(j,l,m){l=l;m=m;var n;h=f="";if(typeof m==="number")for(n=0;n<m;n+=1)h+=" ";else if(typeof m==="string")h=m;if((k=l)&&typeof l!=="function"&&(typeof l!=="object"||typeof l.length!=="number"))ig_a(new Error("JSON.stringify"));return c("",{"":j})},parse:function(j,l){function m(i,o){var p,r,q=i[o];if(q&&typeof q==="object")for(p in q)if(Object.hasOwnProperty.call(q,p)){r=m(q,p);if(r!==
undefined)q[p]=r;else delete q[p]}return n.call(i,o,q)}var n=l;d.lastIndex=0;if(d.test(j))j=j.replace(d,function(i){return"\\u"+("0000"+(+i.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(j.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+j+")");return typeof n==="function"?m({"":j},""):j}ig_a(new Error("JSON.parse"))}}}());
ig_G.parse=function(){var a=ig_G.parse;return function(b,c){try{return a(b,c)}catch(d){return ig_c}}}();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.Lc=a;this.l[this.l.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.l.length-1;d>=0;d--){var e=b.l[d];if(e&&!e.Lc){e.parentNode.removeChild(e);if(window.ActiveXObject){b.l[d]=ig_;b.l.splice(d,1)}else{e.Lc=ig_b;c=e;break}}}c=c?c:b.Md(ig_b);c.src=a;document.body.appendChild(c)},0)}}function ig_Qa(){for(var a=0;a<this.l.length;a++){this.l[a].onload=ig_;this.l[a]=ig_}this.l.length=0;this.l=[]}
function ig_Ra(){for(var a=0;a<this.l.length;a++){var b=this.l[a];b&&b.parentNode.removeChild(b)}}function ig_Sa(){this.l=[];this.Md=ig_Oa;this.vc=ig_Pa;this.clear=ig_Qa;this.gc=ig_Ra}function ig_Ta(a,b){_IFPC.ea[a]=b}function ig_Ua(a){delete _IFPC.ea[a]}
function ig_Va(a,b,c,d,e,f,h,g){if(!_IFPC.ab){var k=4095-d.length;k=parseInt(k/3,10);if(typeof h=="undefined")h=ig_b;if(g){h={s:b,a:c,f:"..",t:window._isk[a.split("_")[2]]};a=[a,"..",_IFPC.Ta,1,1,encodeURIComponent(ig_G.stringify(h))].join("&");_IFPC.sa.vc(d+"#"+a)}else{c=c.slice(0);c.unshift(_IFPC.ef(e));c.unshift(f);c.unshift(b);c.unshift(a);b=_IFPC.hc(c);c=parseInt(b.length/k,10);if(b.length%k>0)c+=1;for(e=0;e<c;e++){f=b.substr(e*k,k);f=[a,_IFPC.Ta,c,e,f,h];_IFPC.sa.vc(d+"#"+_IFPC.hc(f))}}_IFPC.Ta++}}
function ig_Wa(){_IFPC.ea={};_IFPC.L={};_IFPC.sa.clear()}function ig_Xa(){if(!_IFPC.ab){_IFPC.ab=ig_b;_IFPC.sa.gc();_IFPC.clear()}}
function ig_Ya(a){var b=_IFPC.Za(a)[0],c=ig_;try{c=window.parent.frames[b]}catch(d){}try{if(!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;if(!c||c._IFPC==undefined)c=ig_;else{b=function(){c._IFPC.handleRequest(a)};window.ActiveXObject?b():c.setTimeout(b,0)}}
function ig_Za(a){a=_IFPC.Za(a);var b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift();a=a.shift();b=b+"_"+c;_IFPC.I[b]||(_IFPC.I[b]=[]);_IFPC.I[b].push([e,f]);if(_IFPC.I[b].length==d){_IFPC.I[b].sort(function(g,k){return parseInt(g[0],10)-parseInt(k[0],10)});f="";for(e=0;e<d;e++)f+=_IFPC.I[b][e][1];_IFPC.I[b]=ig_;e=_IFPC.Za(f);b=e.shift();c=e.shift();d=e.shift();f=e.shift();var h=_IFPC.ne(c);if(h){a=h.apply(ig_,e);if(_IFPC.Ee(f)){a.unshift(f);_IFPC.call(b,_IFPC.Bb,a,d,ig_,"")}}else if(a)ig_a(new Error("Service "+
c+" not registered."))}}function ig__a(a){return _IFPC.ea.hasOwnProperty(a)?_IFPC.ea[a]:ig_}function ig_0a(a){var b="";if(a&&typeof a=="function"){b=_IFPC.ke();_IFPC.L[b]=a}return b}function ig_1a(a){if(_IFPC.L.hasOwnProperty(a))_IFPC.L[a]=ig_}function ig_2a(a){if(a&&_IFPC.L.hasOwnProperty(a))return _IFPC.L[a];return ig_}function ig_3a(){return _IFPC.Ab+_IFPC.Ed++}function ig_4a(a){return(a+"").indexOf(_IFPC.Ab)==0}
function ig_5a(a){a=a.split("&");for(var 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.de(a);if(b){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(ig_,c);_IFPC.Wf(a)}else ig_a(new 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=ig_b;if(window.FLAG_use_rpc_js){}else{_IFPC={registerService:ig_Ta,unregisterService:ig_Ua,call:ig_Va,clear:ig_Wa,gc:ig_Xa,og:ig_Ya,mg:ig_Ya,handleRequest:ig_Za,Ab:"cbid",Bb:"ifpc_callback",sa:new ig_Sa,I:{},ea:{},L:{},Ed:0,Ta:0,ab:ig_c,ne:ig__a,ef:ig_0a,Wf:ig_1a,de:ig_2a,ke:ig_3a,Ee:ig_4a,Za:ig_5a,hc:ig_6a,Fd:ig_7a};_IFPC.registerService(_IFPC.Bb,_IFPC.Fd);}}
ig_8a(document.location.href);function _IG_Prefs_PrefsData(){}_IG_Prefs_PrefsData.prototype.value=ig_;
function _IG_Prefs(a){a=a;if(typeof remote_modules!=="object"){a=(a=_args().mid)?a:0;_IG_Prefs._parseURL(a);_IG_Prefs.va[a]=ig_c}else{if(!a)ig_a(new Error("Module ID is required as first argument to _IG_Prefs() for inlined modules"));_IG_Prefs.va[a]=ig_b}_IG_Prefs.g[_IG_Prefs.D+a]||(_IG_Prefs.g[_IG_Prefs.D+a]={});this.g=_IG_Prefs.g[_IG_Prefs.D+a];this.d=a;this.kg=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/}ig_d=_IG_Prefs.prototype;
ig_d.Y=function(a,b){if(b==undefined)b=ig_;a=this.g[a];if(a==undefined)return b;a=a.value;return a!=undefined?a:b};ig_d.fb=function(a,b){return this.Y(_IG_Prefs.k+a,b)};ig_d.getString=function(a){var b="";a=this.fb(a,b);return a!=ig_?a+"":b};ig_d.ge=function(a){var b=0;a=parseInt(this.fb(a,b),10);return isNaN(a)?b:a};ig_d.getBool=function(a){a=this.getString(a);return a==="true"||!!parseInt(a,10)};ig_d.ce=function(a){return _IG_Prefs.Nb(this.fb(a,""))};ig_d.tf=function(a,b){this.set(a,_IG_Prefs.Lb(b))};
ig_d.ee=function(){return this.getString(".country")};ig_d.he=function(){return this.getString(".lang")};ig_d.ie=function(a){return this.Y(_IG_Prefs.Fb+a,"")+""};ig_d.set=function(){var a=Math.floor(arguments.length/2);if(a!=0){for(var b=[],c=0;c<a;++c){var d=arguments[c*2],e=_IG_Prefs.k+d,f=arguments[c*2+1]+"";this.Zf(e,f)&&b.push(d,f)}if(b.length!=0)_IG_Prefs.va[this.d]?_IG_Prefs._setP(this.d,b):_IFPC_SetPref(b)}};
function ig_9a(a){var b="todos",c=_ig_gmid_(a);b=(new _IG_Prefs(Number(c))).getString(b);if(navigator.userAgent.indexOf("MSIE")!=-1&&b.length>1E3){c=Math.ceil(b.length/1E3);for(var d=0;d<c;d++){var e=b.substr(d*1E3,1E3);ig_$a(a,e,d,c)}}else ig_$a(a,b)}function ig_$a(a,b,c,d){var e=_ig_gmid_(a);b=[b];d&&b.push(c,d);_IFPC.call(a,"populate_todos_pref",b,window._ifpc_relay_url[e],ig_,"http://"+window.location.host+"/ig/images/rpc_relay.html",ig_b,ig_b)}
window._IG_CONTAINER&&_IFPC.registerService("get_todos_pref_for_migration",ig_9a);_IG_Prefs.prototype.le=function(){var a=["__module_id__="+this.d];for(var b in this.g)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.g[b].value));return a.join("&")};_IG_Prefs.prototype.dump=function(){document.write("<pre>");for(var a in this.g)document.writeln(a+" = "+this.Y(a,ig_));document.write("</pre>")};
_IG_Prefs.prototype.Zf=function(a,b){var c=this.g[a];if(c&&c.value===b)return ig_c;if(c)c.value=b;else{c=new _IG_Prefs_PrefsData;c.value=b;this.g[a]=c}return ig_b};_IG_Prefs.va={};_IG_Prefs.g={};_IG_Prefs.D="m_";_IG_Prefs.k="up_";_IG_Prefs.md="up_";_IG_Prefs.Fb="msg_";_IG_Prefs.Ka={};_IG_Prefs.Ka[_IG_Prefs.md]="value";_IG_Prefs.eg=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.va[a]=ig_c;for(var b={},c=ig_g(),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);var h=ig_c;for(var g in _IG_Prefs.Ka)if(f.indexOf(g)===0){h=ig_b;f=f.substring(g.length);f=_IG_Prefs.k+f;b[f]=b[f]?b[f]:new _IG_Prefs_PrefsData;if(g===_IG_Prefs.dg||g===_IG_Prefs.cg)e=e=="true";b[f][_IG_Prefs.Ka[g]]=e;break}if(!h)if(f.indexOf(_IG_Prefs.Fb)===0)_IG_Prefs.K(a,
f,e);else if(f===".lang"||f===".country")_IG_Prefs.K(a,_IG_Prefs.k+f,e)}}if(window.IDIModule){b=window.IDIModule.getPrefs();for(d in b)_IG_Prefs.K(a,d,b[d])}else for(f in b)_IG_Prefs.K(a,f,b[f].value)};_IG_Prefs.K=function(a,b,c){a=_IG_Prefs.D+a;if(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.Bf=function(a,b,c){var d=_IG_Prefs.D+a;if(typeof _IG_Prefs.g[d]!=="object")_IG_Prefs.K(a,b,c);else if(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.K(a,b[c][0],b[c][1])};_IG_Prefs.Lb=function(a){var b=a.length&&a.join;if(b){b=[];for(var c=0;c<a.length;++c)b.push(a[c].replace(/\|/g,"%7C"));return b.join("|")}else return a};
_IG_Prefs.Nb=function(a){a=a.length>0?a.split("|"):[];for(var b=0;b<a.length;++b)a[b]=a[b].replace(/%7C/g,"|");return a};
_IG_Prefs.W=function(a,b){a=_IG_Prefs.D+a;a=_IG_Prefs.g[a];if(a==ig_)return b;b=b.split("#");var c=b[0].split("?"),d=c;if(b.length>1&&("&"+b[1]).indexOf("&"+_IG_Prefs.k)!==-1&&(c.length===1||("&"+c[1]).indexOf("&"+_IG_Prefs.k)===-1))d=b;var e=[];if(d.length>1&&d[1].length!==0)e=d[1].split("&");for(var f=0;f<e.length;++f)e[f].indexOf(_IG_Prefs.k)===0&&e.splice(f--,1);for(var h in a)h.indexOf(_IG_Prefs.k)!==0||h.indexOf(_IG_Prefs.k+".lang")===0||h.indexOf(_IG_Prefs.k+".country")===0||h.indexOf(_IG_Prefs.k+
"synd")===0||e.push(_esc(h)+"="+_esc(a[h].value));d[1]=e.join("&");b[0]=c.join("?");return b.join("#")};_IG_Prefs._setPrefs=function(a,b){for(var c=Math.floor(b.length/2),d=0;d<c;++d){var e=_IG_Prefs.k+b[d*2],f=b[d*2+1];_IG_Prefs.Bf(a,e,f)}};_IG_Prefs._setP=function(a,b){if(_args().synd!=="open"){for(var c=Math.floor(b.length/2),d=[],e=0;e<c;++e){var f=_IG_Prefs.k+b[e*2],h=b[e*2+1];d.push(_IG_Prefs.D+a+"_"+f+"="+_esc(h))}d.length!==0&&_xsetp(d.join("&"))}};
_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",_IG_Prefs.prototype.getString,"getInt",_IG_Prefs.prototype.ge,"getBool",_IG_Prefs.prototype.getBool,"getArray",_IG_Prefs.prototype.ce,"setArray",_IG_Prefs.prototype.tf,"getLang",_IG_Prefs.prototype.he,"getCountry",_IG_Prefs.prototype.ee,"getMsg",_IG_Prefs.prototype.ie,"getPreloadedString",_IG_Prefs.prototype.le,"set",_IG_Prefs.prototype.set,"dump",_IG_Prefs.prototype.dump]);function _IG_FR_getFeed(a){return window["FEED"+a]||{}}
function _IG_FR_toggle(a,b,c,d){c=c||"";d=d||"";var e=_gel("ft_"+a+"_"+b),f=_gel("fb_"+a+"_"+b),h=_gel("ftl_"+a+"_"+b);if(f.style.display=="block")ig_ab(e,f,h,c);else{var g=_IG_FR_getFeed(a);if(!g.has_entries&&!g.is_fetching){g.is_fetching=ig_b;_IG_FetchFeedAsJSON(g.url,_IG_Callback(ig_bb,a,b,c,d),g.num_items+15,ig_b)}else{for(var k=0;k<g.num_items;++k){var j=_gel("ftl_"+a+"_"+k);j&&ig_ab(_gel("ft_"+a+"_"+k),_gel("fb_"+a+"_"+k),j,c)}a=a;b=b;e=e;c=f;g=h;d=d;e.className=ig_H(e)?"fminbox_reverse_directionality":
"fminbox";e.title=d;if(_old_html||_use_old_feed_styles)e.className="fbox fminbox";c.style.display="block";c.style.maxHeight=c.offsetWidth*1.5+"px";g.className=ig_H(e)?"sftl_reverse_directionality":"sftl";window._IG_FRUC_setFeedAsRead&&window._IG_FRUC_setFeedAsRead(a,b);if(f.style.maxHeight&&parseInt(f.style.maxHeight,10)<ig_cb(h.offsetWidth,f))f.style.height=f.style.maxHeight}}}
function ig_bb(a,b,c,d,e){var f=_IG_FR_getFeed(b);f.is_fetching=ig_c;if(a&&a.Entry){for(var h=0;h<a.Entry.length;h++)if(a.Entry[h].ID!="no_id"){var g=_gel("fb_"+b+"_"+a.Entry[h].ID);if(g)g.innerHTML=a.Entry[h].Summary}f.has_entries=ig_b;_IG_FR_toggle(b,c,d,e)}}function ig_H(a){return a.className.match(/reverse_directionality$/)=="reverse_directionality"}
function ig_ab(a,b,c,d){a.className=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";b.style.maxHeight="";c.className=ig_H(a)?"uftl_reverse_directionality":"uftl"}function ig_cb(a,b){var c=document.createElement("div");c.style.left=-screen.width;c.style.top=-screen.height;c.style.width=a;c.innerHTML=b.innerHTML;document.body.appendChild(c);a=c.clientHeight;document.body.removeChild(c);return a}
function _IG_RegisterContainerScrollHandler(a){if(navigator.userAgent.indexOf("Firefox")>=0)window.addEventListener("scroll",a,ig_c);else 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_db(a){var b=_gel("hl");b=b?b.value:"en";return"/reader/ig/feed/"+_esc(_IG_FR_getFeed(a).url)+"?hl="+b}function ig_eb(a,b){if(window._max_strategies){b=ig_db(a)+(b?"&i="+b:"");window._max_strategies[a]._updateIframeSrc(b)}}function _IG_FR_maxModule(a,b,c){ig_eb(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_db(a),ig_,_IG_isIE())});_IG_AddModuleEventHandler(a,"unmaximize",function(){ig_eb(a)})}var _IG_FR_listOfFeeds=[];function ig_I(a){var b;b=a;var c;if(window.ActiveXObject){c=new ActiveXObject("Microsoft.XMLDOM");c.async=ig_c;c.validateOnParse=ig_c;c.resolveExternals=ig_c;c.loadXML(b)}else{c=new DOMParser;c=c.parseFromString(b,"text/xml")}b=c;if((c=b.documentElement)&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&_gelstn("parsererror",b)[0])return a;return b}var ig_fb=(new Date).getTime();
function ig_gb(a){if(!a.bf&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>ig_fb+a.refreshInterval*1E3))if(a.Sa){var b=ig_I(_pl_data[a.url]);a.callback(b)}else a.callback(_pl_data[a.url]);else{b="/ig/jsonp?";if(_et!="")b+="et="+_et+"&";if(!isNaN(a.refreshInterval)&&a.refreshInterval>=0)b=_appendMaxAgeParameter(b,a.refreshInterval);if(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(e){var f=e,h=a.url;e=a.callback;var g=a.Sa;if(!f||f==""||f.length<=27||f.charAt(27)!="{")e(g?ig_:"");else{f=eval("("+f.substring(27)+")");if(h in f){h=f[h].body;e(g?ig_I(h):h)}}},ig_c,a.bf)}}function ig_hb(a){var b={};for(var c in a)b[c]=a[c];return b}function _IG_FetchContent(a,b,c){c=c!=ig_&&typeof c=="object"?ig_hb(c):{};c.url=a;c.callback=b;c.Sa=ig_c;ig_gb(c)}
function _IG_FetchXmlContent(a,b,c){c=c!=ig_&&typeof c=="object"?ig_hb(c):{};c.url=a;c.callback=b;c.Sa=ig_b;ig_gb(c)}function ig_ib(a,b,c){_IG_FetchContent(a,function(d){if(d){d=ig_I(d);if(typeof d=="object"&&d.firstChild){var e=d.firstChild;e.nodeType==7&&e.nodeName=="xml"&&d.removeChild(e);b(d);return}}b(ig_)},c)}function ig_jb(a,b){var c="/ig/feedjson";_sendx(c,function(d){var e={};try{e=eval("("+d.slice(27)+")")}catch(f){e={}}for(var h in b){d=e[h]?e[h]:ig_;b[h](d)}b=ig_},ig_c,a)}
var ig_kb=ig_c,ig_lb=0,ig_J="",ig_K={};function _IG_FetchFeedAsJSON(a,b,c,d,e){if(typeof e!="object")e={};var f="fr_"+ig_lb++;a="url="+_esc(a);if(!isNaN(e.refreshInterval)&&e.refreshInterval>=0)a=_appendMaxAgeParameter(a,e.refreshInterval);if(c)a+="&val="+_esc(c);if(d)a+="&sum=1";c=f+"="+_esc(a);if(ig_kb){d={};d[f]=b;ig_jb(c,d)}else{if(ig_J!="")ig_J+="&";ig_J+=c;ig_K[f]=b}}function ig_mb(){ig_kb=ig_b;ig_J!=""&&ig_jb(ig_J,ig_K);ig_J="";ig_K=ig_}_IG_AddEventHandler("domload",ig_mb);
_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",ig_ib,"getFeedAsJSON",_IG_FetchFeedAsJSON]);function ig_nb(a,b,c){var d=ig_u("m",b);if(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){b=b||121;var c=a.title;if(!(a.offsetWidth<=b)){var d=0,e=c.length,f,h=c.match(/\(\d+\)$/);if(h=h?h[0]:""){h=" "+h;e=c.length-h.length;f=5*h.length;if(f>b>>1)h=""}for(;f=e-d>>1;){f=d+f;a.innerHTML=ig_ob(c,f,h);if(a.offsetWidth>b)e=f;else d=f}a.innerHTML=ig_ob(c,d,h)}}function ig_ob(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_pb(a,b){ig_M(a)||ig_nb(b,_ig_gmid_(a))}
_IFPC.registerService("set_title",ig_pb);function _IG_SetTitle(a,b,c){if(ig_M(b))ig_a(new Error("Inline modules must specify their __MODULE_ID__ when using _IG_SetTitle"));else ig_nb(a,b,c)}
function _IG_SetTitleDir(a,b){if(ig_M(b))ig_a(new Error("Inline modules must specify their __MODULE_ID__ when using _IG_SetTitleDir"));else{var c=ig_u("m",b);if(c)if(a)c.ti_dir=a;else delete c.ti_dir;if(c=_gel("m_"+b+"_title"))a?c.setAttribute("dir",a):c.removeAttribute("dir");if(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 ig_c}function _delmessage(){_xsetp("gm=0");var a=_gel("googlemessage");a.parentNode.removeChild(a);return ig_c}function _delpromomod(){_xsetp("pm=0");var a=_gel("promomod");a.parentNode.removeChild(a);return ig_c};var ig_N=new (function(){this.da={};var a=window.onbeforeunload;window.onbeforeunload=function(){a&&a();ig_N.Qe()}});ig_N.ud=function(a,b){this.da[a]=b};ig_N.lf=function(a){delete this.da[a]};ig_N.Y=function(a){return this.da[a]};ig_N.Qe=function(){var a=[];for(var b in this.da)a.push(b+"="+this.da[b]);if(a.length){b=ig_m();a="/ig/setp?et="+_et+"&"+a.join("&");b.open("GET",a,ig_c);b.send(ig_)}};function _IG_add_setp_parameter_onbeforeunload(a,b){ig_N.ud(a,b)}
function _IG_remove_setp_parameter_onbeforeunload(a){ig_N.lf(a)}function _IG_get_setp_parameter_onbeforeunload(a){return ig_N.Y(a)};var ig_O={Oa:0,Gb:1,Kb:2,Cb:3},ig_P=function(){function a(){var i=[],o=[];for(var p in j)if(j[p]&&!k[p])i.push(p);else!j[p]&&k[p]&&o.push(p);i.length?_IG_add_setp_parameter_onbeforeunload("exptabs",i.join(":")):_IG_remove_setp_parameter_onbeforeunload("exptabs");o.length?_IG_add_setp_parameter_onbeforeunload("coltabs",o.join(":")):_IG_remove_setp_parameter_onbeforeunload("coltabs");_IG_add_setp_parameter_onbeforeunload("roster",l+"")}function b(i){_gel("gadget_set"+i).style.display="block";_gel("triangle"+
i).className="v2minbox";j[i]=ig_b;_sendx("/ig/ui?xp=v2&action=expandTab&t="+i,ig_,ig_c,ig_)}function c(i){_gel("gadget_set"+i).style.display="none";_gel("triangle"+i).className="v2maxbox";j[i]=ig_c;_sendx("/ig/ui?xp=v2&action=collapseTab&t="+i,ig_,ig_c,ig_)}function d(){m.style.display="none";n.style.display="none";switch(e){case ig_O.Oa:var i=_gel("section"+f+"_contents");i.className="section_contents leftunselectedtab leftborder";_gel("tab"+f).className="section_title unselected_section_title";
_gel("tab_separator"+f).style.display="";if(h)_gel("tab_separator"+h).style.display="";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display="";break;case ig_O.Gb:i=_IG_getCurrentMaxId();i=_gel("left_nav_m_"+i+"_title");i.className="gadget_title";break;case ig_O.Kb:i=_gel("updates_left_nav");i.className="gadget_title";break;case ig_O.Cb:i=_gel("shares_left_nav");i.className="gadget_title";break}}var e=ig_O.Oa,f=ig_,h=ig_,g={},k={},j={},l=ig_b,m=ig_,n=ig_;return{De:function(){m=
_gel("left_nav_top_rounded_corners");n=_gel("left_nav_bottom_rounded_corners")},zf:function(i){f=i},qg:function(i){e=i},me:function(){return f},yf:function(){for(var i=_gel("section"+f+"_contents").nextSibling;i;){if(i.id&&i.id.match(/section\d+_contents/)){h=i.id.match(/\d+/);break}i=i.nextSibling}},tg:function(){d()},rc:function(i){d();i=_gel("left_nav_m_"+i+"_title");i.className="selected_gadget_title gadget_title leftselectedtab surroundborder";m.style.display="";n.style.display="";i.parentNode.insertBefore(m,
i);i.parentNode.insertBefore(n,i.nextSibling);e=ig_O.Gb},sc:function(){d();var i=_gel("section"+f+"_contents");i.className="selected_section_contents leftselectedtab surroundborder";_gel("tab"+f).className="section_title selected_section_title";_gel("tab_separator"+f).style.display="none";if(h)_gel("tab_separator"+h).style.display="none";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display="none";m.style.display="";n.style.display="";i.parentNode.insertBefore(m,i);i.parentNode.insertBefore(n,
i.nextSibling);e=ig_O.Oa},Ae:function(){d();var i=_gel("shares_left_nav");i.className="selected_gadget_title gadget_title leftselectedtab surroundborder";m.style.display="";n.style.display="";i.parentNode.insertBefore(m,i);i.parentNode.insertBefore(n,i.nextSibling);e=ig_O.Cb},Be:function(){d();var i=_gel("updates_left_nav");i.className="selected_gadget_title gadget_title leftselectedtab surroundborder";m.style.display="";n.style.display="";i.parentNode.insertBefore(m,i);i.parentNode.insertBefore(n,
i.nextSibling);e=ig_O.Kb},Of:function(i){var o=_gel("m_"+i+"_home_menu");if(o)o.style.display="none";if(i=_gel("m_"+i+"_canvas_menu"))i.style.display=""},Pf:function(i){var o=_gel("m_"+i+"_canvas_menu");if(o)o.style.display="none";if(i=_gel("m_"+i+"_home_menu"))i.style.display=""},xe:function(i){if(i=_gel("left_nav_"+i+"_title"))i.style.display="none"},Ff:function(i){if(i=_gel("left_nav_"+i+"_title"))i.style.display=""},Gc:function(i){var o=_gel("m_"+i+"_b");g[i]=o&&o.style.display=="none";i=!_gel("remote_iframe_"+
i);var p=ig_b;o.style.display=i&&p?"none":""},Hc:function(i){var o=_gel("m_"+i+"_b");o.style.display=g[i]?"none":""},Hf:function(){if(f!="0"){_gel("rcbg").style.display="";_gel("col2").className="botborder"}},Wc:function(){if(f=="0"){_gel("rcbg").style.display="";_gel("col2").className="botborder"}},qc:function(){if(f=="0"){_gel("rcbg").style.display="none";_gel("col2").className="topbotborder"}},Xd:function(i){k[i]=ig_b;j[i]=ig_b},Jd:function(i){k[i]=ig_c;j[i]=ig_c},Rf:function(i,o){if(!i)i=window.event;
i.cancelBubble=ig_b;i.stopPropagation&&i.stopPropagation();_gel("gadget_set"+o).style.display=="none"?b(o):c(o);a()},Qf:function(){if(_gel("talk_container")){l=!l;_gel("roster_triangle").className=l?"v2minbox":"v2maxbox";if(window.gTalkNotifier&&window.gTalkNotifier._setRosterExpanded)window.gTalkNotifier._setRosterExpanded(l);else _gel("talk_container").style.display=l?"":"none";_log("roster_toggle:"+(l?"1":"0"));a()}},rf:function(i){l=i},Je:function(){return l},ye:function(i){if(i=_gel(i))i.style.display=
"none"},Zc:function(i){var o=_gel("DD_"+i+"_zip");if(o){i=(i=_gel("m_"+i+"_b"))&&i.style.display=="none";o.innerHTML=i?IG_MSGS.MAXG:IG_MSGS.MING}},Yc:function(i){var o=_gel("m_"+i+"_b");i=o&&o.style.display=="none";if((o=o.nextSibling)&&o.className)o.className=i?"rnd_modtitle":"rnd_modboxin"}}}();
function _IG_LN_init(a){_IG_AddEventHandler("modulemaximize",ig_P.rc);_IG_AddEventHandler("modulemaximize",ig_P.Of);_IG_AddEventHandler("modulemaximize",ig_P.Gc);_IG_AddEventHandler("modulemaximize",ig_P.Wc);_IG_AddEventHandler("moduleunmaximize",ig_P.sc);_IG_AddEventHandler("moduleunmaximize",ig_P.Pf);_IG_AddEventHandler("moduleunmaximize",ig_P.Hc);_IG_AddEventHandler("moduleunmaximize",ig_P.qc);_IG_AddEventHandler("moduledelete",ig_P.xe);_IG_AddEventHandler("moduleundelete",ig_P.Ff);_IG_AddEventHandler("modulezip",
ig_P.Zc);_IG_AddEventHandler("modulezip",ig_P.Yc);_IG_AddEventHandler("moduleunzip",ig_P.Zc);_IG_AddEventHandler("moduleunzip",ig_P.Yc);_IG_RegisterOnloadHandler(ig_P.yf);_IG_RegisterOnloadHandler(ig_P.Hf);_IG_RegisterOnloadHandler(ig_P.De);ig_P.zf(a)}
var _IG_get_selected_tab_id=ig_P.me,_IG_expand_tab_onload=ig_P.Xd,_IG_collapse_tab_onload=ig_P.Jd,_IG_toggle_tab=ig_P.Rf,_IG_toggle_roster=ig_P.Qf,_IG_roster_state_onload=ig_P.rf,_IG_is_roster_expanded=ig_P.Je,_IG_hide_promo=ig_P.ye,_IG_maybe_unzip_module=ig_P.Gc,_IG_maybe_zip_module=ig_P.Hc,_IG_hideRoundedCornerOnRestore=ig_P.qc,_IG_showRoundedCornerOnMaximize=ig_P.Wc,_IG_highlight_invites=ig_P.Ae,_IG_highlight_updates=ig_P.Be,_IG_highlight_module=ig_P.rc,_IG_highlight_tab=ig_P.sc;
var ig_Q={hd:0,Na:1,ld:2};function ig_qb(){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(){var a=_IG_Callback.apply(ig_,arguments);return function(){a()}}function ig_S(a,b,c,d,e){if(a=="input"&&d&&d.type&&_IG_isIE()){a=document.createElement('<input type="'+d.type+'">');delete d.type}else 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(h){if(h.preventDefault)h.preventDefault();else h.returnValue=ig_c});return a}
function ig_rb(a,b){switch(b){case ig_Q.hd:return(a=_gel("m_"+a))&&a.className=="modbox_e";case ig_Q.Na:return(a=_gel("m_"+a+"_aclbox"))&&a.style.display!="none";case ig_Q.ld:return(a=_gel("m_"+a+"_editbox"))&&a.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_sb(a,b){if(!b)return ig_c;for(var c=a.className.split(" "),d=0;d<c.length;++d)if(c[d]==b)return ig_c;c.push(b);a.className=c.join(" ");return ig_b}
var ig_U={wa:"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.wa,ig_R(_edit,a,c)]},dc: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.wa,a]},del:function(a,b){return ig_U.dc(a,b,IG_MSGS.DEL_CONFIRM)},del2:function(a,b){return ig_U.dc(a,b,IG_MSGS.DEL_CONFIRM2)},ming:function(a,b){return[IG_MSGS.MING,ig_U.wa,ig_R(_zm,a,b.mt),undefined,"zip"]},maxg:function(a,b){a=ig_U.ming(a,b);a[0]=IG_MSGS.MAXG;return a},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 ig_c}]},osShare:function(a,b){function c(){_IG_callPostLoad(function(){window._IG_OS_requestShareApp("remote_iframe_"+a,ig_,ig_,IG_MSGS.OSSHARE.replace(/%GADGET_NAME%/,_hesc(b.ti)))})}return[_hesc(IG_MSGS.SHG),ig_U.wa,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){return[IG_MSGS.AG,ig_q(IG_URLS.dir,["url="+ig_U.stripProtocolAndEsc_(b.u)]),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){b=[];for(var c=ig_u("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;d=0;for(var e;e=b[d];d++){var f=e;if(typeof e=="function")f=e(a,ig_u("m",a)||ig_U.emptyInfo_);f[3]&&c.appendChild(ig_tb(f[3]));e=undefined;if(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){b=b||"javascript:void(0)";var f=document.createElement("div"),h="";if(typeof c=="string"&&c!="")h=' onclick="'+c+'"';f.innerHTML='<a href="'+b+'"'+h+">"+a+"</a>";a=f.firstChild;if(typeof c=="string"&&c!="")c=a.onclick;if(c)a.onclick=function(g){c(g);_IG_DD_hide();return ig_c};a.className=d==0?"dd_item dd_item_first":"dd_item";a.onblur=function(){ig_W=ig_c;return ig_b};a.onmouseover=function(){return _IG_DD_select(this)};if(e)a.id=e;return a}
function ig_tb(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){a=_gel("DD_"+b);if(!a){_IG_DD_create(b);a=_gel("DD_"+b)}if(a.style.display=="none"){ig_V=b;var c=_gel("IG_DD_div");c.className="dd_layer";_IG_AddEventHandler("resize",_IG_DD_position);_IG_DD_position();ig_W=ig_c;if(a.hasChildNodes()){a=a.firstChild;if(a.tagName!="A")a=a.nextSibling;_IG_DD_select(a)}b=_gel("DD_tg_"+b);b.className+=" ddbox_sel";(b=ig_X[ig_V])&&b(ig_b)}}
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,h=document.body.clientWidth+document.body.scrollLeft;if(f<5)f=5;else if(f+e>h-5)f=h-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){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(ig_c);if(ig_W)(b=_gel("DD_tg_"+ig_V))&&b.focus();ig_W=ig_c;ig_V=ig_}a.className="dd_layer_hidden"}_IG_DD_select(ig_)}
function _IG_DD_gcn(a,b,c){c=new RegExp("(^| )"+c+"( |$)");a=_gelstn(b,a);b=[];for(var 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,"");if(a){try{a.focus()}catch(e){if(e.message!="Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.")ig_a(e)}a.className+=" dd_sel"}}
function _IG_DD_keys(a){function b(e,f){var h=e;do{h=f?h.nextSibling:h.previousSibling;if(!h){h=e.parentNode;h=f?h.firstChild:h.lastChild}}while(h!=e&&h.tagName!="A");return h}var c=ig_b,d=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(d==ig_||d.length!=1)return ig_b;d=d[0];if(!a)a=window.event;a=a.keyCode||a.charCode||a.which;switch(a){case 13:ig_W=ig_b;break;case 38:_IG_DD_select(b(d,ig_c));c=ig_c;break;case 40:_IG_DD_select(b(d,ig_b));c=ig_c;break;case 27:case 9:ig_W=ig_b;c=ig_V==ig_&&a==9;_IG_DD_hide();
break}return c};var ig_Y={C:ig_,init:function(a,b){a.onmousedown=ig_Y.start;a.C=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.za=new Function;b.ya=new Function},Vf:function(a,b){window.clearInterval(b.Vc);a.onmousedown=ig_;a.C=ig_;b.Aa=ig_;b.za=ig_;b.ya=ig_},start:function(a){var b=ig_Y.C=this.C;a=ig_Y.pa(a);if(a.which!=1)return ig_b;b.Aa(a);var c=a.clientY;ig_Z.Cc||(c+=document.body.scrollTop);b.xa=a.clientX;b.Q=c;b.Se=parseInt(b.style.left,
10)-a.clientX;b.Te=parseInt(b.style.top,10)-c;b.Vc=window.setInterval(ig_ub(b,document.body.scrollHeight>document.documentElement.clientHeight?document.body.scrollHeight:document.documentElement.clientHeight),10);document.onmouseup=ig_Y.ic;document.onmousemove=ig_Y.Ud;return ig_c},Ud:function(a){a=ig_Y.pa(a);if(a.which==0)return ig_Y.ic();var b=ig_Y.C,c=a.clientY;ig_Z.Cc||(c+=document.body.scrollTop);a=a.clientX;if(b.xa==a&&b.Q==c)return ig_c;var d=a+b.Se,e=c+b.Te;b.style.left=d+"px";b.style.top=
e+"px";b.xa=a;b.Q=c;b.ya(d,e);return ig_c},ic:function(){document.onmousemove=ig_;document.onmouseup=ig_;window.clearInterval(ig_Y.C.Vc);var a=ig_Y.C.za();ig_Y.C=ig_;return a},pa: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.ha=a;ig_Z.Ea=b;a=ig_Z.ha;b="div";var c="yui-u";if(a){a=b=="*"&&a.all?a.all:_gelstn(b,a);b=[];c=c.replace(/\-/g,"\\-");c=new RegExp("(^|\\s)"+c+"(\\s|$)");for(var d,e=0;e<a.length;e++){d=a[e];c.test(d.className)&&b.push(d)}a=b}else a=[];ig_Z.N=a;if(_old_html){ig_Z.Uc=ig_Z.ha.tBodies[0].rows[0];ig_Z.N=ig_Z.Uc.cells}ig_Z.w=[];for(b=a=0;b<ig_Z.N.length;b++){c=ig_Z.N[b];if(!(c.className.indexOf("ig_dnd_fixed_col")!=-1||c.style.display=="none"))for(d=0;d<c.childNodes.length;d++){e=
c.childNodes[d];if(e.tagName=="DIV"){ig_Z.w[a]=e.className!="dm"?new DND_Module(e):new ig_vb(e);a++}}}_IG_AddEventHandler("unload",ig_wb)}function ig_wb(){if(ig_Z.w)for(var a=0;a<ig_Z.w.length;a++){ig_Z.w[a].ec();ig_Z.w[a]=ig_}ig_Z.w=ig_;ig_Z.N=ig_;if(_old_html)ig_Z.Uc=ig_;ig_Z.ha=ig_}var ig_Z={};ig_Z.zb=navigator.userAgent;ig_Z.Bc=ig_Z.zb.indexOf("Gecko")!=-1;ig_Z.kb=ig_Z.zb.indexOf("Opera")!=-1;ig_Z.Cc=ig_Z.zb.indexOf("Safari")!=-1;ig_Z.Ib="IG_pageDivMaskId";ig_Z.Hb="IG_moduleDivMaskId";
ig_Z.gg=function(){ig_Z.ha.style.display="none"};ig_Z.hg=function(){ig_Z.ha.style.display=""};ig_Z.J=ig_;ig_Z.qa=function(){if(!ig_Z.J){ig_Z.J=document.createElement("DIV");ig_Z.J.className="modbox";ig_Z.J.backgroundColor="";ig_Z.J.style.border="2px dashed #aaa";ig_Z.J.innerHTML="&nbsp;"}return ig_Z.J};ig_Z.M=function(a,b){return function(){return a[b].apply(a,arguments)}};
ig_Z.lc=function(){var a=[];if(ig_Z.Ea){var b;b=_old_html?ig_Z.Ea.tBodies[0].rows[0].cells:_gelstn("LI",ig_Z.Ea);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.Ea);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.Cd=function(){for(var a=ig_Z.lc(),b=0;b<a.length;b++){var c=a[b];c.Fe=ig_b;c.Ba=ig_Z.P(c,ig_b);c.Ye=c.Ba+c.offsetWidth;c.ca=ig_Z.P(c,ig_c);c.Xe=c.ca+c.offsetHeight}};ig_Z.Bd=function(a){for(var b=0;b<ig_Z.w.length;b++){var c=ig_Z.w[b];c.b.Ba=ig_Z.P(c.b,ig_b);c.b.ca=ig_Z.P(c.b,ig_c)}for(b=a.b.nextSibling;b;){b.ca-=a.b.offsetHeight;b=b.nextSibling}};
ig_Z.P=function(a,b){var c=0,d=0;if(a&&a.offsetParent&&a.offsetParent.id)if(!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.td=function(a){ig_Z.Pc();var b=document.createElement("DIV");b.id=ig_Z.Ib;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.pc){b=b.cloneNode(ig_b);b.id=ig_Z.Hb;b.style.height=a.b.offsetHeight-a.B.offsetHeight+"px";b.style.top=a.B.offsetHeight+"px";a.b.appendChild(b)}};
ig_Z.Pc=function(){for(var a=[ig_Z.Hb,ig_Z.Ib],b=0;b<a.length;b++){var c=_gel(a[b]);c&&c.parentNode.removeChild(c)}};ig_Z.sf=function(){for(var a="",b=0;b<ig_Z.N.length;b++)for(var c=ig_Z.N[b],d=0;d<c.childNodes.length-1;d++){var e=c.childNodes[d];if(e.tagName=="DIV"){a+=a!=""?":":"";a+=e.id.substring(2)+"_"+c.id.substring(2)}}_xsetp("mp="+_esc(a))};function ig_vb(a){this.ec=ig_xb;this.b=a;this.b.innerHTML="<br />"}function ig_xb(){this.b=ig_}
function DND_Module(a){this._urlMouseUp=ig_yb;this._urlMouseDown=ig_zb;this._urlClick=ig_Ab;this._dragStart=ig_Bb;this._drag=ig_Cb;this._dragEnd=ig_Db;this.Zd=ig_Eb;this.Ga=ig_Fb;this.ec=ig_Gb;this.V=ig_c;this.b=a;this.B=_gel(a.id+"_h");this.h=_gel(a.id+"_url");this.pc=_gelstn("IFRAME",this.b).length>0;this.b.bg=this;if(this.B){this.B.style.cursor="move";ig_Y.init(this.B,this.b);this.b.Aa=ig_Z.M(this,"_dragStart");this.b.ya=ig_Z.M(this,"_drag");this.b.za=ig_Z.M(this,"_dragEnd");if(this.h){this.h.style.cursor=
"pointer";if(ig_Z.Bc){this.h.onmousedown=ig_Z.M(this,"_urlMouseDown");this.h.onclick=ig_Z.M(this,"_urlClick")}else this.h.onmouseup=ig_Z.M(this,"_urlMouseUp")}}}function ig_Gb(){if(this.B){if(this.h){this.h.onclick=ig_;this.h=this.h.onmouseup=ig_}ig_Y.Vf(this.B,this.b);this.b.Aa=ig_;this.b.ya=ig_;this.B=this.b.za=ig_}this.b=ig_}
function ig_yb(a){a=ig_Y.pa(a);if(this.V||!this.h||!this.h.href||a.which!=1)return ig_b;this.Ga("titleclick");if(this.h.target||a.shiftKey)window.open(this.h.href,this.h.target);else document.location=this.h.href;return ig_c}function ig_zb(a){a=ig_Y.pa(a);a.stopPropagation();return ig_b}function ig_Ab(){if(!this.V&&this.h&&this.h.href){this.Ga("titleclick");return ig_b}return ig_c}
function ig_Bb(){ig_Z.Bd(this);ig_Z.Cd();this.We=this.b.nextSibling;var a=ig_Z.qa(),b=this.b.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.b.offsetWidth,d=ig_Z.P(this.b,ig_b),e=ig_Z.P(this.b,ig_c);this.b.style.width=c+"px";a.style.height=b+"px";this.b.parentNode.insertBefore(a,this.b.nextSibling);this.b.style.position="absolute";this.b.style.zIndex=1E4;this.b.style.left=d+"px";this.b.style.top=e+"px";ig_Z.td(this);return this.V=ig_c}
function ig_Cb(a,b){if(!this.V){this.b.style.filter="alpha(opacity=50)";this.b.style.opacity=0.5;this.V=ig_b;this.Ga("dragstart")}for(var c=ig_,d=1E8,e=0;e<ig_Z.w.length;e++){var f=ig_Z.w[e],h=a;if(document.body.dir=="rtl"&&f.b.offsetWidth==1)h+=this.b.offsetWidth;h=Math.sqrt(Math.pow(h-f.b.Ba,2)+Math.pow(b-f.b.ca,2));if(f!=this)if(!isNaN(h))if(h<d){d=h;c=f}}this.G=ig_;a=ig_Z.lc();for(e=0;e<a.length;e++){f=a[e];if(f.Fe){b=ig_qb();if(this.b.xa>=f.Ba&&this.b.xa<=f.Ye&&this.b.Q+b.y>=f.ca&&this.b.Q+b.y<=
f.Xe){this.G=f;e=ig_Z.qa();e.parentNode!=ig_&&e.parentNode.removeChild(e);break}}}for(e=0;e<a.length;e++){f=a[e];if(f.id.indexOf("view")>=0||f.id.indexOf("contents")>=0)if(f==this.G){if(f.className.indexOf(" tab_hover")<0)f.className+=" tab_hover"}else f.className=f.className.replace(/ tab_hover/g,"")}e=ig_Z.qa();if(this.G==ig_&&c!=ig_&&e.nextSibling!=c.b){c.b.parentNode.insertBefore(e,c.b);if(ig_Z.kb){document.body.style.display="none";document.body.style.display=""}}}
function ig_Db(){ig_Z.Pc();this.Zd()&&ig_Z.sf();if(this.G){var a=this.G.id.match(/.*?(\d+).*/)[1],b=this.b.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.b.style.display="none";this.G.className=this.G.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.V&&this.Ga("dragend");return ig_b}
function _hideNewUserTip(){var a=_gel("new_user_tip");if(a)a.style.display="none"}
function ig_Eb(){var a=ig_c;this.b.style.position="";this.b.style.width="";this.b.style.zIndex="";this.b.style.filter="";this.b.style.opacity="";window.scrollBy(0,0);var b=ig_Z.qa();if(b.parentNode!=ig_){if(b.nextSibling!=this.We){b.parentNode.insertBefore(this.b,b.nextSibling);a=ig_b}b.parentNode.removeChild(b)}if(ig_Z.kb){document.body.style.display="none";document.body.style.display=""}if(a&&this.pc&&(ig_Z.Bc||ig_Z.kb)){b=_gelstn("IFRAME",this.b)[0];var c=this.b.id.substring(2);c=_IG_Prefs.W(c,
b.src);if(b.src!=c)b.src=c}return a}function ig_Fb(a){switch(a){case "titleclick":_IG_TriggerModuleEvent(this.b.id,a,this.h.href);_IG_TriggerEvent("module"+a,this.b.id,this.h.href);break;case "dragstart":case "dragend":_IG_TriggerDelayedModuleEvent(this.b.id,a);_IG_TriggerDelayedEvent("module"+a,this.b.id);break}}
function ig_ub(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_qb(),e=d.y,f=4,h=0.05*c,g=e;d=a.offsetTop;if(a.Q<=h){d=a.offsetTop-f;g=e-f}else if(a.Q>=c-h){d=Math.min(b-a.offsetHeight,a.offsetTop+f);g=Math.min(b-c,e+f)}c=g-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(d){if(!arguments.callee.Gd){var e={IG_PU_box:"div",IG_PU_iframe_cover:"iframe",IG_PU_bg:"div"};for(var f in e){var h=document.createElement(e[f]);h.id=f;h.style.display="none";document.body.insertBefore(h,document.body.firstChild)}arguments.callee.Gd=ig_b}return _gel(d)}var b=ig_b,c;return{open:function(d,e,f,h,g){b=typeof e=="string";var k=a("IG_PU_box");if(k&&k.style.display=="none"){f||(f=[_IG_PU_MakeDialogButton("Save"),_IG_PU_MakeDialogButton("Cancel")]);d=
['<table class=dialog id=IG_PU_dlg cellspacing=0 cellpadding=0><tr><td><div class=outerborder><div class="border titlebar">',d,'</div><div class="border body" id=dialogcontent>',b?e:"",ig_Hb(f),"</div></td></tr></table>"].join("");ig_Ib(d,h,b?ig_:e,g)}},Ve:function(d,e,f,h,g,k,j){d=_IG_PU_createSimpleTitle(d)+(e||"");f=['<div class=url><iframe id=popup_iframe style="width:',h,';height:0px;" src="',f,'" onload="_ResizeIframeHeight();" scrolling=no frameborder=0></iframe><div class=c></div>',ig_Hb(g,
"colored_background")].join("");window._IG_PU.open(d,f,[],k,j)},ve: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 h=_gel("popup_box_placeholder");h.parentNode.insertBefore(_gel("dialogcontent").firstChild,
h);h.parentNode.removeChild(h)},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)}},Od:function(d){return["<div class=popup_title>",d,'</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("")},Yd:function(d,e,f){if(!d.disabled){var h=
d.nodeName.toLowerCase();if(h=="input"||h=="button")return d;if(!f){if(h=="a"&&ig_Jb(d,"href"))return d;if(d.nodeType==1&&ig_Jb(d,"tabindex")&&d.tabIndex!=-1)return d}}if(!d.hasChildNodes())return ig_;d=d.childNodes;if(e){h=0;for(var g;g=d[h];h++)if(g=ig_0(g,e,f))return g}else for(h=d.length-1;g=d[h];h--)if(g=ig_0(g,e,f))return g;return ig_},Oe:function(d,e,f,h){var g=["<input type=button"];e&&g.push(' id="'+e+'"');f&&g.push(' class="'+f+'"');h&&g.push(' onclick="'+h+'"');g.push(' value="',d,'"></input>');
return g.join("")},Td:function(d){if(d=_gel("button_"+d))d.onclick=function(){}},Nd:function(d,e,f){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(e),'</td><td class=sidepadding><input id="',_hesc(d),'" name="',_hesc(d),'" ','type=text size=45 value="'+_hesc(f)+'"></td>',"</tr></table></form></div>"].join("")},se:function(d,e){if(d.getAttributeNode)return(d=d.getAttributeNode(e))?
d.specified:ig_c;return d.getAttribute(e)!=ig_},Ke:function(d){d=d||window.event;var e=d.target||d.srcElement,f=d.keyCode||d.charCode||d.which;if(f==9){f=ig_0(this,ig_b,ig_c);if(!f)return ig_b;var h=ig_0(this,ig_c,ig_c);if(e==f&&d.shiftKey&&!(d.ctrlKey||d.altKey)){h.focus();return ig_c}else if(e==h&&!(d.shiftKey||d.ctrlKey||d.altKey)){f.focus();return ig_c}}return ig_b},Ad:function(d,e){if(!d||!d.length)return"";var f=['<div id=buttons class="button_background'];e&&f.push(" "+e);f.push('"><table class=buttontable cellspacing=0 cols=');
f.push(d.length,"><tr>");for(e=0;e<d.length;++e){f.push("<td align=center>");f.push('<span id="button_',e,'" ');f.push('onclick="_IG_PU_hide(',e,')">');f.push(d[e]);f.push("</span>");f.push("</td>")}f.push("</tr></table></div></div>");return f.join("")},Df:function(d,e,f,h){var g=3E3,k=a("IG_PU_bg"),j=k.style;j.zIndex=g;j.background="#000";ig_Kb(k,ig_b);j.position="absolute";k.onclick=function(){};j.display="none";j.left="0px";j.top="0px";k=a("IG_PU_box");var l=a("IG_PU_iframe_cover");k.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=k.style;f.position="absolute";f.zIndex=g+1;g=l.style;g.position="absolute";f.visibility="hidden";f.display="block";ig__();f.visibility="visible";g.display="";j.display="block";_IG_AddEventHandler("resize",_gel("popup_iframe")?_ResizeIframeHeight:ig__);_IG_AddDOMEventHandler(window,"scroll",ig__);_gel("IG_PU_dlg").onkeydown=
ig_Lb;e=e||function(){};if(h&&h.length){var m=[];for(j=0;j<h.length;++j)if(g=_gel(h[j])){m.push(h[j]);g.setAttribute("old_position",g.style.position);g.setAttribute("old_left",g.style.left);g.style.position="relative";g.style.left="-99999px"}c=function(n,i){e(n,i);for(n=0;n<m.length;++n)if(i=_gel(m[n])){i.style.position=i.getAttribute("old_position");i.style.left=i.getAttribute("old_left")}}}else c=e;(h=ig_0(k,ig_b,ig_b))&&h.focus()},position:function(){var d=a("IG_PU_box");if(d.style.display=="block"){var e=
a("IG_PU_iframe_cover"),f=a("IG_PU_bg"),h=document.body.clientWidth,g=window.innerHeight;if(!g)g=document.documentElement.clientHeight;var k=d.offsetHeight<g,j=d.style;if(d){h=(h-d.offsetWidth)/2;var l=Math.max((g-d.offsetHeight)/2+ig_B(),0);if(!k&&j.top)l=parseInt(j.top,10);j.left=h+"px";j.top=l+"px";e=e.style;e.left=h+"px";e.top=l+"px";e.width=d.offsetWidth+"px";e.height=d.offsetHeight+"px"}if(f){d=parseInt(j.top,10)+d.offsetHeight;g=Math.max(ig_A(),g,d);f.style.height=g+"px";f.style.width=document.body.clientWidth+
"px"}}},Sf:function(d,e){d=d.style;if("opacity"in d)d.opacity=e?0.5:1;else if("MozOpacity"in d)d.MozOpacity=e?0.5:1;else if("filter"in d)d.filter=e?"alpha(opacity=50)":"alpha(opacity=100)"},of:function(){var d=_gel("popup_iframe");if(d){var e=d.style;e.height=ig_A(d.contentWindow.document.body)+"px";e.display="block";e.display=""}ig__()}}}();
var _DI_button_type={Close:-1,OK:0,Cancel:1},_IG_PU_hide=window._IG_PU.ve,_IG_PU_open=window._IG_PU.open,_IG_PU_openURL=window._IG_PU.Ve,_IG_PU_disable_hide_for_button=window._IG_PU.Td,_IG_PU_MakeDialogButton=window._IG_PU.Oe,_ResizeIframeHeight=window._IG_PU.of,ig_Kb=window._IG_PU.Sf,_IG_PU_createSimpleTitle=window._IG_PU.Od,_IG_PU_createSimpleInputBox=window._IG_PU.Nd,ig_0=window._IG_PU.Yd,ig_Jb=window._IG_PU.se,ig_Lb=window._IG_PU.Ke,ig_Hb=window._IG_PU.Ad,ig__=window._IG_PU.position,ig_Ib=window._IG_PU.Df;
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,h,g){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 k=h?"_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="'+k+'" value="'+
e+'"></input>',_IG_PU_MakeDialogButton(f)];f="titlebar userprefs userprefs_border";h=_get_userprefs_checkbox_html(h,g,f);_IG_PU_openURL(a,h,b,c,e,d?_finish_sharing_gadget:ig_);_IG_PU_disable_hide_for_button(0)}
function _share_this_gadget(a,b,c,d){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 e=d||function(){};function f(h,g){e(h,g);c&&_finish_sharing_gadget(h)}_IG_PU_openURL(a,ig_,b,"555px",ig_,f);_IG_PU_disable_hide_for_button(0)}
function _share_tab_with_gadget_checkboxes(a,b,c,d,e,f,h){b='<iframe id="popup_iframe" width="100%" height="0px" src="'+_hesc(b)+'" onload="_ResizeIframeHeight();" scrolling="no"></iframe>';var g="_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(g)+'" value="'+_hesc(f)+'"></input>',_IG_PU_MakeDialogButton(h)];if(_uli){h=_get_all_modules();
var k=Math.max(h.length*160,400);g=7;for(var j=0,l=0;l<h.length;l++)if(h[l].length>j)j=h[l].length;j=j>g&&c!="NO_TRANSLATION";a=[a];a.push('<form id="module_list">');a.push('<table class="titlebar module_list_table" ','cols="',h.length,'"',' width="',k,'px">');j?a.push('<tr class="zipped_modules" id="module_list_zipper">'):a.push('<tr class="unzipped_modules">');for(k=0;k<h.length;k++){a.push('<td width="',100/h.length,'%" ','valign="top">');for(l=0;l<h[k].length;l++){var m=_hesc(h[k][l].id.replace("m_",
"")),n=_bidi_span_wrap(_get_module_title(m),_get_module_title_dir(m));a.push('<div class="module_item');l>=g&&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>");if(j){a.push('<tr class="zipped_module_list">');a.push('<td id="show_all_modules" colspan="',h.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(){if(_gel("share_userprefs").checked){_gel("share_userprefs_alert").style.display="block";_gel("popup_iframe").contentWindow.shouldShareUserprefs(ig_b)}else{_gel("share_userprefs_alert").style.display="none";_gel("popup_iframe").contentWindow.shouldShareUserprefs(ig_c)}}
function _get_userprefs_checkbox_html(a,b,c){var d=[];if(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;if((d=a[c])&&d.tagName=="INPUT"){var e=_gel("module_list_zipper"),f=e&&/unzipped_modules/.test(_gel("module_list_zipper").className),h=/extra_items/.test(d.parentNode.className);e=!e||f||!h;d=d.checked&&e}else d=ig_c;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";if(a){_gel("sent_tab_box").className="msg_box";_gel("send_tab_error_box").className="hidden_msg_box"}else{_gel("send_tab_error_box").className="msg_box";_gel("sent_tab_box").className="hidden_msg_box"}};function _IG_saveModuleEditPrefs(a,b,c){var d=ig_u("m",b),e=d.mt;d=d.sn;var f=_gel("remote_iframe_"+b),h=f&&f.src;ig_p(a,"sn",d);ig_p(a,"ifr",h?"1":"0");if(c||!h){_fsetp(a,b,e);return ig_b}c=b;a=a.elements;e=[];h=[];for(var g=0;g<a.length;++g){var k=a[g].name,j=a[g].value;if(k&&k!="url"){e.push(_esc(k)+"="+_esc(j));if(k=k.match(/^m_\d+_up_(.*)$/)){h.push(k[1]);h.push(j)}}}_xsetp(e.join("&"));_IG_Prefs._setPrefs(c,h);_closeUserPrefs(b);ig_Mb(f,b,d);return ig_c}
function ig_Mb(a,b,c){var d=(new Date).getTime(),e=a.onload;a.onload=function(){var h=(new Date).getTime()-d;_sendx(["/ig/ui?action=refreshIfr&m=",_esc(c),"&ol=",h].join(""));typeof e=="function"&&e();a.onload=e};var f=a.src.replace(/&+$/,"");b=_IG_Prefs.W(b,f);if(f.split("#")[0]==b.split("#")[0])b=ig_T(b);a.src=b};function _IG_FRUC_init(){for(var a in ig_u("m")){var b=ig_u("m",a);b.mt==25&&_IG_RegisterMaximizeHandler(b.i,ig_Nb(a))}a=[];b=[];var c=[],d=0;for(var e in ig_u("m")){var f=ig_u("m",e);if(f.mt==25){a.push(_hesc(f.u));b.push(f.i);if(f.fa&&f.fa.length>0){for(var h=[],g=0;g<f.fa.length;++g)h.push(f.fa[g].i);c.push(h.join(","))}else c.push("");d++}}a.length!=0&&_sendx("/ig/unreadcounts?feed="+a.join("&feed=")+"&fa="+c.join("&fa="),ig_Ob(b))}
function ig_Nb(a){return function(b){b||ig_Pb(ig_u("m",a,"i"))}}function ig_Ob(a){return function(b){var c=a;if(b)if((b=eval("("+b+")"))&&b.uc&&b.uc.length==c.length)for(var d=0;d<c.length;++d){var e=ig_u("m",c[d]);if(e){var f=b.uc[d];e.uc=f;ig_Qb(e,f);f=b.ua[d];if(e&&e.fa&&f&&e.fa.length==f.length)for(var h=0;h<e.fa.length;++h)e.fa[h].rs=f[h]}}}}function ig_Pb(a){var b=ig_u("m",a);b&&b.mt==25&&_sendx("/ig/unreadcounts?feed="+b.u,ig_Ob([a]))}
function ig_Qb(a,b){if(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_u("f","show_feed_unread_counts")&&ig_u("m",a,"fa",b)){a=ig_u("m",a);if(a.fa[b].rs==1){if(a.uc){a.uc--;ig_Qb(a,a.uc);_sendx("/ig/markfeed?feed="+a.u+"&fa="+a.fa[b].i)}a.fa[b].rs=ig_c}}};function _IG_hoverModule(a,b){var c=_gel("m_"+a);ig_Rb(a,b,c,"modhover")}function _IG_hoverHeader(a,b){var c=_gel("m_"+a+"_drag");if(c)c.style.display=b?"":"none";(c=_gel("m_"+a+"_home_menu"))&&ig_Rb(a,b,c,"titlehover")}function ig_Rb(a,b,c,d){if(b)ig_5.$(a)||ig_sb(c,d);else ig_f(c,d,ig_)};function _IG_inherits(a,b){function c(){}c.prototype=b.prototype;a.Lf=b.prototype;a.prototype=new c;a.prototype.constructor=a};function ig_6(){}ig_d=ig_6.prototype;ig_d._onPreDetachDashboard=function(){};ig_d._onPostDetachDashboard=function(){};ig_d._onPreAttachMaximized=function(){};ig_d._onPostAttachMaximized=function(){};ig_d._onPreDetachMaximized=function(){};ig_d._onPostDetachMaximized=function(){};ig_d._onPreAttachDashboard=function(){};ig_d._onPostAttachDashboard=function(){};
ig_6.Kd=function(a,b){if(!b.view)return 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 new _IG_noMaxSupportTransitionStrategy(a,b.u)}return ig_};function ig_7(a){this.d=a;this.Wb=""}_IG_inherits(ig_7,ig_6);ig_d=ig_7.prototype;ig_d.r=function(){return _gel("remote_iframe_"+this.d)};
ig_d.yc=function(){var a=this.r();a&&(a.src="")};ig_d.ia=function(){var a=this.r();if(a)a.src=_IG_Prefs.W(this.d,a.src)};ig_d._onPreAttachMaximized=function(){var a=_gel("m_"+this.d+"_b");this.Wb=a.className;a.className="modboxin_max";ig_5.kf(this.d);_gel("rcam_t1").className="rnd1_max_top";_gel("rcam_t2").className="rnd2_max_top";_gel("rcam_t3").className="rnd3_max_top"};
ig_d._onPreAttachDashboard=function(){var a=_gel("m_"+this.d+"_b");a.className=this.Wb;ig_5.pf(this.d);_gel("rcam_t1").className="rnd1";_gel("rcam_t2").className="rnd2";_gel("rcam_t3").className="rnd3"};ig_d.Tc=function(a,b,c){b.style.width="200px";c=c||0;a=_max(200,_IG_isIE()?a.scrollWidth-c:a.offsetWidth);b.style.width=a+"px"};
function _IG_iFrameTransitionStrategy(a,b,c,d){ig_7.call(this,a);this.aa=b;this.T=d||ig_c;this.ma="";this.$a=c||"800px";this.Zb=this.Xb=this.Yb=this.Ya=ig_;if(this.T){var e=this;this.S=function(){e.vd.call(e)}}}_IG_inherits(_IG_iFrameTransitionStrategy,ig_7);ig_d=_IG_iFrameTransitionStrategy.prototype;ig_d.vd=function(){this.Tc(_gel("remote_"+this.d),this.r())};
ig_d._onPreDetachDashboard=function(){if(this.ma=="")for(var a=0;a<remote_modules.length;a++){var b=remote_modules[a];if(b.id==this.d)this.ma=b.base_iframe_url}this.Zb=_isModuleZipped(this.d)};ig_d._onPostDetachMaximized=function(){this.yc()};
ig_d._onPostAttachMaximized=function(){var a=this.r(),b=_gel("m_"+this.d),c=_gel("m_"+this.d+"_b");this.Yb=b.style.height;this.Xb=c.style.height;this.Ya=a.style.height;if(this.T){_IG_AddEventHandler("resize",this.S);this.S()}a.src=this.aa;a.style.height=this.$a;this.ia()};
ig_d._onPostAttachDashboard=function(){var a=this.r(),b=_gel("m_"+this.d),c=_gel("m_"+this.d+"_b");if(this.Ya!=ig_){a.style.height=this.Ya;a.style.width="100%";b.style.height=this.Yb;c.style.height=this.Xb}if(this.Zb)_IG_AddEventHandler("moduleunzip",this.Xf());else{a.src=this.ma;this.ia()}};ig_d._onPreDetachMaximized=function(){this.T&&_IG_RemoveEventHandler("resize",this.S)};ig_d.Xf=function(){var a=this;return function(){a.r().src=a.ma;a.ia();_IG_RemoveEventHandler("moduleunzip",this)}};
function _IG_inlinedTransitionStrategy(a,b,c,d){ig_7.call(this,a);this.aa=b;this.bb="max_div";this.wc="max_iframe";this.$a=c||"800px";this.T=d||ig_c;this.tb=this.sb=ig_;if(this.T){var e=this;this.S=function(){e.Ue.call(e)}}}_IG_inherits(_IG_inlinedTransitionStrategy,ig_7);ig_d=_IG_inlinedTransitionStrategy.prototype;ig_d.r=function(){return _gel(this.wc)};ig_d._updateIframeSrc=function(a){this.aa=a;var b=this.r();if(b)b.src=a};ig_d._setNextMaxIframeAddress=function(a){this.aa=a};
ig_d._setPostMaximizeCallback=function(a){if(!a||typeof a=="function")this.sb=a};ig_d._setPostRestoreCallback=function(a){if(!a||typeof a=="function")this.tb=a};ig_d.Ue=function(){this.Tc(_gel("max_div"),this.r(),25)};
ig_d._onPostAttachMaximized=function(){var a=_gel(this.bb),b=this.r(),c=_gel("m_"+this.d+"_b");if(!a){a=document.createElement("DIV");a.id=this.bb}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.wc;a.appendChild(b)}if(this.T)_IG_AddEventHandler("resize",this.S);else{_IG_RemoveEventHandler("resize",this.S);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.$a;b.src=_IG_Prefs.W(this.d,this.aa);this.sb&&this.sb(this);return b.src};ig_d._onPostDetachMaximized=function(){this.yc()};ig_d._onPostAttachDashboard=function(){var a=_gel(this.bb);a.style.display="none";if(a=this.r())a.src="";this.tb&&this.tb(this)};ig_d._onPreAttachDashboard=function(){_IG_inlinedTransitionStrategy.Lf._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.d+"_b");a.style.display="block"};function _IG_noMaxSupportTransitionStrategy(a,b){ig_7.call(this,a);this.xb=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_d=_IG_noMaxSupportTransitionStrategy.prototype;ig_d._onPostAttachDashboard=function(){this.ia()};
ig_d._onPostAttachMaximized=function(){var a=_gel("m_"+this.d),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.xb&&this.xb.length?"/ig/directory"+_qs()+"output=brief&recommend="+this.xb:"";this.ia()};ig_d._onPreDetachMaximized=function(){var a=_gel("m_"+this.d),b=_gel("mu_div");if(b){b.parentNode.replaceChild(a,b);b.style.display="none"}a.style.minWidth=""};ig_d._onPreAttachMaximized=function(){};ig_d._onPreAttachDashboard=function(){};var ig_5=new (function(){this.Ma="modules";this.La="dash_ph";this.Ja="max_ph";this.o=ig_;this.jc="";this.xc=ig_;if(window.nd)if(window.onbeforeunload){var a=window.onbeforeunload;window.onbeforeunload=function(){a();ig_5.Ic()}}else window.onbeforeunload=function(){ig_5.Ic()}});ig_5.Mb=function(){return ig_5.o};ig_5.Ic=function(){if(this.o!=this.xc){var a=ig_m(),b="/ig/setp?et="+_et+"&maxm="+(this.o?this.o:"-1");a.open("GET",b,ig_c);a.send(ig_)}};ig_5.xf=function(a){this.xc=a};
ig_5.vf=function(a){this.jc=a};ig_5.Xc=function(a){if(this.o!=a){this.o&&this.vb(this.o);this.Pe(a)}};ig_5.qf=function(){this.o&&this.vb(this.o)};ig_5.$=function(a){return this.o==a};ig_5.getStrategy=function(a){var b=_max_strategies[a];if(b==ig_){var c=ig_u("m",a);if(c){b=ig_6.Kd(a,c);_max_strategies[a]=b}}return b};
ig_5.Pe=function(a){var b=this.getStrategy(a);b._onPreDetachDashboard();this.Qd(a);b._onPostDetachDashboard();b._onPreAttachMaximized();this.xd(a);b._onPostAttachMaximized();this.o=a;_IG_suspend_refresh_cycle()};ig_5.vb=function(a){var b=this.getStrategy(a);b._onPreDetachMaximized();this.Rd(a);b._onPostDetachMaximized();b._onPreAttachDashboard();this.wd(a);b._onPostAttachDashboard();this.o=ig_;_IG_restart_refresh_cycle()};
ig_5.uf=function(a){this.ub=function(){_IG_minimize_view(a,"delete",this.jc)};_IG_AddModuleEventHandler(a,"delete",this.ub)};ig_5.Id=function(a){this.ub&&_IG_RemoveModuleEventHandler(a,"delete",this.ub)};ig_5.Qd=function(a){var b=_gel(this.La);if(b==ig_){b=document.createElement("DIV");b.id=this.La;b.style.display="none"}var c=_gel("m_"+a),d=_gel(this.Ma).parentNode;c.parentNode.replaceChild(b,c);d.appendChild(c);b.style.display="block";b.style.height=c.clientHeight+"px";this.Sb(a)};
ig_5.xd=function(a){var b=_gel(this.Ja);if(b==ig_){b=document.createElement("DIV");b.id=this.Ja;b.style.display="none"}var c=_gel("m_"+a),d=_gel(this.Ma);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.Sd(a);this.uf(a);_IG_TriggerEvent("modulemaximize",a);_IG_TriggerModuleEvent(a,"maximize")};
ig_5.Rd=function(a){var b=_gel(this.Ma),c=_gel(this.Ja);c.style.display="";b.style.display="";b=_gel("m_"+a);b.className=b.className.replace(/modbox_max/,"modbox");this.Sb(a)};ig_5.wd=function(a){var b=_gel(this.La),c=_gel("m_"+a);b.parentNode.replaceChild(c,b);b.style.display="none";this.Wd(a);this.Id(a);_IG_TriggerEvent("moduleunmaximize",a);_IG_TriggerModuleEvent(a,"unmaximize")};
ig_5.Sd=function(a){var b=_gel("m_"+a);a=_gel("m_"+a+"_h");b.parentNode.className+=" ig_dnd_fixed_col";a.style.cursor="default";ig_wb()};ig_5.Wd=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.Sb=function(a){_IG_hoverModule(a,ig_c);_IG_hoverHeader(a,ig_c)};
ig_5.mc=function(a){a=_gel(a);a=a.childNodes;for(var 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.kf=function(a){a=this.mc("m_"+a);for(var b=0;b<a.length;++b)a[b].className+="_max"};ig_5.pf=function(a){a=this.mc("m_"+a);for(var b=0;b<a.length;++b)a[b].className=a[b].className.replace(/_max/,"")};
function _IG_maximize_persistent_module(a,b){if(!window.location.hash.slice(1)){ig_5.xf(a);_IG_maximize_view(a,"persist",b)}}function _IG_toggle_view(a){ig_5.Xc(a)}function _IG_is_maximized_module(a){return ig_5.$(a)}
function _IG_maximize_view(a,b,c){_IG_OS_hideGadgetInvitesManager();_IG_OS_hideUpdates();var d=_gel("m_"+a);if(!(!d||d.style.display=="none")){if(b==ig_)b="dunno";b=["/ig/ui?xp=",c||"","&action=maximizeMod","&from=",b,"&m=",a,"&sn=",ig_u("m",a,"sn")];window["FEED"+a]&&b.push("&mt=feed");_sendx(b.join(""),ig_,ig_c,ig_);if(!ig_5.$(a)){ig_5.vf(c);ig_5.Xc(a)}}}
function _IG_minimize_view(a,b,c){_IG_OS_hideGadgetInvitesManager();_IG_OS_hideUpdates();if(b==ig_)b="dunno";b=["/ig/ui?xp=",c||"","&action=minimizeMod","&from=",b,"&m=",a,"&sn=",ig_u("m",a,"sn")];_sendx(b.join(""),ig_,ig_c,ig_);ig_5.$(a)&&ig_5.vb(a)}function _IG_restore_view(){_IG_OS_hideGadgetInvitesManager();ig_5.qf()}var _IG_getCurrentMaxId=ig_5.Mb;_exportClass("gadgets.views","ViewManager",ig_5,ig_,["isModuleMaximized",ig_5.$,"getCurrentMaxId",ig_5.Mb]);function ig_Sb(){this.la="";this.kd=150;this.Ia=_IG_isIE();this.ka=[];window.location.hash.slice(1);var a=this;_IG_callPostLoad(function(){_IG_AddDOMEventHandler(window,"load",function(){a.tc()})})}ig_d=ig_Sb.prototype;ig_d.tc=function(){var a=this;if(!(window._gjuc&&window._gjuc()==1)){window.setTimeout(function(){a.tc()},this.kd);var b=this.oe();if(b!=this.la){this.Jc(b);this.la=b;if(this.Ia)window.location.hash="#"+(b||"home")}}};
ig_d.kc=function(){try{if(this.Ia&&!this.ib){this.ib=_gel("ighistory");var a=this.ib.contentWindow.document,b=window.location.hash.slice(1);a.open();a.write("<head></head><body>"+_esc(b)+"</body>");a.close()}return this.ib.contentWindow.document}catch(c){}};ig_d.oe=function(){if(this.Ia){var a=this.kc();return a?_unesc(a.body.innerHTML):""}else return window.location.hash.slice(1)};
ig_d.Af=function(a){if(a!=this.la){this.la=a;this.Jc.apply(this,arguments);window.location.hash="#"+a;if(this.Ia){var b=this.kc();if(b){b.open();b.write("<head></head><body>"+_esc(a)+"</body>");b.close()}}}};ig_d.Jc=function(a){for(var b=0;b<this.ka.length;++b)if(this.ka[b][0].test(a)){this.ka[b][1].apply(undefined,arguments);return}};ig_d.pd=function(a,b){this.ka.push([a,b])};var ig_8;if(window._IG_CONTAINER)ig_8=new ig_Sb;function _IG_PushHistory(){ig_8&&ig_8.Af.apply(ig_8,arguments)}
function _IG_AddHistoryCallback(a,b){ig_8&&ig_8.pd(a,b)}_IG_AddHistoryCallback(/^max\d+$/,function(a,b,c){a=a.substr(3);if(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.$d?_IG_maximize_view(a.$d,"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.Re=a;this.Ie=!!b}_IG_View.prototype.je=function(){return this.Re};_IG_View.prototype.He=function(){return this.Ie};var _IG_SupportedViews={};_IG_SupportedViews.CANVAS=new _IG_View(_IG_ViewType.CANVAS,ig_b);_IG_SupportedViews.canvas=new _IG_View(_IG_ViewType.CANVAS,ig_b);_IG_SupportedViews.HOME=new _IG_View(_IG_ViewType.HOME,ig_c);_IG_SupportedViews.jg=new _IG_View(_IG_ViewType.HOME,ig_c);
_IG_SupportedViews.PROFILE=new _IG_View(_IG_ViewType.PROFILE,ig_c);function ig_Tb(a,b,c){b=b.toLowerCase();if(b==_IG_ViewType.CANVAS)_IG_is_maximized_module(a)||_IG_PushHistory("max"+a,"navTo","");else _IG_is_maximized_module(a)&&_IG_PushHistory("min"+a,"navTo","");if(c){b=_IG_Json.stringify(c);_gel("remote_iframe_"+a).src+="&view-params="+_esc(b)}return ig_b}var _IG_NavigateToGadget=ig_Tb;function ig_Ub(a){return _IG_is_maximized_module(a)?_IG_SupportedViews.CANVAS:_IG_SupportedViews.HOME}
var _IG_GetCurrentView=ig_Ub;function ig_Vb(a){a=_gel("remote_iframe_"+a).src;a=_argsUrl(a);return a=_IG_Json.parse(_unesc(a["view-params"]))}var _IG_GetViewParams=ig_Vb;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.je,"isOnlyVisibleGadget",_IG_View.prototype.He]);var ig_9=function(){function a(g,k){return function(j,l){ig_9.Rc(g,k,_IG_Json.parse(l))}}function b(){var g=_gel("maximized_container");if(!g){g=document.createElement("div");g.id="maximized_container";_gel("modules").parentNode.appendChild(g)}return g}function c(){var g=_gel("gadget_invite_items");if(!g){g=document.createElement("div");g.id="gadget_invite_items";g.className="gadget_invite_items";_IG_AddDOMEventHandler(g,"click",ig_9.qe)}return g}function d(g,k){var j=document.createElement("span");
j.className="gadget_invite_content_item cl linkon";_IG_AddDOMEventHandler(j,"click",function(){k.osit&&_sendx("/ig/osinvites?et="+_et,function(){},ig_c,"action=accept&osit="+k.osit);k.mtid=k.mtid||0;_select_gadget_and_log(k.mtid,k.mid)});j.innerHTML=IG_MSGS.GIGTG.replace(/%1\$s/,g);return j}function e(g){var k=b();k.innerHTML="";k.style.display=g?"":"none";g?_IG_showRoundedCornerOnMaximize():_IG_hideRoundedCornerOnRestore();_gel("rcam_t1").className=g?"rnd1_max_top":"rnd1";_gel("rcam_t2").className=
g?"rnd2_max_top":"rnd2";_gel("rcam_t3").className=g?"rnd3_max_top":"rnd3";k=_IG_getCurrentMaxId();_gel(k?"max_ph":"modules").style.display=g?"none":""}function f(){return typeof _IG_OS_updates_gadget_iframe_url=="undefined"?"":"remote_module_"+_IG_OS_updates_gadget_iframe_url.match(/mid=(-?\d+)/)[1]}var h=ig_c;return{j:ig_,z:0,ra:ig_c,Ac:ig_c,lb:ig_c,nb:ig_b,q:10,wf:function(g){h=g},te:function(){return h},Ge:function(){var g=_args();g=g.force_sandbox;return g=="1"},Rc:function(g,k,j){_IFPC.call(g,
"shindig.requestShareApp_callback",[k,j.success,j.success?ig_:j.message,j.recipientIds],_ifpc_relay_url[_ig_gmid_(g)],ig_,window.location.af+"/ig/images/rpc_relay.html",ig_b,ig_b)},Qc:function(g,k,j,l){var m=_ig_gmid_(g);j=j||[];var n="";if(typeof j=="object"&&j.join){j.length>50&&j.splice(50);n=j.join(",")}else if(typeof j=="string")n=j;else if(!j.cb||j.cb.$f!="VIEWER"&&j.cb.$f!="OWNER"||j.cb.ig!="FRIENDS"){l={sg:ig_c,message:"Invalid recipient.",ng:[]};ig_9.Rc(g,k,l);return}j=ig_u("m",m,"u");var i=
_IG_ViewType.HOME;if(m==_IG_getCurrentMaxId())i=_IG_ViewType.CANVAS;_share_this_gadget(_hesc(_jesc(l)),ig_q(IG_URLS.sgu,["moduleurl="+_esc(j),"mid="+m,"source=os","view="+i,"uids="+n]),m,a(g,k))},Ec:function(){_sendx("/ig/osinvites",function(g){ig_9.j=eval("("+g+")");g=ig_9.j;ig_9.z=g&&g.invite&&g.invite.length?g.invite.length:0;ig_9.ra=g&&!!g.n;_IG_OS_updateGadgetInvites();if(ig_9.z&&ig_9.nb){ig_9.q=Math.min(10,ig_9.z);ig_9.Da(ig_9.j.invite,0,ig_9.q)}})},fd:function(){var g=_gel("gadget_invites_header"),
k=_gel("gadget_shares_nav");if(g&&k){g.style.display="none";k.style.display="none";if(ig_9.z){if(ig_9.ra){g.style.display="block";g=ig_9.z>1?IG_MSGS.GIP:IG_MSGS.GI;g=g.replace(/%1\$d/,ig_9.z);var j=_gel("gadget_invites_header_link");j.innerHTML=g}k.style.display="block";k=_gel("num_invites");k.innerHTML=ig_9.z}if(k=_gel("show_all_invites"))k.innerHTML=IG_MSGS.GISAI.replace(/%1\$d/,ig_9.z)}},Ef:function(){ig_9.nb=ig_b;ig_9.Ec();e(ig_b);_IG_highlight_invites();ig_9.Vb(IG_MSGS.GIH,function(){_IG_PushHistory("",
"gadget_invites","")});b().appendChild(c())},we:function(){if(ig_9.lb){ig_9.lb=ig_c;setTimeout(function(){window.location.replace(ig_T(document.location.href))},0)}e(ig_c);ig_9.nb=ig_c;var g=_IG_getCurrentMaxId();g!=ig_?_IG_highlight_module(g):_IG_highlight_tab()},If:function(){e(ig_b);_IG_highlight_updates();ig_9.Vb(IG_MSGS.GUH,function(){_IG_PushHistory("","social_updates","")});var g=_gel(f());if(!g){g=document.createElement("iframe");g.src=_IG_OS_updates_gadget_iframe_url;g.id=f();g.width="98%";
g.height="900px";g.frameBorder="0";g.style.marginTop="6px";g.style.marginLeft="6px"}b().appendChild(g)},ze:function(){e(ig_c);var g=f();if(g){(g=_gel(g))&&g.parentNode.removeChild(g);g=_IG_getCurrentMaxId();g!=ig_?_IG_highlight_module(g):_IG_highlight_tab()}},Vb:function(g,k){var j=_gel("maximized_container_header");if(!j){j=document.createElement("div");j.id="maximized_container_header";j.className="gititle";var l=document.createElement("h2");j.appendChild(l);var m=document.createElement("span");
m.id="maximized_header_title";m.className="gititle_text";l.appendChild(m);m.innerHTML=g;if(k){g=ig_S("a","",k,{id:"maxContainerMinButton",className:"v2shrinkbox hand"},ig_b);j.appendChild(g)}}g=document.createElement("div");g.style.clear="both";j.appendChild(g);b().appendChild(j)},Da:function(g,k,j){var l=c();l.innerHTML="";var m=document.createElement("div");m.className="gadget_invite_legal";var n="http://www.google.com/support/websearch/bin/answer.py?answer=145550";if(_hl)n+="&hl="+_hl;m.innerHTML=
[IG_MSGS.GIL,' <a href="',n,'" target=_blank>',IG_MSGS.GILM,"</a>"].join("");l.appendChild(m);k=k||0;j=j||g.length;for(m=k;m<j;m++){if(m!=k){n=document.createElement("hr");n.id="invite_item_sep_"+g[m].osit;n.className="invite_item_sep";l.appendChild(n)}ig_9.mf(g[m])}k=document.createElement("div");k.id="bulk_dismiss";k.className="gadget_invite_footer";j=ig_S("span",IG_MSGS.GIBD,function(){_sendx("/ig/osinvites?et="+_et,function(){ig_9.wb(0,ig_c);_IG_PushHistory("","gadget_invites","")},ig_c,"action=declineall")},
{className:"decline_invite linkon"});k.appendChild(j);l.appendChild(k);l.appendChild(ig_9.nf(g.length))},mf:function(g){var k=c(),j=_hesc(g.nam||""),l=_hesc(g.gti||IG_MSGS.GIDGN),m=document.createElement("div");m.className="gadget_invite_item";m.id="invite"+g.osit;var n=document.createElement("img");n.src=g.gtu;n.className="gadget_invite_thumb";m.appendChild(n);n=document.createElement("div");n.id="gadget_invite_content_"+g.osit;n.className="gadget_invite_content";if(_IG_isIE()&&(!document.documentMode||
document.documentMode<=7))n.style.cssText="float:none;zoom:1";var i='<a href="/ig/directory?type=gadgets&url='+g.gur+'" target="_blank">'+l+"</a>",o=IG_MSGS.GID;o=o.replace(/%1\$s/,"gadget_invite_content_item").replace(/%2\$s/,"<strong>"+j+"</strong>").replace(/%3\$s/,_hesc(g.ema||"")).replace(/%4\$s/,"gadget_invite_content_item cl").replace(/%5\$s/,i);n.innerHTML=o;i=g.mid>-1;n.appendChild(document.createElement("br"));if(!i||i&&!g.isc){o="gadget_invite_content_item cl";var p;if(i&&!g.isc){p=IG_MSGS.GIAUBT.replace(/%1\$s/,
j);o+=" add_contact"}else{p=IG_MSGS.GIAG;o+=" accept_invite"}o=ig_S("input","",ig_,{id:"accept_button_"+g.osit,type:"button",value:p,className:o});n.appendChild(o)}if(i&&g.isc){l=d(l,g);n.appendChild(l)}l=i&&g.isc?IG_MSGS.GIDIS:IG_MSGS.GINT;l=ig_S("span",l,ig_,{id:"close_invite_"+g.osit,className:"gadget_invite_content_item decline_invite linkon"});n.appendChild(l);if(!g.isc&&!i){l=IG_MSGS.GIAU;l=l.indexOf("<span")>=0?l.replace(/%1\$s/,j).replace(/%2\$s/,"_IG_OS_openGroupPopup(true);"):l.replace(/%1\$s/,
j).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);");j=document.createElement("span");j.id="add_contacts_container_"+g.osit;j.className="gadget_invite_content_item cl add_user_msg";j.innerHTML=l;n.appendChild(j)}m.appendChild(n);k.appendChild(m)},nf:function(g){var k=document.createElement("div");k.id="gadget_invite_footer";k.className="gadget_invite_footer";for(var j=3,l,m=0;m<j;m++){l=document.createElement("b");l.className="rnd"+(m+1);k.appendChild(l)}l=document.createElement("div");
l.id="gadget_invite_footer_content";l.className="gadget_invite_footer_content";m=ig_S("span",IG_MSGS.GIBTT,ig_9.yd,{className:"leading_edge linkon"});l.appendChild(m);m=ig_S("span",IG_MSGS.GIM,ig_9.Gf,{className:"trailing_edge linkon"});l.appendChild(m);m=document.createElement("span");m.className="trailing_edge spacer";m.appendChild(document.createTextNode("-"));l.appendChild(m);g=ig_S("span",IG_MSGS.GISAI.replace(/%1\$d/,g),ig_9.Cf,{id:"show_all_invites",className:"trailing_edge linkon"});l.appendChild(g);
g=document.createElement("div");g.style.clear="both";l.appendChild(g);k.appendChild(l);for(m=j;m>0;m--){l=document.createElement("b");l.className="rnd"+m;k.appendChild(l)}return k},yd:function(){ig_9.q=Math.min(10,ig_9.j.invite.length);ig_9.Da(ig_9.j.invite,0,ig_9.q)},Gf:function(){ig_9.q=Math.min(ig_9.q+10,ig_9.j.invite.length);ig_9.Da(ig_9.j.invite,0,ig_9.q)},Cf:function(){ig_9.q=ig_9.j.invite.length;ig_9.Da(ig_9.j.invite,0,ig_9.q)},qe:function(g){var k,j=g.target||g.srcElement;for(g=j;g;)if(g.className==
"gadget_invite_item"){k=g.id.replace("invite","");break}else g=g.parentNode;if(k){g="";var l,m;j=j.className;if(j.indexOf("accept_invite")>=0){j=(g=_gel("add_contacts_"+k))?g.checked:ig_c;l="accept";g="addcontact=true";m={X:j?1:0};ig_9.lb=ig_b}else if(j.indexOf("decline_invite")>=0)l="decline";else if(j.indexOf("add_contact")>=0){l="accept";g="addcontact=true";m={X:2}}if(l){g+=(g?"&":"")+"action="+l+"&osit="+k;_sendx("/ig/osinvites?et="+_et,function(n){ig_9.re(n,k,l,m)},ig_c,g)}}},re:function(g,k,
j,l){var m;a:{for(var n=ig_9.j.invite,i=0;i<n.length;i++)if(n[i].osit==k){m=n[i];break a}m=ig_}if(m){g=g&&eval("("+g+")");n=_gel("gadget_invite_content_"+k);var o=_gel("accept_button_"+m.osit),p=_gel("close_invite_"+m.osit),r=_gel("add_contacts_container_"+m.osit);i=_hesc(m.gti||IG_MSGS.GIDGN);var q="";switch(j){case "accept":o.parentNode.removeChild(o);p.parentNode.removeChild(p);r&&r.parentNode.removeChild(r);if(l){if(l.X==0||l.X==1)q+=IG_MSGS.GIGA.replace(/%1\$s/,i);if(l.X==1||l.X==2){j=IG_MSGS.GICA;
j=j.indexOf("<span")>=0?j.replace(/%1\$s/,_hesc(m.nam||"")).replace(/%2\$s/,"_IG_OS_openGroupPopup(true);"):j.replace(/%1\$s/,_hesc(m.nam||"")).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);");q+=(q?" ":"")+j}}j=q;l=_gel("gadget_invite_content_"+k);m=document.createElement("div");m.className="gadget_invite_content_item cl ie_content_fix";q=document.createElement("span");q.className="action_message";q.innerHTML=j;m.appendChild(q);l.appendChild(m);n.appendChild(d(i,
g));break;case "decline":g=_gel("invite"+m.osit);n=g==g.parentNode.firstChild?g.nextSibling:_gel("invite_item_sep_"+m.osit);g.parentNode.removeChild(g);n&&n.parentNode.removeChild(n);break}k=k;g=ig_9.j.invite;for(n=0;n<g.length;n++)if(g[n].osit==k){ig_9.j.invite.splice(n,1);ig_9.wb(ig_9.j.invite.length,ig_9.ra)}ig_9.q=Math.min(ig_9.q,ig_9.j.invite.length)}},Kc:function(g,k){if(ig_9.Ac){window.goog.GroupPopupLauncher.launch("/ig/c","ig",window.goog.GroupPopupLauncher.Group.FRIENDS,g?window.goog.GroupPopupLauncher.PopupType.EDIT:
window.goog.GroupPopupLauncher.PopupType.PICK,{hl:_hl});k&&k()}else _IG_LoadScriptCallback(IG_URLS.gpjsu,function(){ig_9.Ac=ig_b;ig_9.Kc(g,k)})},od:function(){var g=_gel("gadget_invites_header");if(g)g.style.display="none";_sendx("/ig/osinvites?et="+_et,function(){},ig_c,"action=ack")},wb:function(g,k){ig_9.z=g;ig_9.ra=k;ig_9.fd()},Ce:function(){_gel("contacts_nav").style.display="";_gel("tab_separator_social").style.display=""}}}(),_IG_OS_loadGadgetInvitesData=ig_9.Ec,_IG_OS_updateGadgetInvites=
ig_9.fd,_IG_OS_showGadgetInvitesManager=ig_9.Ef,_IG_OS_hideGadgetInvitesManager=ig_9.we,_IG_OS_showUpdates=ig_9.If,_IG_OS_hideUpdates=ig_9.ze,_IG_OS_requestShareApp=ig_9.Qc,_IG_OS_openGroupPopup=ig_9.Kc,_IG_OS_acknowledgeInvitations=ig_9.od,_IG_OS_setPendingInvites=ig_9.wb,_IG_OS_initOpenSocialUI=ig_9.Ce;_IFPC.registerService("shindig.requestShareApp",ig_9.Qc);_IG_AddHistoryCallback(/^social_updates$/,_IG_OS_showUpdates);_IG_AddHistoryCallback(/^gadget_invites$/,_IG_OS_showGadgetInvitesManager);var ig_$=function(){function a(c,d){var e=_gel("m_"+c+"_canvas_social_icon");if(e)e.className=d+e.className.replace(/\bsocialbox\S*/,"");if(c=_gel("m_"+c+"_social_icon"))c.className=d+c.className.replace(/\bsocialbox\S*/,"")}function b(c){ig_$.Fc({moduleUrl:_IG_MD.m[c].u},function(d){ig_$.oc(eval("("+d+")"),c)})}_IG_AddEventHandler("modulesocialedit",function(c){if(!ig_9.te()&&_gel("add_friends_promo"))_gel("add_friends_promo").style.display="block";c=c.replace("m_","");var d=_gel("m_"+c+"_aclform");
d&&ig_$.Sc(d,c)});return{Sc:function(c,d){if(c.module_url){c.reset();var e=c["access_profile"+d];c=c["post_updates"+d];c.disabled=!e.checked}},pe:function(c,d){_closeUserPrefs(d);if(c.module_url){var e=c.module_url.value,f=c["access_profile"+d];c=c["post_updates"+d];f.defaultChecked=f.checked;c.defaultChecked=c.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:c.checked},function(){var g=_gel("remote_iframe_"+d);if(g&&g.src){g.src=ig_T(_IG_Prefs.W(d,g.src));window.frames["remote_iframe_"+d].location.replace(g.src)}})}},Fc:function(c,d){if(c&&c.moduleUrl){var e="/ig/osacl";e+="?url="+c.moduleUrl;if(ig_9.Ge())e+="&force_sandbox=1";if(c.editToken){e+="&et="+c.editToken;var f=c.accessProfile?"t":"f",h=c.accessProfile&&c.postUpdates?"t":"f";e+="&osacl=0:"+
f+",1:"+h}if(c.view)e+="&view="+c.view;_sendx(e,d,ig_c,ig_c)}},oc:function(c,d){var e=_gel("access_profile"+d),f=_gel("post_updates"+d),h=_gel("acl_cancel_"+d),g=_gel("reset_acl_"+d);ig_9.wf(c.has_friends);if(c.user_decided){e.checked=c.friends;f.checked=c.post&&c.friends;f.disabled=!c.friends;if(h)h.style.display="";if(g)g.style.display=""}else{e.checked=ig_b;f.checked=ig_b;f.disabled=ig_c;if(h)h.style.display="none";if(g)g.style.display="none";_showUserPrefs(d,ig_b)}e.defaultChecked=e.checked;f.defaultChecked=
f.checked;a(d,c.friends?"socialboxon":"socialbox");_gel("acl_options_"+d).style.display="block";_gel("aowc_"+d).style.display="none"},Yf:function(c){c=c||"";var d=_gel("access_profile"+c);c=_gel("post_updates"+c);if(d.checked)c.disabled=ig_c;else{c.checked=ig_c;c.disabled=ig_b}},Vd:function(c){if(ig_rb(c,ig_Q.Na))_gel("m_"+c+"_aclform")?_closeUserPrefs(c):ig_$.Tb(c);else{_log("social_options:"+c);_showUserPrefs(c,ig_b)}},Tb:function(c){if(ig_rb(c,ig_Q.Na)){_xsetp("m_"+c+"_dossip=1");_closeUserPrefs(c)}},
be:function(){for(var c in _IG_MD.m){var d=_IG_MD.m[c];d.os&&b(c)}}}}(),_IG_OS_handleFormAclOptions=ig_$.pe,_IG_OS_resetFormAclOptions=ig_$.Sc,_IG_OS_makeAclXhr=ig_$.Fc,_IG_OS_handleGetAclXhrResponse=ig_$.oc,_IG_OS_updateAclOptions=ig_$.Yf,_IG_OS_edit=ig_$.Vd,_IG_OS_closeSocialSignInPromo=ig_$.Tb,_IG_OS_getAllAcl=ig_$.be;function ig_Wb(){window._IG_CONTAINER&&setInterval(function(){_sendx("/ig/ostokens",ig_Xb)},18E5)}function ig_Yb(a,b){var c=a.split("#");if(!c[1])return a;a=c[1].split("&");for(var d=0;d<a.length;++d)if(/^st=/.test(a[d]))a[d]="st="+_hesc(b);c[1]=a.join("&");return c.join("#")}
function ig_Xb(a){if(!(!a||a.length<27||a.charAt(27)!="{")){a=eval("("+a.substring(27)+")");if(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_Yb(remote_modules[c].base_iframe_url,e);if(c=ig_u("m",d,"view","max_u"))_IG_MD.m[d].view.max_u=ig_Yb(c,e)}_gel("remote_iframe_"+d)&&_IFPC.call("remote_iframe_"+d,"update_security_token",[e],window._ifpc_relay_url[d],ig_,window.location.af+
"/ig/images/rpc_relay.html",ig_b,ig_b)}}}}ig_Wb();var _handleAuthRefreshJsonResponse=ig_Xb;
