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;function ig_d(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_d(c);for(var e=0;e<d.length;e+=2)c[d[e]]=d[e+1]}function b(c,d,e,f,g){if(f)for(var h=0;h<f.length;h+=2)e.prototype[f[h]]=f[h+1];if(g)for(h=0;h<g.length;h+=2)e[g[h]]=g[h+1];a(c,[d,e])}a("",["_exportSymbols",a]);a("",["_exportClass",b])})();function ig_aa(a,b,c){if(!a.className)return ig_c;for(var d=a.className.split(" "),e=[],f=ig_c,g=0;g<d.length;++g)if(d[g]!=b)e.push(d[g]);else{f=ig_b;c&&e.push(c)}a.className=e.join(" ");return f};function ig_e(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_e(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_ba={domload:1,xsetpdone:1,moduleedit:1,modulesocialedit:1,modulecanceledit:1,moduledelete:1,moduleundelete:1,modulezip:1,moduleunzip:1,modulemaximize:1,moduleunmaximize:1,moduledragstart:1,moduledragend:1,moduletitleclick:1,load:1,unload:1,resize:1},ig_f={},ig_ca={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_da(a){if(a.hasOwnProperty&&a.hasOwnProperty("ig_event_hashcode_"))return a.sa;a.sa||(a.sa=++ig_g.ub);return a.sa}function ig_ea(a){return"builtin_"+a}function ig_fa(a,b){if(a.indexOf&&a.indexOf("m_")==0)a=a.substring(2);return"builtin_m"+a+"_"+b}function ig_ga(a,b){return"builtin_"+ig_g.rb(a)+"_"+b}function ig_ha(a){return"custom_"+a}
function ig_ia(){for(var a in ig_g.c){for(var b=0;b<ig_g.c[a].length;b++)delete ig_g.c[a][b];if(a in ig_g.O){var c=ig_g.O[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_g.O[a]}}ig_f={}}function ig_ja(a,b,c){for(c=c;c<b.length;c++)a[a.length]=b[c];return a}function ig_ka(a,b){if(a in ig_g.c)for(var c=0;c<ig_g.c[a].length;c++)if(ig_g.c[a][c]===b){ig_g.c[a][c]=ig_;return ig_b}return ig_c}
function ig_la(a){if(a in ig_g.c)for(var b=0;b<ig_g.c[a].length;b++)if(ig_g.c[a][b]){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];ig_g.c[a][b].apply(this,c)}}function ig_ma(a,b){if(!(a in ig_g.Ab))ig_a(Error("Unsupported event type: "+a));a=ig_g.da(a);a in ig_g.c||(ig_g.c[a]=[]);ig_g.c[a][ig_g.c[a].length]=b;return ig_g.c[a].length}
function ig_na(a,b,c){if(!(b in ig_g.Bb))ig_a(Error("Unsupported module event type: "+b));a=ig_g.ea(a,b);a in ig_g.c||(ig_g.c[a]=[]);ig_g.c[a][ig_g.c[a].length]=c}
function ig_oa(a,b,c){var d=ig_g.Ka(a,b);if(!(d in ig_g.c)){ig_g.c[d]=[];var e=function(f){if(!f)f=window.event;ig_g.Y.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_g.O[d]=[a,b,e]}e=ig_g.c[d].length;if(a===window&&b=="unload"&&e>0){ig_g.c[d][e]=ig_g.c[d][e-1];ig_g.c[d][e-1]=c}else if(ig_f[b])setTimeout(c,10);else ig_g.c[d][e]=c}
function ig_pa(a,b){a=ig_g.ca(a);a in ig_g.c||(ig_g.c[a]=[]);ig_g.c[a][ig_g.c[a].length]=b}function ig_qa(a,b){a=ig_g.da(a);return ig_g.W(a,b)}function ig_ra(a,b,c){a=ig_g.ea(a,b);return ig_g.W(a,c)}function ig_sa(a,b,c){a=ig_g.Ka(a,b);return ig_g.W(a,c)}function ig_ta(a,b){a=ig_g.ca(a);return ig_g.W(a,b)}
function ig_ua(a){var b=a=="load"||a=="domload",c=ig_c;if(b){(c=ig_f[a])||_IG_TriggerCustomEvent(a+"_start");ig_f[a]=ig_b}var d=ig_g.I([ig_g.da(a)],arguments,1);ig_g.Y.apply(window,d);b&&!c&&_IG_TriggerCustomEvent(a+"_end")}function ig_h(){var a=ig_g.I([],arguments,0);setTimeout(function(){ig_g.triggerEvent.apply(window,a)},0)}function ig_va(a,b){var c=ig_g.I([ig_g.ea(a,b)],arguments,2);ig_g.Y.apply(window,c)}
function ig_i(){var a=ig_g.I([],arguments,0);setTimeout(function(){ig_g.triggerModuleEvent.apply(window,a)},0)}function ig_wa(a){var b=ig_g.I([ig_g.ca(a)],arguments,1);ig_g.Y.apply(window,b)}function ig_xa(){var a=ig_g.I([],arguments,0);setTimeout(function(){ig_g.triggerCustomEvent.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_i(b,a);ig_h("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_g={ub:0,c:{},O:{},Ab:ig_ba,Bb:ig_ca,rb:ig_da,da:ig_ea,ea:ig_fa,Ka:ig_ga,ca:ig_ha,nb:ig_ia,I:ig_ja,W:ig_ka,Y:ig_la,addEventHandler:ig_ma,addModuleEventHandler:ig_na,addDOMEventHandler:ig_oa,addCustomEventHandler:ig_pa,removeEventHandler:ig_qa,removeModuleEventHandler:ig_ra,removeDOMEventHandler:ig_sa,removeCustomEventHandler:ig_ta,triggerEvent:ig_ua,triggerModuleEvent:ig_va,triggerCustomEvent:ig_wa,triggerDelayedEvent:ig_h,triggerDelayedModuleEvent:ig_i,triggerDelayedCustomEvent:ig_xa},_IG_AddEventHandler=
ig_g.addEventHandler,_IG_AddModuleEventHandler=ig_g.addModuleEventHandler,_IG_AddGadgetEventHandler=ig_g.addModuleEventHandler,_IG_AddDOMEventHandler=ig_g.addDOMEventHandler,_IG_AddCustomEventHandler=ig_g.addCustomEventHandler,_IG_RemoveEventHandler=ig_g.removeEventHandler,_IG_RemoveModuleEventHandler=ig_g.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=ig_g.removeModuleEventHandler,_IG_RemoveDOMEventHandler=ig_g.removeDOMEventHandler,_IG_RemoveCustomEventHandler=ig_g.removeCustomEventHandler,
_IG_TriggerEvent=ig_g.triggerEvent,_IG_TriggerModuleEvent=ig_g.triggerModuleEvent,_IG_TriggerGadgetEvent=ig_g.triggerModuleEvent,_IG_TriggerCustomEvent=ig_g.triggerCustomEvent,_IG_TriggerDelayedEvent=ig_g.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=ig_g.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=ig_g.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=ig_g.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",ig_g.nb);_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){var c=function(){};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_ya=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_q(a,b){a=ig_ya.exec(a);var c=[a[1],"?",a[2]];c.push(a[2]?"&":"",b.join("&"),a[3]);return c.join("")}function ig_r(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_r(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_r(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_s=[],ig_t=ig_c;function ig_za(a){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 b.join("&")}
function ig_u(){return ig_za([["et",_et],["pid",_pid],["ap",_authpath],["brand",_brand],["bmod",_bmod],["source",_source],["ae",_ae],["prefid",_prefid]])}function ig_v(){if(ig_s.length==0)ig_t=ig_c;else{ig_t=ig_b;var a=_setp_url+_qs()+ig_u(),b=ig_s.join("&");ig_s=[];var c=a.length+b.length>=1800;if(c)_sendx(a,ig_w,ig_c,b);else{a+="&"+b;_sendx(a,ig_w,ig_c,ig_)}}}function ig_w(){_IG_TriggerDelayedEvent("xsetpdone");ig_v()}function _xsetp(a){ig_s.push(a);ig_t||ig_v()}
function _xsetp_is_done(){return ig_s.length==0&&ig_t==ig_c}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+_qs()+ig_u()+"&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_x(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._FLAGS_use_server_side_persistent_maximized_module?ig_x("/ig"+_qs()+"t="+a+"&g="+b):ig_x("/ig"+_qs()+"t="+a+"#max"+b)}function ig_x(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 ig_Aa(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]}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_y(){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_z(a){this.l=[];this.ta=a;this.L("_IG_DD_open");this.L("_IG_hoverHeader");this.L("_IG_hoverModule");this.r("_IG_DD_create");this.r("_IG_DD_init");this.r("_IG_initDrag");this.r("_IG_PushHistory");this.r("_IG_PU_MakeDialogButton")}ig_z.prototype.wa=ig_c;ig_z.prototype.ha=ig_c;ig_z.eb=1E4;
ig_z.prototype.r=function(a){if(this.ta){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_d(a.substring(0,c));a=a.substring(c+1)}if(b[a]&&!b[a].Ra)ig_a(new Error(a+" is already defined."));b[a]=this.La(a)}};ig_z.prototype.L=function(a){if(this.ta){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_d(a.substring(0,c));a=a.substring(c+1)}b[a]=function(){}}};
ig_z.prototype.La=function(a){var b=this,c=function(){for(var d=[],e=0;e<arguments.length;e++)d.push(arguments[e]);b.l.push([a,this,d])};c.Ra=ig_b;return c};ig_z.prototype.ba=function(){if(this.l.length!=0){var a=this.l.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.l.length>0){var f=this;setTimeout(function(){f.ba()},0)}else{this.ha=ig_b;this.Ya()}}};
ig_z.prototype.Ja=function(){for(var a=[],b=0;b<this.l.length;b++){var c=this.l[b][0];if(!(c instanceof Function))if(window[c].Ra){a.push(c);this.l.splice(b,1);b--}}var d=this;setTimeout(function(){d.ba()},0);if(a.length>0)ig_a(new Error("The following functions were not found in the post load file: "+a.join(", ")))};ig_z.prototype.Ya=function(){for(var a=_gelstn("*"),b=0;b<a.length;b++){var c=a[b];c.className&&c.className.split&&ig_aa(c,"disabled",ig_)}};
ig_z.prototype.Va=function(a,b){b=this.Ua(b);_IG_AddEventHandler(a,b);setTimeout(b,ig_z.eb)};ig_z.prototype.Ua=function(a){var b=this;return function(){if(!b.wa){_IG_LoadScriptXDomain(a,"window._IG_DD_position",function(){b.Ja()});b.wa=ig_b}}};ig_z.prototype.Ia=function(a){this.ha||!this.ta?a():this.l.push([a,ig_,[]])};var ig_A;ig_A||(ig_A=new ig_z(window.FLAG_isInSplitJS));function _IG_callPostLoad(a){ig_A.Ia(a)}function _IG_deferFunction(a){ig_A.r(a)}function _IG_ignoreFunction(a){ig_A.L(a)}
function _IG_loadPostloadJS(a,b){ig_A.Va(a,b)};function _edit(a,b){var c=function(){b&&b();_sendx("/ig/ui?action=editsettings&m="+a);ig_j("edit","m_"+a)},d=ig_B[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_B={};function _IG_AddCustomEditHandler(a,b){ig_B[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(){for(var a=ig_Ba(),b=[],c=/^m_[0-9]+$/,d=0;d<a.length;d++){b[d]=[];for(var e=b[d],f=0;f<a[d].childNodes.length;f++){var g=a[d].childNodes[f];g.tagName=="DIV"&&g.style.display!="none"&&g.id&&c.test(g.id)&&e.push(g)}}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}
function ig_Ba(){for(var a=_gelsbyregex("DIV",/^c_[0-9]+$/),b=[],c=0;c<a.length;c++)a[c].style.display!="none"&&b.push(a[c]);return b}var ig_C=ig_c;function _del_is_done(){return _xsetp_is_done()&&ig_C}
function _del(a,b,c){ig_C=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_C=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}function ig_Ca(a){_xsetp("pnlo="+(a?1:0))}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=ig_c,ig_D=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",""]}ig_Aa(a);_IG_callPostLoad(_init_drag_drop)}
function _init_drag_drop(){if(_pl)if(_cbp||_uli)if(!ig_D&&!_mpnlo){_IG_TriggerCustomEvent("initdrag",_table,_tabs);ig_D=ig_b}}var ig_E=0;
function _tp(a){ig_E>0&&clearInterval(ig_E);_pnlo=a;_mod=ig_b;ig_Ca(a);_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 g=10,h=0;ig_E=setInterval(function(){var j=h/g,i=d+(e-d)*j;b.style.width=i+"px";h++;if(j>=1){clearInterval(ig_E);ig_E=0;b.style.width=e+"px";b.style.overflow=f}},a/g);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_F=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/,ig_G=ig_b;function _find_feed_is_done(){return ig_G}
function _find_feed(a){ig_G=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_Da);return ig_c}
function ig_Da(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_F)!=ig_;eval(a)}ig_G=ig_b}function _add_remote_module(a,b,c){_sendx("/ig/feeds"+_qs()+"module=1&q="+_esc(a),function(d){b();ig_Ea(d,c)});return ig_c}
function ig_Ea(a,b){var c=/_add_m_confirm\((\"[^"]+\"),\s*(\"[^"]+\")(,\s*\"[^"]+\")?\)/,d=/^alert\(\"[^"]+\"\)$/;if(a.match(ig_F)!=ig_||a.match(d)!=ig_){if(b)a=a.replace(c,"_add_m($1$3)");eval(a)}}
function _ListApp(a,b,c){this.items=a;this.deleted=[];this.item_constructor=b;this.module_id=c;this.app_name="m_"+c+"_App";this.display_area=_gel("m_"+c+"_disp");this.sort_on_refresh=ig_b;this.value_input_field=_gel("m_"+c+"_val");this.name_input_field=_gel("m_"+c+"_name");if(!this.name_input_field)this.name_input_field=this.value_input_field;if(this.name_input_field){this.default_name=this.name_input_field.value;this.default_value=this.value_input_field.value}this.prev_items=[].concat(this.items)}
_ListApp.prototype.reset=function(){this.items=[].concat(this.prev_items);this.deleted=[];this.refresh()};_ListApp.prototype.sort=function(a,b){return a.F(b)};
_ListApp.prototype.Xa=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].K()+'</font></td><td><a href="#" onclick="'+this.app_name+"._del("+d+');return false"><img src="/ig/images/x.gif" width=16 height=13 border=0></a></td></tr>':'<a href="#" onclick="'+this.app_name+"._del("+d+');return false" class="delbox listdelbox"></a>'+c[d].K()+'<div class="c"></div>';if(parseInt(c[d]._uid,
10)<0)b+=c[d].p(d)}else{this.items.splice(d,1);d--}c=this.deleted;var e="";for(d=0;d<c.length;d++)if(parseInt(c[d]._uid,10)>=0)e+=","+c[d]._uid;a+=this.qa(b,e);return a};_ListApp.prototype.qa=function(a,b){var c="<input type=hidden name=m_"+this.module_id+'_del value="'+b+'"><input type=hidden name=m_'+this.module_id+'_add value="'+a+'">';if(_old_html)c="</table><input type=hidden name=m_"+this.module_id+'_del value="'+b+'"><input type=hidden name=m_'+this.module_id+'_add value="'+a+'">';return c};
_ListApp.prototype.refresh=function(){this.sort_on_refresh&&this.items.sort(this.sort);this.display_area.innerHTML="<font size=-1>"+this.Xa()+"</font>"};_ListApp.prototype.add=function(a,b){a||(a=_trim(this.name_input_field.value));b||(b=_trim(this.value_input_field.value));a=new this.item_constructor(a,b,-1);if(a.H()){this.items[this.items.length]=a;this.refresh();this.name_input_field.value=this.default_name;this.value_input_field.value=this.default_value}};
_ListApp.prototype._del=function(a){this.deleted[this.deleted.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 g in d)this[g]=d[g];typeof c=="string"&&this.Wa(c);this.prefidx=a;this.prefname=b;this.app_name="m_"+e+"_"+a+"_App";this.display_area=_gel("m_"+e+"_"+a+"_disp");this.name_input_field=this.value_input_field=_gel("m_"+e+"_"+a+"_val");this.default_value=this.default_name="";this.qa=_PrefListApp_get_tail}
function _PrefListApp_get_tail(){var a="</table>";_gel("m_"+this.module_id+"_"+this.prefidx).value=this.bb();return a}_PrefListApp.prototype.Wa=function(a){if(a.length!=0){a=_IG_Prefs._strToArray(a);for(var b=[],c=0;c<a.length;c++){var d=new this.item_constructor(a[c],a[c],-1);b[b.length]=d}this.items=b;this.prev_items=[].concat(b)}};_PrefListApp.prototype.bb=function(){for(var a=[],b=0;b<this.items.length;b++)a[a.length]=this.items[b]._v;return _IG_Prefs._arrayToStr(a)};
function _ListItem(a,b,c){this._n=a;this._v=b;this._uid=c}_ListItem.prototype.H=function(){return this._n!=""};_ListItem.prototype.F=function(){return 0};_ListItem.prototype.K=function(){return _hesc(this._n)};_ListItem.prototype.p=function(){return"&"+_esc(this._n)+"="+_esc(this._v)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_k(_ListItem,_BMListItem);_BMListItem.prototype.H=function(){return _ListItem.prototype.H.call(this)&&this._n!="http://"};
_BMListItem.prototype.Q=function(){if(this._v)return this._v;else{var a=this._n;if(a.indexOf("http://")==0)a=a.substring(7);if(a.indexOf("www.")==0)a=a.substring(4);return a}};_BMListItem.prototype.K=function(){return'<a href="'+this._n+'" target=bmwindow>'+_hesc(this.Q())+"</a>"};_BMListItem.prototype.p=function(a){return"&b"+a+"="+_esc(this._n)+"&t"+a+"="+_esc(this._v)};_BMListItem.prototype.F=function(a){var b=_uc(this.Q());a=_uc(a.Q());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.p=function(){var a="&"+_esc(this._n);if(this._v)a+="="+_esc(this._v);return a};function _FListItem(a,b,c,d){_ListItem.call(this,a,b,c);this._s=d||0}ig_k(_ListItem,_FListItem);_FListItem.prototype.p=function(){return"&"+_esc(this._n)};_FListItem.prototype.F=function(a){var b=this;if(b._s<a._s)return-1;if(b._s>a._s)return 1;b=_uc(b._n);a=_uc(a._n);if(b<a)return-1;if(b>a)return 1;return 0};
function ig_H(a){if(!a)a=document.body;return a.scrollHeight>a.offsetHeight?a.scrollHeight:a.offsetHeight}function ig_I(){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_H,"scrollTop",ig_I]);var ig_J={},ig_K={};
function _place(a,b){var c=ig_K[a];if(c)c(b);else{ig_J[a]||(ig_J[a]=[]);ig_J[a].push(b)}}function _register_place(a,b){ig_K[a]=b;var c=ig_J[a];if(c){for(var d=0;d<c.length;d++)b(c[d]);ig_J[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 _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)}}function ig_L(){var a=_IG_Callback.apply(ig_,arguments);return function(){a()}};var ig_M=function(){function a(){if(!(e||c)){c=ig_b;_IG_LoadScript("/ig/ll"+window.location.search,"")}}function b(){f(e,d);d=[]}var c=ig_c,d=[],e=ig_,f=ig_;return{init:function(){},load:function(g,h,j){if(_gel(g))j(h);else{d.push({id:g,args:h,callback:j});if(!c)if(e)b();else{_sendx("/ig/ui?action=lazy&id="+g,ig_,ig_c,ig_);a()}}},loaded:function(g,h){e=g;f=h;c=ig_c;b()},Jb:function(){c=ig_c;d=[];f=e=ig_}}}(),_IG_LL_init=ig_M.init,_IG_LL_load=ig_M.load,_IG_LL_loaded=ig_M.loaded;function ig_Fa(){var a=0,b=0;if(window.innerHeight){a=window.innerWidth;b=window.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}else if(document.body.clientHeight){a=document.body.clientWidth;b=document.body.clientHeight}return{width:a,height:b}}
function ig_N(){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}};var ig_O=[];function _IG_isModuleInVisibleArea(a){var b=ig_I(),c=ig_Fa().height,d=parseInt(a.style.height,10);a=_findPos(a)[1];return a+d>b&&a<b+c}function _IG_delayLoadGadget(a){ig_O.push(a)}function _IG_loadDelayLoadGadgets(){for(var a=0;a<ig_O.length;++a){var b=_gel("remote_iframe_"+ig_O[a].id);if(b){var c=b.getAttribute("src");if(c==ig_||c=="")b.src=ig_O[a].base_iframe_url}}};function _IG_MD_Generate(a){var b={t:{},dt:[],m:{},f:{}};ig_Ga(a,b);ig_Ha(a,b);ig_Ia(a,b);if(a.ct!=ig_&&b.t)b.ct=b.t[a.ct];ig_Ja(a,b);return b}function ig_Ga(a,b){if(a.t)for(var c=0;c<a.t.length;++c){var d=a.t[c];b.t[d.i]=d;b.t[d.i].m={}}}function ig_Ha(a,b){if(a.f)for(var c=0;c<a.f.length;++c){var d=a.f[c];b.f[d.n]=d}}function ig_Ia(a,b){if(a.m)for(var c=0;c<a.m.length;++c){var d=a.m[c];d.fa||(d.fa={});b.m[d.i]=d;var e=b.t[d.t];if(e)e.m[d.i]=d}}
function ig_Ja(a,b){if(a.dt)for(var c=0;c<a.dt.length;++c)b.dt[c]=b.t[a.dt[c]]};var ig_P;
ig_P||(ig_P=function(){function a(i){return i<10?"0"+i:i}function b(i){e.lastIndex=0;return e.test(i)?'"'+i.replace(e,function(k){var l=h[k];if(typeof l==="string")return l;return"\\u"+("0000"+(+k.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+i+'"'}function c(i,k){var l,n,o=f,p,m=k[i];if(m&&typeof m==="object"&&typeof m.toJSON==="function")m=m.toJSON(i);if(typeof j==="function")m=j.call(k,i,m);switch(typeof m){case "string":return b(m);case "number":return isFinite(m)?String(m):"null";case "boolean":case "null":return String(m);
case "object":if(!m)return"null";f+=g;p=[];if(typeof m.length==="number"&&!m.propertyIsEnumerable("length")){n=m.length;for(i=0;i<n;i+=1)p[i]=c(i,m)||"null";k=p.length===0?"[]":f?"[\n"+f+p.join(",\n"+f)+"\n"+o+"]":"["+p.join(",")+"]";f=o;return k}if(j&&typeof j==="object"){n=j.length;for(i=0;i<n;i+=1){l=j[i];if(typeof l==="string")if(k=c(l,m))p.push(b(l)+(f?": ":":")+k)}}else for(l in m)if(Object.hasOwnProperty.call(m,l))if(k=c(l,m))p.push(b(l)+(f?": ":":")+k);k=p.length===0?"{}":f?"{\n"+f+p.join(",\n"+
f)+"\n"+o+"}":"{"+p.join(",")+"}";f=o;return k}}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
f,g,h={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},j;return{stringify:function(i,k,l){k=k;l=l;var n;g=f="";if(typeof l==="number")for(n=0;n<l;n+=1)g+=" ";else if(typeof l==="string")g=l;if((j=k)&&typeof k!=="function"&&(typeof k!=="object"||typeof k.length!=="number"))ig_a(new Error("JSON.stringify"));return c("",{"":i})},parse:function(i,k){function l(o,p){var m,r,q=o[p];if(q&&typeof q==="object")for(m in q)if(Object.hasOwnProperty.call(q,m)){r=l(q,m);if(r!==
undefined)q[m]=r;else delete q[m]}return n.call(o,p,q)}var n=k;d.lastIndex=0;if(d.test(i))i=i.replace(d,function(o){return"\\u"+("0000"+(+o.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(i.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){i=eval("("+i+")");return typeof n==="function"?l({"":i},""):i}ig_a(new Error("JSON.parse"))}}}());
ig_P.parse=function(){var a=ig_P.parse;return function(b,c){try{return a(b,c)}catch(d){return ig_c}}}();function ig_Ka(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.pool_locked=a;this.j[this.j.length]=c;b.removeChild(c);return c}
function ig_La(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=ig_,d=b.j.length-1;d>=0;d--){var e=b.j[d];if(e&&!e.pool_locked){e.parentNode.removeChild(e);if(window.ActiveXObject){b.j[d]=ig_;b.j.splice(d,1)}else{e.pool_locked=ig_b;c=e;break}}}c=c?c:b.mb(ig_b);c.src=a;document.body.appendChild(c)},0)}}function ig_Ma(){for(var a=0;a<this.j.length;a++){this.j[a].onload=ig_;this.j[a]=ig_}this.j.length=0;this.j=[]}
function ig_Na(){for(var a=0;a<this.j.length;a++){var b=this.j[a];b&&b.parentNode.removeChild(b)}}function ig_Oa(){this.j=[];this.mb=ig_Ka;this.iframe=ig_La;this.clear=ig_Ma;this.dispose=ig_Na}function ig_Pa(a,b){_IFPC.M[a]=b}function ig_Qa(a){delete _IFPC.M[a]}
function ig_Ra(a,b,c,d,e,f,g,h){if(!_IFPC.ia){var j=4095-d.length;j=parseInt(j/3,10);if(typeof g=="undefined")g=ig_b;if(h){g={s:b,a:c,f:"..",t:window._isk[a.split("_")[2]]};a=[a,"..",_IFPC.aa,1,1,encodeURIComponent(ig_P.stringify(g))].join("&");_IFPC.T.iframe(d+"#"+a)}else{c=c.slice(0);c.unshift(_IFPC.wb(e));c.unshift(f);c.unshift(b);c.unshift(a);b=_IFPC.Oa(c);c=parseInt(b.length/j,10);if(b.length%j>0)c+=1;for(e=0;e<c;e++){f=b.substr(e*j,j);f=[a,_IFPC.aa,c,e,f,g];_IFPC.T.iframe(d+"#"+_IFPC.Oa(f))}}_IFPC.aa++}}
function ig_Sa(){_IFPC.M={};_IFPC.B={};_IFPC.T.clear()}function ig_Ta(){if(!_IFPC.ia){_IFPC.ia=ig_b;_IFPC.T.dispose();_IFPC.clear()}}
function ig_Q(a){var b=_IFPC.ga(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_Ua(a){a=_IFPC.ga(a);var b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift();a=a.shift();b=b+"_"+c;_IFPC.z[b]||(_IFPC.z[b]=[]);_IFPC.z[b].push([e,f]);if(_IFPC.z[b].length==d){_IFPC.z[b].sort(function(h,j){return parseInt(h[0],10)-parseInt(j[0],10)});f="";for(e=0;e<d;e++)f+=_IFPC.z[b][e][1];_IFPC.z[b]=ig_;e=_IFPC.ga(f);b=e.shift();c=e.shift();d=e.shift();f=e.shift();var g=_IFPC.tb(c);if(g){a=g.apply(ig_,e);if(_IFPC.vb(f)){a.unshift(f);_IFPC.call(b,_IFPC.Aa,a,d,ig_,"")}}else if(a)ig_a(new Error("Service "+
c+" not registered."))}}function ig_Va(a){return _IFPC.M.hasOwnProperty(a)?_IFPC.M[a]:ig_}function ig_Wa(a){var b="";if(a&&typeof a=="function"){b=_IFPC.sb();_IFPC.B[b]=a}return b}function ig_Xa(a){if(_IFPC.B.hasOwnProperty(a))_IFPC.B[a]=ig_}function ig_Ya(a){if(a&&_IFPC.B.hasOwnProperty(a))return _IFPC.B[a];return ig_}function ig_Za(){return _IFPC.za+_IFPC.kb++}function ig__a(a){return(a+"").indexOf(_IFPC.za)==0}
function ig_0a(a){a=a.split("&");for(var b=0;b<a.length;b++){var c=decodeURIComponent(a[b]);try{c=ig_P.parse(c)}catch(d){}a[b]=c}return a}function ig_1a(a){for(var b=[],c=0;c<a.length;c++){var d=ig_P.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function ig_2a(a){var b=_IFPC.qb(a);if(b){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(ig_,c);_IFPC.Cb(a)}else ig_a(new Error("Invalid callbackId"))}var _IFPC={};
function ig_3a(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_Pa,unregisterService:ig_Qa,call:ig_Ra,clear:ig_Sa,dispose:ig_Ta,relayRequest:ig_Q,processRequest:ig_Q,handleRequest:ig_Ua,za:"cbid",Aa:"ifpc_callback",T:new ig_Oa,z:{},M:{},B:{},kb:0,aa:0,ia:ig_c,tb:ig_Va,wb:ig_Wa,Cb:ig_Xa,qb:ig_Ya,sb:ig_Za,vb:ig__a,ga:ig_0a,Oa:ig_1a,lb:ig_2a};_IFPC.registerService(_IFPC.Aa,
_IFPC.lb);}}ig_3a(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.U[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.U[a]=ig_b}_IG_Prefs.d[_IG_Prefs.q+a]||(_IG_Prefs.d[_IG_Prefs.q+a]={});this.d=_IG_Prefs.d[_IG_Prefs.q+a];this.va=a;this.Ib=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/}
_IG_Prefs.prototype.S=function(a,b){if(b==undefined)b=ig_;a=this.d[a];if(a==undefined)return b;a=a.value;return a!=undefined?a:b};_IG_Prefs.prototype.R=function(a,b){return this.S(_IG_Prefs.h+a,b)};_IG_Prefs.prototype.v=function(a){var b="";a=this.R(a,b);return a!=ig_?a+"":b};_IG_Prefs.prototype.ma=function(a){var b=0;a=parseInt(this.R(a,b),10);return isNaN(a)?b:a};_IG_Prefs.prototype.ka=function(a){a=this.v(a);return a==="true"||!!parseInt(a,10)};
_IG_Prefs.prototype.ja=function(a){return _IG_Prefs._strToArray(this.R(a,""))};_IG_Prefs.prototype.xa=function(a,b){this.set(a,_IG_Prefs._arrayToStr(b))};_IG_Prefs.prototype.la=function(){return this.v(".country")};_IG_Prefs.prototype.na=function(){return this.v(".lang")};_IG_Prefs.prototype.oa=function(a){return this.S(_IG_Prefs.Da+a,"")+""};
_IG_Prefs.prototype.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.h+d,f=arguments[c*2+1]+"";this.db(e,f)&&b.push(d,f)}if(b.length!=0)_IG_Prefs.U[this.va]?_IG_Prefs._setP(this.va,b):_IFPC_SetPref(b)}};
function ig_4a(a){var b="todos",c=_ig_gmid_(a);b=(new _IG_Prefs(Number(c))).v(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_R(a,e,d,c)}}else ig_R(a,b)}function ig_R(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_4a);_IG_Prefs.prototype.pa=function(){var a=["__module_id__="+this.va];for(var b in this.d)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.d[b].value));return a.join("&")};_IG_Prefs.prototype.dump=function(){document.write("<pre>");for(var a in this.d)document.writeln(a+" = "+this.S(a,ig_));document.write("</pre>")};
_IG_Prefs.prototype.db=function(a,b){var c=this.d[a];if(c&&c.value===b)return ig_c;if(c)c.value=b;else{c=new _IG_Prefs_PrefsData;c.value=b;this.d[a]=c}return ig_b};_IG_Prefs.U={};_IG_Prefs.d={};_IG_Prefs.q="m_";_IG_Prefs.h="up_";_IG_Prefs.fb="up_";_IG_Prefs.Da="msg_";_IG_Prefs.$={};_IG_Prefs.$[_IG_Prefs.fb]="value";_IG_Prefs.Fb=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.U[a]=ig_c;for(var b={},c=ig_e(),d=0;d<c.length;++d){var e=c[d].indexOf("=");if(e>=0){var f=c[d].substring(0,e);f=f.replace(/\+/g," ");e=c[d].substring(e+1);e=e.replace(/\+/g," ");e=_unesc(e);var g=ig_c;for(var h in _IG_Prefs.$)if(f.indexOf(h)===0){g=ig_b;f=f.substring(h.length);f=_IG_Prefs.h+f;b[f]=b[f]?b[f]:new _IG_Prefs_PrefsData;if(h===_IG_Prefs.Eb||h===_IG_Prefs.Db)e=e=="true";b[f][_IG_Prefs.$[h]]=e;break}if(!g)if(f.indexOf(_IG_Prefs.Da)===0)_IG_Prefs._add(a,
f,e);else if(f===".lang"||f===".country")_IG_Prefs._add(a,_IG_Prefs.h+f,e)}}if(window.IDIModule){b=window.IDIModule.getPrefs();for(d in b)_IG_Prefs._add(a,d,b[d])}else for(f in b)_IG_Prefs._add(a,f,b[f].value)};_IG_Prefs._add=function(a,b,c){a=_IG_Prefs.q+a;if(typeof _IG_Prefs.d[a]!=="object")_IG_Prefs.d[a]={};if(typeof _IG_Prefs.d[a][b]!=="object"){_IG_Prefs.d[a][b]=new _IG_Prefs_PrefsData;b=_IG_Prefs.d[a][b];b.value=c}};
_IG_Prefs.yb=function(a,b,c){var d=_IG_Prefs.q+a;if(typeof _IG_Prefs.d[d]!=="object")_IG_Prefs._add(a,b,c);else if(typeof _IG_Prefs.d[d][b]!=="object")_IG_Prefs.d[d][b]=new _IG_Prefs_PrefsData;a=_IG_Prefs.d[d][b];a.value=c};_IG_Prefs._addAll=function(a,b){for(var c=0;c<b.length;++c)_IG_Prefs._add(a,b[c][0],b[c][1])};_IG_Prefs._arrayToStr=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._strToArray=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._updatePrefsInUrl=function(a,b){a=_IG_Prefs.q+a;a=_IG_Prefs.d[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.h)!==-1&&(c.length===1||("&"+c[1]).indexOf("&"+_IG_Prefs.h)===-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.h)===0&&e.splice(f--,1);for(var g in a)g.indexOf(_IG_Prefs.h)!==0||g.indexOf(_IG_Prefs.h+".lang")===0||g.indexOf(_IG_Prefs.h+".country")===0||
g.indexOf(_IG_Prefs.h+"synd")===0||e.push(_esc(g)+"="+_esc(a[g].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.h+b[d*2],f=b[d*2+1];_IG_Prefs.yb(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.h+b[e*2],g=b[e*2+1];d.push(_IG_Prefs.q+a+"_"+f+"="+_esc(g))}d.length!==0&&_xsetp(d.join("&"))}};
_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",_IG_Prefs.prototype.v,"getInt",_IG_Prefs.prototype.ma,"getBool",_IG_Prefs.prototype.ka,"getArray",_IG_Prefs.prototype.ja,"setArray",_IG_Prefs.prototype.xa,"getLang",_IG_Prefs.prototype.na,"getCountry",_IG_Prefs.prototype.la,"getMsg",_IG_Prefs.prototype.oa,"getPreloadedString",_IG_Prefs.prototype.pa,"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),g=_gel("ftl_"+a+"_"+b);if(f.style.display=="block")ig_S(e,f,g,c);else{var h=_IG_FR_getFeed(a);if(!h.has_entries&&!h.is_fetching){h.is_fetching=ig_b;_IG_FetchFeedAsJSON(h.url,_IG_Callback(ig_5a,a,b,c,d),h.num_items+15,ig_b)}else{for(var j=0;j<h.num_items;++j){var i=_gel("ftl_"+a+"_"+j);i&&ig_S(_gel("ft_"+a+"_"+j),_gel("fb_"+a+"_"+j),i,c)}ig_6a(a,b,e,f,g,d);if(f.style.maxHeight&&parseInt(f.style.maxHeight,
10)<ig_7a(g.offsetWidth,f))f.style.height=f.style.maxHeight}}}function ig_5a(a,b,c,d,e){var f=_IG_FR_getFeed(b);f.is_fetching=ig_c;if(a&&a.Entry){for(var g=0;g<a.Entry.length;g++)if(a.Entry[g].ID!="no_id"){var h=_gel("fb_"+b+"_"+a.Entry[g].ID);if(h)h.innerHTML=a.Entry[g].Summary}f.has_entries=ig_b;_IG_FR_toggle(b,c,d,e)}}function ig_T(a){return a.className.match(/reverse_directionality$/)=="reverse_directionality"}
function ig_S(a,b,c,d){a.className=ig_T(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_T(a)?"uftl_reverse_directionality":"uftl"}
function ig_6a(a,b,c,d,e,f){c.className=ig_T(c)?"fminbox_reverse_directionality":"fminbox";c.title=f;if(_old_html||_use_old_feed_styles)c.className="fbox fminbox";d.style.display="block";d.style.maxHeight=d.offsetWidth*1.5+"px";e.className=ig_T(c)?"sftl_reverse_directionality":"sftl";window._IG_FRUC_setFeedAsRead&&window._IG_FRUC_setFeedAsRead(a,b)}
function ig_7a(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_8a(a){var b=_gel("hl");b=b?b.value:"en";return"/reader/ig/feed/"+_esc(_IG_FR_getFeed(a).url)+"?hl="+b}function ig_9a(a,b){if(window._max_strategies){b=ig_8a(a)+(b?"&i="+b:"");window._max_strategies[a]._updateIframeSrc(b)}}function _IG_FR_maxModule(a,b,c){ig_9a(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_8a(a),ig_,_IG_isIE())});_IG_AddModuleEventHandler(a,"unmaximize",function(){ig_9a(a)})}var _IG_FR_listOfFeeds=[];function ig_$a(a,b,c,d){if(!a||a==""||a.length<=27||a.charAt(27)!="{")c(d?ig_:"");else{a=eval("("+a.substring(27)+")");if(b in a){b=a[b].body;c(d?ig_U(b):b)}}}function ig_ab(a){var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async=ig_c;b.validateOnParse=ig_c;b.resolveExternals=ig_c;b.loadXML(a)}else{b=new DOMParser;b=b.parseFromString(a,"text/xml")}return b}
function ig_U(a){var b=ig_ab(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&_gelstn("parsererror",b)[0])return a;return b}var ig_bb=(new Date).getTime();
function ig_cb(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>ig_bb+a.refreshInterval*1E3))if(a.asXml){var b=ig_U(_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){ig_$a(e,a.url,a.callback,a.asXml)},ig_c,a.post_data)}}function ig_db(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_db(c):{};c.url=a;c.callback=b;c.asXml=ig_c;ig_cb(c)}function _IG_FetchXmlContent(a,b,c){c=c!=ig_&&typeof c=="object"?ig_db(c):{};c.url=a;c.callback=b;c.asXml=ig_b;ig_cb(c)}
function ig_eb(a,b,c){_IG_FetchContent(a,function(d){if(d){d=ig_U(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_fb(a,b){var c="/ig/feedjson";_sendx(c,function(d){var e={};try{e=eval("("+d.slice(27)+")")}catch(f){e={}}for(var g in b){d=e[g]?e[g]:ig_;b[g](d)}b=ig_},ig_c,a)}var ig_gb=ig_c,ig_hb=0,ig_V="",ig_W={};
function _IG_FetchFeedAsJSON(a,b,c,d,e){if(typeof e!="object")e={};var f="fr_"+ig_hb++;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_gb){d={};d[f]=b;ig_fb(c,d)}else{if(ig_V!="")ig_V+="&";ig_V+=c;ig_W[f]=b}}function ig_ib(){ig_gb=ig_b;ig_V!=""&&ig_fb(ig_V,ig_W);ig_V="";ig_W=ig_}_IG_AddEventHandler("domload",ig_ib);
_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",ig_eb,"getFeedAsJSON",_IG_FetchFeedAsJSON]);function ig_jb(a,b,c){var d=ig_y("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_X(e)}):ig_X(e))}}
function ig_X(a,b){b=b||121;var c=a.title;if(!(a.offsetWidth<=b)){var d=0,e=c.length,f,g=c.match(/\(\d+\)$/);if(g=g?g[0]:""){g=" "+g;e=c.length-g.length;f=5*g.length;if(f>b>>1)g=""}for(;f=e-d>>1;){f=d+f;a.innerHTML=ig_kb(c,f,g);if(a.offsetWidth>b)e=f;else d=f}a.innerHTML=ig_kb(c,d,g)}}function ig_kb(a,b,c){a=[a.substring(0,b),"..."];c&&a.push(c);return _hesc(a.join(""))}function ig_Y(a){return typeof a=="undefined"||!a||a=="undefined"}function ig_lb(a,b){ig_Y(a)||ig_jb(b,_ig_gmid_(a))}
_IFPC.registerService("set_title",ig_lb);function _IG_SetTitle(a,b,c){if(ig_Y(b))ig_a(new Error("Inline modules must specify their __MODULE_ID__ when using _IG_SetTitle"));else ig_jb(a,b,c)}
function _IG_SetTitleDir(a,b){if(ig_Y(b))ig_a(new Error("Inline modules must specify their __MODULE_ID__ when using _IG_SetTitleDir"));else{var c=ig_y("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_X(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_X(c,b)}})};var ig_Z=function(){},_IG_ViewType=ig_Z,_IG_GetSupportedViews=ig_Z,_IG_NavigateToGadget=ig_Z,_IG_GetCurrentView=ig_Z,_IG_GetViewParams=ig_Z,_IG_is_maximized_module=function(){return ig_c},_IFPC_NavigateTo=function(){},_IG_maximize_persistent_module=function(){},_IG_toggle_view=ig_Z,_IG_maximize_view=ig_Z,_IG_minimize_view=ig_Z,_IG_restore_view=ig_Z,_IG_iFrameTransitionStrategy=function(){},_IG_inlinedTransitionStrategy=function(){},_IG_scaleInlinedTransitionStrategy=function(){},_IG_noMaxSupportTransitionStrategy=
function(){},_IG_noMaxSupportResizeIframe=function(){},ig_mb=new function(){};ig_mb.isModuleMaximized=function(){return ig_c};_exportSymbols("gadgets.views",["ViewType",_IG_ViewType,"getSupportedViews",_IG_GetSupportedViews,"requestNavigateTo",_IG_NavigateToGadget,"getCurrentView",_IG_GetCurrentView,"getParams",_IG_GetViewParams]);_exportClass("gadgets.views","ViewManager",["isModuleMaximized",ig_mb.isModuleMaximized]);
