var ig_a=true,ig_=null,ig_b=false;function ig_c(a){var b=window;if(a!="")for(var c=a.split(".");c.length;){var d=c.shift();if(typeof b[d]!="object")b[d]={};b=b[d]}return b}(function(){function a(c,d){for(var e=ig_c(c),f=0;f<d.length;f+=2)e[d[f]]=d[f+1]}function b(c,d,e,f,g){if(f)for(var j=0;j<f.length;j+=2)e.prototype[f[j]]=f[j+1];if(g)for(j=0;j<g.length;j+=2)e[g[j]]=g[j+1];a(c,[d,e])}a("",["_exportSymbols",a]);a("",["_exportClass",b])})();function ig_aa(a,b){if(!b)return ig_b;for(var c=a.className.split(" "),d=0;d<c.length;++d)if(c[d]==b)return ig_b;c.push(b);a.className=c.join(" ");return ig_a}function ig_d(a,b,c){if(!a.className)return ig_b;for(var d=a.className.split(" "),e=[],f=ig_b,g=0;g<d.length;++g)if(d[g]!=b)e.push(d[g]);else{f=ig_a;c&&e.push(c)}a.className=e.join(" ");return f};function ig_e(a){var b=a||document.location.href,c,d=b.indexOf("?");if(d==-1)return"";var e=b.indexOf("#");c=e==-1?b.substr(d+1):b.substr(d+1,e-d-1)+"&"+b.substr(e+1);return c.split("&")}function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)}function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)}
function _argsUrl(a){for(var b={},c=ig_e(a),d=0;d<c.length;d++){var e=c[d].indexOf("=");if(!(e==-1)){var f=c[d].substring(0,e),g=c[d].substring(e+1);g=g.replace(/\+/g," ");b[f]=_unesc(g)}}return b}function ig_f(a){var b=a.split("#");if(/[?&]$/.test(b[0]))b[0]=b[0].replace(/[?&]$/,"");else{var c=/\?/.test(b[0])?"&":"?";b[0]+=c}return b.join("#")};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_g={},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.Ya;a.Ya||(a.Ya=++ig_h.Pc);return a.Ya}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_h.Mc(a)+"_"+b}function ig_ha(a){return"custom_"+a}
function ig_ia(){for(var a in ig_h.c){for(var b=0;b<ig_h.c[a].length;b++)delete ig_h.c[a][b];if(a in ig_h.da){var c=ig_h.da[a],d=c[0],e=c[1],f=c[2];if(d.removeEventListener)d.removeEventListener(e,f,ig_b);else d.detachEvent&&d.detachEvent("on"+e,f);delete ig_h.da[a]}}ig_g={}}function ig_ja(a,b,c){for(var d=c;d<b.length;d++)a[a.length]=b[d];return a}function ig_ka(a,b){if(a in ig_h.c)for(var c=0;c<ig_h.c[a].length;c++)if(ig_h.c[a][c]===b){ig_h.c[a][c]=ig_;return ig_a}return ig_b}
function ig_la(a){if(a in ig_h.c)for(var b=0;b<ig_h.c[a].length;b++)if(ig_h.c[a][b]){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];ig_h.c[a][b].apply(this,c)}}function ig_ma(a,b){if(!(a in ig_h.bd))throw Error("Unsupported event type: "+a);var c=ig_h.Ba(a);c in ig_h.c||(ig_h.c[c]=[]);ig_h.c[c][ig_h.c[c].length]=b;return ig_h.c[c].length}
function ig_na(a,b,c){if(!(b in ig_h.cd))throw Error("Unsupported module event type: "+b);var d=ig_h.Ca(a,b);d in ig_h.c||(ig_h.c[d]=[]);ig_h.c[d][ig_h.c[d].length]=c}
function ig_oa(a,b,c){var d=ig_h.Hb(a,b);if(!(d in ig_h.c)){ig_h.c[d]=[];var e=function(g){if(!g)g=window.event;ig_h.pa.apply(a,[d,g])};if(a.addEventListener)a.addEventListener(b,e,ig_b);else if(a.attachEvent)a.attachEvent("on"+b,e);else throw Error("Object {"+a+"} does not support DOM events.");ig_h.da[d]=[a,b,e]}var f=ig_h.c[d].length;if(a===window&&b=="unload"&&f>0){ig_h.c[d][f]=ig_h.c[d][f-1];ig_h.c[d][f-1]=c}else if(ig_g[b])setTimeout(c,10);else ig_h.c[d][f]=c}
function ig_pa(a,b){var c=ig_h.Aa(a);c in ig_h.c||(ig_h.c[c]=[]);ig_h.c[c][ig_h.c[c].length]=b}function ig_qa(a,b){var c=ig_h.Ba(a);return ig_h.ma(c,b)}function ig_ra(a,b,c){var d=ig_h.Ca(a,b);return ig_h.ma(d,c)}function ig_sa(a,b,c){var d=ig_h.Hb(a,b);return ig_h.ma(d,c)}function ig_ta(a,b){var c=ig_h.Aa(a);return ig_h.ma(c,b)}
function ig_ua(a){var b=a=="load"||a=="domload",c=ig_b;if(b){(c=ig_g[a])||_IG_TriggerCustomEvent(a+"_start");ig_g[a]=ig_a}var d=ig_h.O([ig_h.Ba(a)],arguments,1);ig_h.pa.apply(window,d);b&&!c&&_IG_TriggerCustomEvent(a+"_end")}function ig_i(){var a=ig_h.O([],arguments,0);setTimeout(function(){ig_h.triggerEvent.apply(window,a)},0)}function ig_va(a,b){var c=ig_h.O([ig_h.Ca(a,b)],arguments,2);ig_h.pa.apply(window,c)}
function ig_j(){var a=ig_h.O([],arguments,0);setTimeout(function(){ig_h.triggerModuleEvent.apply(window,a)},0)}function ig_wa(a){var b=ig_h.O([ig_h.Aa(a)],arguments,1);ig_h.pa.apply(window,b)}function ig_xa(){var a=ig_h.O([],arguments,0);setTimeout(function(){ig_h.triggerCustomEvent.apply(window,a)},0)}
function ig_k(a,b){switch(a){case "delete":case "undelete":case "edit":case "socialedit":case "canceledit":case "zip":case "unzip":case "maximize":case "unmaximize":ig_j(b,a);ig_i("module"+a,b);break}}function _IG_delayScript(a,b){var c,d=!isNaN(b)&&b||10000;function e(){clearTimeout(c);_IG_RemoveEventHandler("load",e);setTimeout(a,0)}c=setTimeout(e,d);_IG_AddEventHandler("load",e)}
var ig_h={Pc:0,c:{},da:{},bd:ig_ba,cd:ig_ca,Mc:ig_da,Ba:ig_ea,Ca:ig_fa,Hb:ig_ga,Aa:ig_ha,Ec:ig_ia,O:ig_ja,ma:ig_ka,pa: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_i,triggerDelayedModuleEvent:ig_j,triggerDelayedCustomEvent:ig_xa},_IG_AddEventHandler=
ig_h.addEventHandler,_IG_AddModuleEventHandler=ig_h.addModuleEventHandler,_IG_AddGadgetEventHandler=ig_h.addModuleEventHandler,_IG_AddDOMEventHandler=ig_h.addDOMEventHandler,_IG_AddCustomEventHandler=ig_h.addCustomEventHandler,_IG_RemoveEventHandler=ig_h.removeEventHandler,_IG_RemoveModuleEventHandler=ig_h.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=ig_h.removeModuleEventHandler,_IG_RemoveDOMEventHandler=ig_h.removeDOMEventHandler,_IG_RemoveCustomEventHandler=ig_h.removeCustomEventHandler,
_IG_TriggerEvent=ig_h.triggerEvent,_IG_TriggerModuleEvent=ig_h.triggerModuleEvent,_IG_TriggerGadgetEvent=ig_h.triggerModuleEvent,_IG_TriggerCustomEvent=ig_h.triggerCustomEvent,_IG_TriggerDelayedEvent=ig_h.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=ig_h.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=ig_h.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=ig_h.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",ig_h.Ec);_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_b)});_IG_AddModuleEventHandler(a,"maximize",function(){b(ig_a)})};function ig_l(a,b){var c=function(){};c.prototype=a.prototype;b.prototype=new c}function _gel(a){return document.getElementById(a)}function _gelstn(a,b){var c=b||document;if(a=="*"&&c.all)return c.all;return c.getElementsByTagName?c.getElementsByTagName(a):[]}function _gelsbyregex(a,b,c){for(var d=_gelstn(a,c),e=[],f=0,g;g=d[f];++f)b.test(g.id)&&e.push(g);return e}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_m("m_"+a+"_editbox","none");ig_m("m_"+a+"_aclbox","block");ig_k("socialedit","m_"+a)}else{ig_m("m_"+a+"_editbox","");ig_m("m_"+a+"_aclbox","none");ig_k("edit","m_"+a)}var c=_gel("m_"+a);if(c)c.className="modbox_e"}function _closeUserPrefs(a){ig_m("m_"+a+"_editbox","none");ig_m("m_"+a+"_aclbox","none");var b=_gel("m_"+a);if(b)b.className="modbox"}var ig_n={ANY:0,SOCIAL:1,USER_PREFS:2};
function ig_o(a,b){switch(b){case ig_n.ANY:var c=_gel("m_"+a);return c&&c.className=="modbox_e";case ig_n.SOCIAL:var d=_gel("m_"+a+"_aclbox");return d&&d.style.display!="none";case ig_n.USER_PREFS:var e=_gel("m_"+a+"_editbox");return e&&e.style.display!="none"}}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){var d=document.createElement("script");d.src=a;_gelstn("head")[0].appendChild(d);function e(){eval(b)?c():setTimeout(function(){e()},100)}b&&e()}function _IG_LoadCss(a){var b=_gelstn("head")[0];if(!b)throw 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){var b="/ig/log?msg="+_esc(a);_sendx(b)}function _sendx(a,b,c,d){var e=ig_p();e.open(d?"POST":"GET",a,ig_a);if(b)e.onreadystatechange=function(){if(e.readyState==4)b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d||ig_)}function ig_p(){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_a,_use_old_feed_styles=ig_a,ig_q=ig_,ig_r=ig_;function ig_s(a,b,c){var d=a.elements[b];if(d)d.value=c;else{var e=document.createElement("input");e.type="hidden";e.name=b;e.value=c;a.appendChild(e)}}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},c=a||_args(),d=["?"];for(var e in c)b[e]&&d.push(e,"=",_esc(c[e]),"&");return d.join("")}var ig_ya=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_t(a,b){var c=ig_ya.exec(a),d=[c[1],"?",c[2]];d.push(c[2]?"&":"",b.join("&"),c[3]);return d.join("")}function ig_za(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_s(a,c,b[c])}
function _submit_form(a,b){a.action=_setp_url+_qs()+b;a.method="get";ig_za(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_za(a);ig_s(a,"m_"+b+"_t",c);var d=_args(),e=d.host,f=d.hl;e&&ig_s(a,"host",e);f&&ig_s(a,"hl",f);return ig_a}var ig_u=[],ig_v=ig_b;function ig_Aa(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_Ba(){return ig_Aa([["et",_et],["pid",_pid],["ap",_authpath],["brand",_brand],["bmod",_bmod],["source",_source],["ae",_ae],["prefid",_prefid]])}function ig_Ca(){if(ig_u.length==0)ig_v=ig_b;else{ig_v=ig_a;var a=_setp_url+_qs()+ig_Ba(),b=ig_u.join("&");ig_u=[];var c=a.length+b.length>=1800;if(c)_sendx(a,ig_Da,ig_b,b);else{a+="&"+b;_sendx(a,ig_Da,ig_b,ig_)}}}function ig_Da(){_IG_TriggerDelayedEvent("xsetpdone");ig_Ca()}function _xsetp(a){ig_u.push(a);ig_v||ig_Ca()}
function _xsetp_is_done(){return ig_u.length==0&&ig_v==ig_b}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+_qs()+ig_Ba()+"&url="+b+"&"+a}function _removeTabParam(a){return a.replace(/(\?.*\b)(t\=[^&#]*[&#]?)/g,"$1")}function _select_tab(a,b){var c=b||"/ig";window.location.href=c+_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.location.href="/ig"+_qs()+"t="+a+"&g="+b}function ig_m(a,b){var c=_gel(a);if(c)c.style.display=b}_exportSymbols("",["setDisplayStyle",ig_m]);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_Ea(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){var c;if(typeof a.currentStyle!="undefined")c=a.currentStyle;else if(document.defaultView.getComputedStyle!="undefined")c=document.defaultView.getComputedStyle(a,ig_);else return"";return c[b]}function ig_w(){for(var a=_IG_MD,b=0;b<arguments.length;++b){a=a[arguments[b]];if(a==ig_)return ig_}return a}_exportSymbols("google.gadgets.Util",["args",_args]);_exportSymbols("",["addParamPairsToUrl",ig_t,"xmlhttp",ig_p]);if(!window.FLAG_isInSplitJS)window.FLAG_isInSplitJS=ig_b;function ig_x(a){this.r=[];this.$a=a;this.U("_IG_DD_open");this.U("_IG_hoverHeader");this.U("_IG_hoverModule");this.B("_IG_DD_create");this.B("_IG_DD_init");this.B("_IG_initDrag");this.B("_IG_PushHistory");this.B("_IG_PU_MakeDialogButton")}ig_x.prototype.hb=ig_b;ig_x.prototype.Ga=ig_b;ig_x.qc=10000;
ig_x.prototype.B=function(a){if(this.$a){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_c(a.substring(0,c));a=a.substring(c+1)}if(b[a]&&!b[a].Yb)throw new Error(a+" is already defined.");b[a]=this.Ib(a)}};ig_x.prototype.U=function(a){if(this.$a){var b=window,c=a.lastIndexOf(".");if(c>=0){b=ig_c(a.substring(0,c));a=a.substring(c+1)}b[a]=function(){}}};
ig_x.prototype.Ib=function(a){var b=this,c=function(){for(var d=[],e=0;e<arguments.length;e++)d.push(arguments[e]);b.r.push([a,this,d])};c.Yb=ig_a;return c};ig_x.prototype.za=function(){if(!(this.r.length==0)){var a=this.r.shift(),b=a[0],c=a[1],d=a[2];try{var e=b instanceof Function?b:window[b];e.apply(c,d)}catch(f){}if(this.r.length>0){var g=this;setTimeout(function(){g.za()},0)}else{this.Ga=ig_a;this.fc()}}};
ig_x.prototype.Db=function(){for(var a=[],b=0;b<this.r.length;b++){var c=this.r[b][0];if(!(c instanceof Function))if(window[c].Yb){a.push(c);this.r.splice(b,1);b--}}var d=this;setTimeout(function(){d.za()},0);if(a.length>0)throw new Error("The following functions were not found in the post load file: "+a.join(", "));};ig_x.prototype.fc=function(){for(var a=_gelstn("*"),b=0;b<a.length;b++){var c=a[b];c.className&&c.className.split&&ig_d(c,"disabled",ig_)}};
ig_x.prototype.bc=function(a,b){var c=this.ac(b);_IG_AddEventHandler(a,c);setTimeout(c,ig_x.qc)};ig_x.prototype.ac=function(a){var b=this;return function(){if(!b.hb){_IG_LoadScriptXDomain(a,"window._IG_noMaxSupportTransitionStrategy",function(){b.Db()});b.hb=ig_a}}};ig_x.prototype.Cb=function(a){this.Ga||!this.$a?a():this.r.push([a,ig_,[]])};var ig_y;ig_y||(ig_y=new ig_x(window.FLAG_isInSplitJS));function _IG_callPostLoad(a){ig_y.Cb(a)}function _IG_deferFunction(a){ig_y.B(a)}
function _IG_ignoreFunction(a){ig_y.U(a)}function _IG_loadPostloadJS(a,b){ig_y.bc(a,b)};function _edit(a,b){var c=function(){b&&b();_sendx("/ig/ui?action=editsettings&m="+a);ig_k("edit","m_"+a)},d=ig_Fa[a];if(d){d();c()}else _IG_LL_load("m_"+a+"_editbox",{mid:a},function(){_showUserPrefs(a,ig_b);c()});return ig_b}var ig_Fa={};function _IG_AddCustomEditHandler(a,b){ig_Fa[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_k("canceledit","m_"+a);return ig_b}}
function _uhc(a,b,c){var d="m_"+a+"_"+b,e=_gel(d);if(!e){e=document.createElement("INPUT");e.type="hidden";e.disabled=ig_a;e.name=d;_gel("m_"+a+"_form").appendChild(e)}e.value=c;e.disabled=ig_b}function _confirmDel(a,b,c,d){var e=_get_module_title(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_","");var b=_gel("m_"+a+"_title");return b?_striptags(b.innerHTML):""}
function _get_all_modules(){for(var a=ig_Ga(),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){var j=window.gadgets.views.ViewManager.getCurrentMaxId();j&&b.length>0&&j&&b[0].unshift(_gel("m_"+j))}return b}
function ig_Ga(){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_z=ig_b;function _del_is_done(){return _xsetp_is_done()&&ig_z}
function _del(a,b,c){ig_z=ig_b;_xsetp("m_"+a+"_enab=0&m_"+a+"_t="+b);var d=_gel("undel_msg");if(d){_gel("undel_title").innerHTML="&quot;"+_get_module_title(a)+"&quot; ";d.style.display="block";ig_m("undo_msg","none");ig_m("undo_restore_msg","none")}ig_m("m_"+a,"none");ig_q=a;ig_r=c;ig_m(c,"");_mod=ig_a;ig_k("delete","m_"+a);ig_z=ig_a;return ig_b}
function _undel(){if(!(ig_q==ig_)){var a="m_"+ig_q,b=_gel(a);if(b){ig_m(a,"block");_xsetp("undel")}ig_m("undel_msg","none");ig_r!=ig_&&ig_m(ig_r,"none");ig_r=ig_q=ig_;ig_k("undelete",a)}}function _isModuleZipped(a){var b=_gel("m_"+a+"_b");if(b)return b.style.display=="none";return ig_b}
function _zm(a,b,c){var d=_gel("m_"+a+"_b");if(d){var e=!_isModuleZipped(a);d.style.display=e?"none":"block";var f=_gel("m_"+a+"_zippy");if(f)f.className=e?f.className.replace(/minbox/,"maxbox"):f.className.replace(/maxbox/,"minbox");var g=c?"mmz":"mz";_xsetp(g+"="+a+":"+(e?"1":"0")+"&t="+b);ig_k(e?"zip":"unzip",a)}return ig_b}function ig_Ha(a){_xsetp("pnlo="+(a?1:0))}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=ig_b,ig_Ia=ig_b,_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_Ea(a);_IG_callPostLoad(_init_drag_drop)}
function _init_drag_drop(){if(_pl)if(_cbp||_uli)if(!ig_Ia&&!_mpnlo){_IG_TriggerCustomEvent("initdrag",_table,_tabs);ig_Ia=ig_a}}var ig_A=0;
function _tp(a){ig_A>0&&clearInterval(ig_A);_pnlo=a;_mod=ig_a;ig_Ha(a);_upc();var b=_gel("cpnl"),c=_gel("cpnlc"),d=b.offsetWidth,e,f;if(a){e=c.offsetWidth;f="visible";ig_m("ehdr","");ig_m("nhdr","none")}else{e=1;f="hidden";ig_m("ehdr","none");ig_m("nhdr","")}b.style.overflow="hidden";var g=100,j=10,k=0;ig_A=setInterval(function(){var o=k/j,h=d+(e-d)*o;b.style.width=h+"px";k++;if(o>=1){clearInterval(ig_A);ig_A=0;b.style.width=e+"px";b.style.overflow=f}},g/j);return ig_b}
function _ts(a,b){var c=_gel(a+b),d;if(c.className=="mlist_open"){c.className="mlist_closed";d="pnlsc"}else{c.className="mlist_open";d="pnlso"}_xsetp(d+"="+_esc(b));return ig_b}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_Ja=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/,ig_B=ig_a;function _find_feed_is_done(){return ig_B}
function _find_feed(a){ig_B=ig_b;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_m("ffresults","none");ig_m("ffloading","block");_sendx("/ig/feeds"+_qs()+"q="+_esc(a)+"&page="+_esc(b),ig_Ka);return ig_b}
function ig_Ka(a){ig_m("ffloading","none");ig_m("ffresults","block");if(a.length>0&&a.charAt(0)=="<"){if(_gel("ffresults"))_gel("ffresults").innerHTML=a}else a.match(ig_Ja)!=ig_?eval(a):eval(a);ig_B=ig_a}function _add_remote_module(a,b,c){_sendx("/ig/feeds"+_qs()+"module=1&q="+_esc(a),function(d){b();ig_La(d,c)});return ig_b}
function ig_La(a,b){var c=/_add_m_confirm\((\"[^"]+\"),\s*(\"[^"]+\")(,\s*\"[^"]+\")?\)/,d=/^alert\(\"[^"]+\"\)$/;if(a.match(ig_Ja)!=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_a;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.K(b)};
_ListApp.prototype.ec=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].T()+'</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].T()+'<div class="c"></div>';if(parseInt(c[d]._uid,
10)<0)b+=c[d].z(d)}else{this.items.splice(d,1);d--}var e=this.deleted,f="";for(d=0;d<e.length;d++)if(parseInt(e[d]._uid,10)>=0)f+=","+e[d]._uid;a+=this.Ua(b,f);return a};_ListApp.prototype.Ua=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.ec()+"</font>"};_ListApp.prototype.add=function(a,b){a||(a=_trim(this.name_input_field.value));b||(b=_trim(this.value_input_field.value));var c=new this.item_constructor(a,b,-1);if(c.N()){this.items[this.items.length]=c;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,g=new _ListApp(f,d,e);for(var j in g)this[j]=g[j];typeof c=="string"&&this.dc(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.Ua=_PrefListApp_get_tail}
function _PrefListApp_get_tail(){var a="</table>";_gel("m_"+this.module_id+"_"+this.prefidx).value=this.kc();return a}_PrefListApp.prototype.dc=function(a){if(!(a.length==0)){for(var b=_IG_Prefs._strToArray(a),c=[],d=0;d<b.length;d++){var e=new this.item_constructor(b[d],b[d],-1);c[c.length]=e}this.items=c;this.prev_items=[].concat(c)}};_PrefListApp.prototype.kc=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.N=function(){return this._n!=""};_ListItem.prototype.K=function(){return 0};_ListItem.prototype.T=function(){return _hesc(this._n)};_ListItem.prototype.z=function(){return"&"+_esc(this._n)+"="+_esc(this._v)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_l(_ListItem,_BMListItem);_BMListItem.prototype.N=function(){return _ListItem.prototype.N.call(this)&&this._n!="http://"};
_BMListItem.prototype.ga=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.T=function(){return'<a href="'+this._n+'" target=bmwindow>'+_hesc(this.ga())+"</a>"};_BMListItem.prototype.z=function(a){return"&b"+a+"="+_esc(this._n)+"&t"+a+"="+_esc(this._v)};_BMListItem.prototype.K=function(a){var b=_uc(this.ga()),c=_uc(a.ga());if(b==c)return 0;return b<c?-1:1};
function _WthrListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_l(_ListItem,_WthrListItem);_WthrListItem.prototype.z=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_l(_ListItem,_FListItem);_FListItem.prototype.z=function(){return"&"+_esc(this._n)};_FListItem.prototype.K=function(a){var b=this;if(b._s<a._s)return-1;if(b._s>a._s)return 1;var c=_uc(b._n),d=_uc(a._n);if(c<d)return-1;if(c>d)return 1;return 0};
function ig_C(a){if(!a)a=document.body;return a.scrollHeight>a.offsetHeight?a.scrollHeight:a.offsetHeight}function ig_D(){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_C,"scrollTop",ig_D]);var ig_E={},ig_Ma={};
function _place(a,b){var c=ig_Ma[a];if(c)c(b);else{ig_E[a]||(ig_E[a]=[]);ig_E[a].push(b)}}function _register_place(a,b){ig_Ma[a]=b;var c=ig_E[a];if(c){for(var d=0;d<c.length;d++)b(c[d]);ig_E[a]=ig_}}function _enableGS(a,b){a.action="https://www.google.com/accounts/CheckCookie";a.method="get";ig_s(a,"service",b);ig_s(a,"continue",document.location);ig_s(a,"skipvpage",ig_a);return ig_a};function _reload(a,b){var c=a-(new Date).getTime();if(c>1000)setTimeout("_reload("+a+")",c);else if(b)document.location.replace(ig_Na(document.location.href,document.location.pathname));else{document.cookie="IGREL=1";document.location.replace(document.location.href.split("#")[0])}}var ig_Oa=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_Na(a,b){var c=ig_Oa.exec(a),d=c[1];if(b=="/")d+="ig";d+="?";var e=c[2];if(e)d+=e;if(!_argsUrl(a).refresh){if(e)d+="&";d+="refresh=1"}return d}
var ig_F={Ka:0,mc:1800,db:ig_,cb:ig_,xa:ig_a,V:ig_,pc:ig_,Eb:600,Z:function(){ig_F.Ka=(new Date).getTime()+ig_F.mc*1000},Uc:function(){if((new Date).getTime()>ig_F.Ka)window.gTalkNotifier&&window.gTalkNotifier._isAnyMoleOpen&&window.gTalkNotifier._isAnyMoleOpen()?ig_F.Z():_testConnection(function(){_reload(ig_F.Ka,ig_F.pc)},ig_F.Z)},gb:function(a){ig_F.Z();ig_F.db&&ig_F.db(a)},fb:function(a){ig_F.Z();ig_F.cb&&ig_F.cb(a)}};
function _IG_disable_refresh_cycle(){ig_F.xa=ig_b;_IG_suspend_refresh_cycle()}function _IG_suspend_refresh_cycle(){if(ig_F.V!=ig_){clearInterval(ig_F.V);ig_F.V=ig_}}function _IG_restart_refresh_cycle(){!ig_F.xa||ig_F.V!=ig_||ig_Pa()}
function _IG_start_refresh_cycle(a,b,c){if(ig_F.xa){ig_F.db=document.onmousedown;ig_F.cb=document.onkeyup;ig_F.mc=a;ig_F.Eb=b;if(c)ig_F.pc=c;if(document.addEventListener){document.addEventListener("keyup",ig_F.fb,ig_b);document.addEventListener("mousedown",ig_F.gb,ig_b)}else if(document.attachEvent){document.attachEvent("onkeyup",ig_F.fb);document.attachEvent("onmousedown",ig_F.gb)}else{document.onkeyup=ig_F.fb;document.onmousedown=ig_F.gb}ig_Pa()}}
function ig_Pa(){ig_F.Z();ig_F.V=setInterval(ig_F.Uc,ig_F.Eb*1000)}function _testConnection(a,b,c){var d=ig_p(),e="/ig/nop?t="+(new Date).getTime();c||(c=3500);d.open("GET",e,ig_a);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){}var g=function(){if(b){a=ig_;b()}};setTimeout(g,c)};function _getWindowDimension(){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_Qa(){function a(e){var f=_gel(e);if(!f)return ig_b;if(f.style.display=="none")return ig_b;return ig_a}for(var b=["gadget_invites_header","undel_msg","add_friends_promo","below_search_bar_promo_wrapper","box_heading","new_user_setup_tip","has_signed_in_user_setup_tip","ig_new_user_setup","new_user_setup","_setup"],c=0,d=0;d<b.length;d++)a(b[d])&&c++;return c}function ig_G(){}ig_G.prototype.w=0;ig_G.prototype.la=0;ig_G.prototype.na=ig_b;ig_G.MIN_THEME_HEIGHT=90;
ig_G.MIN_THEME_HEIGHT_WITH_RADIO_BUTTON=ig_G.MIN_THEME_HEIGHT+15;ig_G.MIN_WINDOW_HEIGHT=600;ig_G.MAX_WINDOW_HEIGHT=700;ig_G.MIN_RESIZE_PIXELS=2;ig_G.MIN_WIN_HEIGHT_CHANGE=20;ig_G.DEFAULT_CLASSIC_THEME_HEIGHT=100;ig_G.DEFAULT_CLASSIC_THEME_HEIGHT_WITH_RADIO_BUTTON=ig_G.DEFAULT_CLASSIC_THEME_HEIGHT+15;
ig_G.prototype.Gb=function(a,b){var c=ig_G.MIN_THEME_HEIGHT;if(this.na)c=ig_G.MIN_THEME_HEIGHT_WITH_RADIO_BUTTON;var d=this.w;if(a<ig_G.MIN_WINDOW_HEIGHT)return c;else if(a>ig_G.MAX_WINDOW_HEIGHT)return d;var e=(d-c)*(a-ig_G.MIN_WINDOW_HEIGHT)/(ig_G.MAX_WINDOW_HEIGHT-ig_G.MIN_WINDOW_HEIGHT)+c;if(e>d)return d;if(Math.abs(e-b)>ig_G.MIN_RESIZE_PIXELS)return Math.floor(e);return b};
ig_G.prototype.Xb=function(){if(!(this.w!=0)){this.na=!!_gel("search_restriction_radio_buttons");var a=_gel("nhdrwrapsizer");if(a){this.w=parseInt(_getStyle(a,"height"),10);if(isNaN(this.w))this.w=this.na?ig_G.DEFAULT_CLASSIC_THEME_HEIGHT_WITH_RADIO_BUTTON:ig_G.DEFAULT_CLASSIC_THEME_HEIGHT;this.la=_getWindowDimension().height}}};
ig_G.prototype.nb=function(){var a=_getWindowDimension().height;this.la=a;if(!(ig_Qa()>0)){var b=_gel("nhdrwrapsizer");if(b){var c=this.w;if(b.style.height!="")c=parseInt(b.style.height,10);if(!(isNaN(this.w)||isNaN(c)))b.style.height=this.Gb(a,c)+"px"}}};ig_G.prototype.Ab=function(){var a=_getWindowDimension().height;Math.abs(a-this.la)<ig_G.MIN_WIN_HEIGHT_CHANGE||this.nb()};
function _initializeAutoThemeHeight(){var a=new ig_G;a.Xb();_IG_callPostLoad(function(){a.nb()});_IG_AddEventHandler("resize",function(){a.Ab()})};function _IG_GetCachedUrl(a,b){var c;c=typeof b=="object"?b:{};var d=window.location.href,e="/ig/proxy?",f=/^http:\/\/[^\/]+\/ig\/ifr[?]/,g=f.exec(d);if(g||d.indexOf("http://www.google.cn/ig/china")==0){if(window.location.host!="p.gmodules.com"&&_et)e+="et="+_esc(_et)+"&"}else e="http://p.gmodules.com/ig/proxy?";if(!isNaN(c.refreshInterval)&&c.refreshInterval>=0)e=_appendMaxAgeParameter(e,c.refreshInterval);return e+"url="+_esc(a)+"&log=1"}
function _IG_GetImageUrl(a,b){return _IG_GetCachedUrl(a,b)}function _IG_GetImage(a,b){var c=document.createElement("img");c.src=_IG_GetCachedUrl(a,b);return c};function _IG_Callback(a){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_H(){var a=_IG_Callback.apply(ig_,arguments);return function(){a()}};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_b;if(e.src.indexOf("_highlight")!=-1)e.src=e.src.substring(0,e.src.indexOf("_highlight"))+".gif"}else{b[c].checked=ig_a;if(e.src.indexOf("_highlight")==-1)e.src=e.src.substring(0,e.src.indexOf(".gif"))+"_highlight.gif"}}};var ig_I=function(){var a=ig_b,b=[],c=ig_,d=ig_;function e(){if(!(c||a)){a=ig_a;_IG_LoadScript("/ig/ll"+window.location.search,"")}}function f(){d(c,b);b=[]}return{init:function(){},load:function(g,j,k){if(_gel(g))k(j);else{b.push({id:g,args:j,callback:k});if(!a)if(c)f();else{_sendx("/ig/ui?action=lazy&id="+g,ig_,ig_b,ig_);e()}}},loaded:function(g,j){c=g;d=j;a=ig_b;f()},md:function(){a=ig_b;b=[];d=c=ig_}}}(),_IG_LL_init=ig_I.init,_IG_LL_load=ig_I.load,_IG_LL_loaded=ig_I.loaded;var ig_J=[];function _IG_isModuleInVisibleArea(a){var b=ig_D(),c=_getWindowDimension().height,d=parseInt(a.style.height,10),e=_findPos(a)[1];return e+d>b&&e<b+c}function _IG_delayLoadGadget(a){ig_J.push(a)}function _IG_loadDelayLoadGadgets(){for(var a=0;a<ig_J.length;++a){var b=_gel("remote_iframe_"+ig_J[a].id);if(b){var c=b.getAttribute("src");if(c==ig_||c=="")b.src=ig_J[a].base_iframe_url}}};function _IG_MD_Generate(a){var b={t:{},dt:[],m:{},f:{}};ig_Ta(a,b);ig_Ua(a,b);ig_Va(a,b);if(a.ct!=ig_&&b.t)b.ct=b.t[a.ct];ig_Wa(a,b);return b}function ig_Ta(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_Ua(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_Va(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_Wa(a,b){if(a.dt)for(var c=0;c<a.dt.length;++c)b.dt[c]=b.t[a.dt[c]]};var ig_K;
ig_K||(ig_K=function(){function a(o){return o<10?"0"+o:o}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 b=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d,
e,f={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},g;function j(o){c.lastIndex=0;return c.test(o)?'"'+o.replace(c,function(h){var m=f[h];if(typeof m==="string")return m;return"\\u"+("0000"+(+h.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+o+'"'}function k(o,h){var m,n,i,l,q=d,p,r=h[o];if(r&&typeof r==="object"&&typeof r.toJSON==="function")r=r.toJSON(o);if(typeof g==="function")r=g.call(h,o,r);switch(typeof r){case "string":return j(r);case "number":return isFinite(r)?
String(r):"null";case "boolean":case "null":return String(r);case "object":if(!r)return"null";d+=e;p=[];if(typeof r.length==="number"&&!r.propertyIsEnumerable("length")){l=r.length;for(m=0;m<l;m+=1)p[m]=k(m,r)||"null";i=p.length===0?"[]":d?"[\n"+d+p.join(",\n"+d)+"\n"+q+"]":"["+p.join(",")+"]";d=q;return i}if(g&&typeof g==="object"){l=g.length;for(m=0;m<l;m+=1){n=g[m];if(typeof n==="string")if(i=k(n,r))p.push(j(n)+(d?": ":":")+i)}}else for(n in r)if(Object.hasOwnProperty.call(r,n))if(i=k(n,r))p.push(j(n)+
(d?": ":":")+i);i=p.length===0?"{}":d?"{\n"+d+p.join(",\n"+d)+"\n"+q+"}":"{"+p.join(",")+"}";d=q;return i}}return{stringify:function(o,h,m){var n=h,i=m,l;e=d="";if(typeof i==="number")for(l=0;l<i;l+=1)e+=" ";else if(typeof i==="string")e=i;if((g=n)&&typeof n!=="function"&&(typeof n!=="object"||typeof n.length!=="number"))throw new Error("JSON.stringify");return k("",{"":o})},parse:function(o,h){var m=h,n;function i(l,q){var p,r,s=l[q];if(s&&typeof s==="object")for(p in s)if(Object.hasOwnProperty.call(s,
p)){r=i(s,p);if(r!==undefined)s[p]=r;else delete s[p]}return m.call(l,q,s)}b.lastIndex=0;if(b.test(o))o=o.replace(b,function(l){return"\\u"+("0000"+(+l.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(o.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){n=eval("("+o+")");return typeof m==="function"?i({"":n},""):n}throw new Error("JSON.parse");}}}());
ig_K.parse=function(){var a=ig_K.parse;return function(b,c){try{return a(b,c)}catch(d){return ig_b}}}();function ig_Xa(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.o[this.o.length]=c;b.removeChild(c);return c}
function ig_Ya(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=ig_,d=b.o.length-1;d>=0;d--){var e=b.o[d];if(e&&!e.pool_locked){e.parentNode.removeChild(e);if(window.ActiveXObject){b.o[d]=ig_;b.o.splice(d,1)}else{e.pool_locked=ig_a;c=e;break}}}c=c?c:b.Dc(ig_a);c.src=a;document.body.appendChild(c)},0)}}function ig_Za(){for(var a=0;a<this.o.length;a++){this.o[a].onload=ig_;this.o[a]=ig_}this.o.length=0;this.o=[]}
function ig__a(){for(var a=0;a<this.o.length;a++){var b=this.o[a];b&&b.parentNode.removeChild(b)}}function ig_0a(){this.o=[];this.Dc=ig_Xa;this.iframe=ig_Ya;this.clear=ig_Za;this.dispose=ig__a}function ig_1a(a,b){_IFPC.Y[a]=b}function ig_2a(a){delete _IFPC.Y[a]}
function ig_3a(a,b,c,d,e,f,g,j){if(!_IFPC.Ha){var k=4095-d.length;k=parseInt(k/3,10);if(typeof g=="undefined")g=ig_a;if(j){var o={s:b,a:c,f:"..",t:window._isk[a.split("_")[2]]},h=[a,"..",_IFPC.ya,1,1,encodeURIComponent(ig_K.stringify(o))].join("&");_IFPC.ia.iframe(d+"#"+h)}else{c=c.slice(0);c.unshift(_IFPC.Vc(e));c.unshift(f);c.unshift(b);c.unshift(a);var m=_IFPC.Pb(c),n=parseInt(m.length/k,10);if(m.length%k>0)n+=1;for(var i=0;i<n;i++){var l=m.substr(i*k,k),q=[a,_IFPC.ya,n,i,l,g];_IFPC.ia.iframe(d+
"#"+_IFPC.Pb(q))}}_IFPC.ya++}}function ig_4a(){_IFPC.Y={};_IFPC.H={};_IFPC.ia.clear()}function ig_5a(){if(!_IFPC.Ha){_IFPC.Ha=ig_a;_IFPC.ia.dispose();_IFPC.clear()}}
function ig_6a(a){var b=_IFPC.Ea(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{var f=function(){c._IFPC.handleRequest(a)};window.ActiveXObject?f():c.setTimeout(f,0)}}
function ig_7a(a){a=_IFPC.Ea(a);var b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),g=a.shift(),j=b+"_"+c;_IFPC.F[j]||(_IFPC.F[j]=[]);_IFPC.F[j].push([e,f]);if(_IFPC.F[j].length==d){_IFPC.F[j].sort(function(q,p){return parseInt(q[0],10)-parseInt(p[0],10)});f="";for(var k=0;k<d;k++)f+=_IFPC.F[j][k][1];_IFPC.F[j]=ig_;var o=_IFPC.Ea(f);b=o.shift();var h=o.shift(),m=o.shift(),n=o.shift(),i=_IFPC.Oc(h);if(i){var l=i.apply(ig_,o);if(_IFPC.Qc(n)){l.unshift(n);_IFPC.call(b,_IFPC.rb,l,m,ig_,"")}}else if(g)throw new Error("Service "+
h+" not registered.");}}function ig_8a(a){return _IFPC.Y.hasOwnProperty(a)?_IFPC.Y[a]:ig_}function ig_9a(a){var b="";if(a&&typeof a=="function"){b=_IFPC.Nc();_IFPC.H[b]=a}return b}function ig_$a(a){if(_IFPC.H.hasOwnProperty(a))_IFPC.H[a]=ig_}function ig_ab(a){if(a&&_IFPC.H.hasOwnProperty(a))return _IFPC.H[a];return ig_}function ig_bb(){return _IFPC.qb+_IFPC.Ac++}function ig_cb(a){return(a+"").indexOf(_IFPC.qb)==0}
function ig_db(a){for(var b=a.split("&"),c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);try{d=ig_K.parse(d)}catch(e){}b[c]=d}return b}function ig_eb(a){for(var b=[],c=0;c<a.length;c++){var d=ig_K.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function ig_fb(a){var b=_IFPC.Lc(a);if(b){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(ig_,c);_IFPC.dd(a)}else throw new Error("Invalid callbackId");}var _IFPC={};
function ig_gb(a){var b=window._argsUrl&&window._argsUrl(a);if(b&&b.exp_rpc_js==1)window.FLAG_use_rpc_js=ig_a;if(window.FLAG_use_rpc_js){}else{_IFPC={registerService:ig_1a,unregisterService:ig_2a,call:ig_3a,clear:ig_4a,dispose:ig_5a,relayRequest:ig_6a,processRequest:ig_6a,handleRequest:ig_7a,qb:"cbid",rb:"ifpc_callback",ia:new ig_0a,F:{},Y:{},H:{},Ac:0,ya:0,Ha:ig_b,Oc:ig_8a,Vc:ig_9a,dd:ig_$a,Lc:ig_ab,Nc:ig_bb,Qc:ig_cb,Ea:ig_db,Pb:ig_eb,Bc:ig_fb};_IFPC.registerService(_IFPC.rb,
_IFPC.Bc);}}ig_gb(document.location.href);function _IG_Prefs_PrefsData(){}_IG_Prefs_PrefsData.prototype.value=ig_;
function _IG_Prefs(a){var b=a;if(typeof remote_modules!=="object"){var c=_args().mid;b=c?c:0;_IG_Prefs._parseURL(b);_IG_Prefs.ja[b]=ig_b}else{if(!b)throw new Error("Module ID is required as first argument to _IG_Prefs() for inlined modules");_IG_Prefs.ja[b]=ig_a}_IG_Prefs.h[_IG_Prefs.A+b]||(_IG_Prefs.h[_IG_Prefs.A+b]={});this.h=_IG_Prefs.h[_IG_Prefs.A+b];this.d=b;this.ld=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/}
_IG_Prefs.prototype.M=function(a,b){if(b==undefined)b=ig_;var c=this.h[a];if(c==undefined)return b;var d=c.value;return d!=undefined?d:b};_IG_Prefs.prototype.ha=function(a,b){return this.M(_IG_Prefs.k+a,b)};_IG_Prefs.prototype.C=function(a){var b="",c=this.ha(a,b);return c!=ig_?c+"":b};_IG_Prefs.prototype.Pa=function(a){var b=0,c=parseInt(this.ha(a,b),10);return isNaN(c)?b:c};_IG_Prefs.prototype.Ma=function(a){var b=this.C(a);return b==="true"||!!parseInt(b,10)};
_IG_Prefs.prototype.La=function(a){return _IG_Prefs._strToArray(this.ha(a,""))};_IG_Prefs.prototype.mb=function(a,b){this.set(a,_IG_Prefs._arrayToStr(b))};_IG_Prefs.prototype.Oa=function(){return this.C(".country")};_IG_Prefs.prototype.Qa=function(){return this.C(".lang")};_IG_Prefs.prototype.Ra=function(a){return this.M(_IG_Prefs.ub+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.k+d,f=arguments[c*2+1]+"";this.oc(e,f)&&b.push(d,f)}b.length==0||(_IG_Prefs.ja[this.d]?_IG_Prefs._setP(this.d,b):_IFPC_SetPref(b))}};
function ig_hb(a){var b="todos",c=_ig_gmid_(a),d=(new _IG_Prefs(Number(c))).C(b);if(navigator.userAgent.indexOf("MSIE")!=-1&&d.length>1000)for(var e=Math.ceil(d.length/1000),f=0;f<e;f++){var g=d.substr(f*1000,1000);ig_ib(a,g,f,e)}else ig_ib(a,d)}function ig_ib(a,b,c,d){var e=_ig_gmid_(a),f=[b];d&&f.push(c,d);_IFPC.call(a,"populate_todos_pref",f,window._ifpc_relay_url[e],ig_,"http://"+window.location.host+"/ig/images/rpc_relay.html",ig_a,ig_a)}
window._IG_CONTAINER&&_IFPC.registerService("get_todos_pref_for_migration",ig_hb);_IG_Prefs.prototype.Ta=function(){var a=["__module_id__="+this.d];for(var b in this.h)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.h[b].value));return a.join("&")};_IG_Prefs.prototype.dump=function(){document.write("<pre>");for(var a in this.h)document.writeln(a+" = "+this.M(a,ig_));document.write("</pre>")};
_IG_Prefs.prototype.oc=function(a,b){var c=this.h[a];if(c&&c.value===b)return ig_b;if(c)c.value=b;else{c=new _IG_Prefs_PrefsData;c.value=b;this.h[a]=c}return ig_a};_IG_Prefs.ja={};_IG_Prefs.h={};_IG_Prefs.A="m_";_IG_Prefs.k="up_";_IG_Prefs.rc="up_";_IG_Prefs.ub="msg_";_IG_Prefs.ta={};_IG_Prefs.ta[_IG_Prefs.rc]="value";_IG_Prefs.hd=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.ja[a]=ig_b;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," ");var g=c[d].substring(e+1);g=g.replace(/\+/g," ");g=_unesc(g);var j=ig_b;for(var k in _IG_Prefs.ta)if(f.indexOf(k)===0){j=ig_a;f=f.substring(k.length);f=_IG_Prefs.k+f;b[f]=b[f]?b[f]:new _IG_Prefs_PrefsData;if(k===_IG_Prefs.gd||k===_IG_Prefs.fd)g=g=="true";b[f][_IG_Prefs.ta[k]]=g;break}if(!j)if(f.indexOf(_IG_Prefs.ub)===0)_IG_Prefs._add(a,
f,g);else if(f===".lang"||f===".country")_IG_Prefs._add(a,_IG_Prefs.k+f,g)}}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){var d=_IG_Prefs.A+a;if(typeof _IG_Prefs.h[d]!=="object")_IG_Prefs.h[d]={};if(typeof _IG_Prefs.h[d][b]!=="object"){_IG_Prefs.h[d][b]=new _IG_Prefs_PrefsData;var e=_IG_Prefs.h[d][b];e.value=c}};
_IG_Prefs.Zc=function(a,b,c){var d=_IG_Prefs.A+a;if(typeof _IG_Prefs.h[d]!=="object")_IG_Prefs._add(a,b,c);else if(typeof _IG_Prefs.h[d][b]!=="object")_IG_Prefs.h[d][b]=new _IG_Prefs_PrefsData;var e=_IG_Prefs.h[d][b];e.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){for(var c=[],d=0;d<a.length;++d)c.push(a[d].replace(/\|/g,"%7C"));return c.join("|")}else return new String(a)};
_IG_Prefs._strToArray=function(a){for(var b=a.length>0?a.split("|"):[],c=0;c<b.length;++c)b[c]=b[c].replace(/%7C/g,"|");return b};
_IG_Prefs._updatePrefsInUrl=function(a,b){var c=_IG_Prefs.A+a,d=_IG_Prefs.h[c];if(d==ig_)return b;var e=b.split("#"),f=e[0].split("?"),g=f;if(e.length>1&&("&"+e[1]).indexOf("&"+_IG_Prefs.k)!==-1&&(f.length===1||("&"+f[1]).indexOf("&"+_IG_Prefs.k)===-1))g=e;var j=[];if(g.length>1&&g[1].length!==0)j=g[1].split("&");for(var k=0;k<j.length;++k)j[k].indexOf(_IG_Prefs.k)===0&&j.splice(k--,1);for(var o in d)o.indexOf(_IG_Prefs.k)!==0||o.indexOf(_IG_Prefs.k+".lang")===0||o.indexOf(_IG_Prefs.k+".country")===
0||o.indexOf(_IG_Prefs.k+"synd")===0||j.push(_esc(o)+"="+_esc(d[o].value));g[1]=j.join("&");e[0]=f.join("?");return e.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.Zc(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],g=b[e*2+1];d.push(_IG_Prefs.A+a+"_"+f+"="+_esc(g))}d.length===0||_xsetp(d.join("&"))}};
_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",_IG_Prefs.prototype.C,"getInt",_IG_Prefs.prototype.Pa,"getBool",_IG_Prefs.prototype.Ma,"getArray",_IG_Prefs.prototype.La,"setArray",_IG_Prefs.prototype.mb,"getLang",_IG_Prefs.prototype.Qa,"getCountry",_IG_Prefs.prototype.Oa,"getMsg",_IG_Prefs.prototype.Ra,"getPreloadedString",_IG_Prefs.prototype.Ta,"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_jb(e,f,g,c);else{var j=_IG_FR_getFeed(a);if(!j.has_entries&&!j.is_fetching){j.is_fetching=ig_a;_IG_FetchFeedAsJSON(j.url,_IG_Callback(ig_kb,a,b,c,d),j.num_items+15,ig_a)}else{for(var k=0;k<j.num_items;++k){var o=_gel("ftl_"+a+"_"+k);o&&ig_jb(_gel("ft_"+a+"_"+k),_gel("fb_"+a+"_"+k),o,c)}ig_lb(a,b,e,f,g,d);if(f.style.maxHeight&&parseInt(f.style.maxHeight,
10)<ig_mb(g.offsetWidth,f))f.style.height=f.style.maxHeight}}}function ig_kb(a,b,c,d,e){var f=_IG_FR_getFeed(b);f.is_fetching=ig_b;if(a&&a.Entry){for(var g=0;g<a.Entry.length;g++)if(a.Entry[g].ID!="no_id"){var j=_gel("fb_"+b+"_"+a.Entry[g].ID);if(j)j.innerHTML=a.Entry[g].Summary}f.has_entries=ig_a;_IG_FR_toggle(b,c,d,e)}}function ig_L(a){return a.className.match(/reverse_directionality$/)=="reverse_directionality"}
function ig_jb(a,b,c,d){a.className=ig_L(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_L(a)?"uftl_reverse_directionality":"uftl"}
function ig_lb(a,b,c,d,e,f){c.className=ig_L(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_L(c)?"sftl_reverse_directionality":"sftl";window._IG_FRUC_setFeedAsRead&&window._IG_FRUC_setFeedAsRead(a,b)}
function ig_mb(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);var d=c.clientHeight;document.body.removeChild(c);return d}function _IG_RegisterContainerScrollHandler(a){if(navigator.userAgent.indexOf("Firefox")>=0)window.addEventListener("scroll",a,ig_b);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_nb(a){var b=_gel("hl"),c=b?b.value:"en";return"/reader/ig/feed/"+_esc(_IG_FR_getFeed(a).url)+"?hl="+c}function ig_ob(a,b){if(window._max_strategies){var c=ig_nb(a)+(b?"&i="+b:"");window._max_strategies[a]._updateIframeSrc(c)}}function _IG_FR_maxModule(a,b,c){ig_ob(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_nb(a),ig_,_IG_isIE())});_IG_AddModuleEventHandler(a,"unmaximize",function(){ig_ob(a)})}var _IG_FR_listOfFeeds=[];function ig_pb(a,b,c,d){if(!a||a==""||a.length<=27||a.charAt(27)!="{")c(d?ig_:"");else{var e=eval("("+a.substring(27)+")");if(b in e){var f=e[b].body;c(d?ig_M(f):f)}}}function ig_qb(a){var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async=ig_b;b.validateOnParse=ig_b;b.resolveExternals=ig_b;b.loadXML(a)}else{var c=new DOMParser;b=c.parseFromString(a,"text/xml")}return b}
function ig_M(a){var b=ig_qb(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&_gelstn("parsererror",b)[0])return a;return b}var ig_rb=(new Date).getTime();
function ig_sb(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>ig_rb+a.refreshInterval*1000))if(a.asXml){var b=ig_M(_pl_data[a.url]);a.callback(b)}else a.callback(_pl_data[a.url]);else{var c="/ig/jsonp?";if(_et!="")c+="et="+_et+"&";if(!isNaN(a.refreshInterval)&&a.refreshInterval>=0)c=_appendMaxAgeParameter(c,a.refreshInterval);if(a.encoding)c+="enc="+_esc(a.encoding)+"&";if(a.headers){for(var d=[],e=0;e<a.headers.length;e++)d.push(_esc(a.headers[e][0]+
":"+a.headers[e][1]));c+="hdrs="+_esc(d.join(","))+"&"}c+="url="+_esc(a.url);_sendx(c,function(f){ig_pb(f,a.url,a.callback,a.asXml)},ig_b,a.post_data)}}function ig_tb(a){var b={};for(var c in a)b[c]=a[c];return b}function _IG_FetchContent(a,b,c){var d;d=c!=ig_&&typeof c=="object"?ig_tb(c):{};d.url=a;d.callback=b;d.asXml=ig_b;ig_sb(d)}function _IG_FetchXmlContent(a,b,c){var d;d=c!=ig_&&typeof c=="object"?ig_tb(c):{};d.url=a;d.callback=b;d.asXml=ig_a;ig_sb(d)}
function ig_ub(a,b,c){_IG_FetchContent(a,function(d){if(d){var e=ig_M(d);if(typeof e=="object"&&e.firstChild){var f=e.firstChild;f.nodeType==7&&f.nodeName=="xml"&&e.removeChild(f);b(e);return}}b(ig_)},c)}function ig_vb(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){var j=e[g]?e[g]:ig_;b[g](j)}b=ig_},ig_b,a)}var ig_wb=ig_b,ig_xb=0,ig_N="",ig_O={};
function _IG_FetchFeedAsJSON(a,b,c,d,e){if(typeof e!="object")e={};var f="fr_"+ig_xb++,g="url="+_esc(a);if(!isNaN(e.refreshInterval)&&e.refreshInterval>=0)g=_appendMaxAgeParameter(g,e.refreshInterval);if(c)g+="&val="+_esc(c);if(d)g+="&sum=1";var j=f+"="+_esc(g);if(ig_wb){var k={};k[f]=b;ig_vb(j,k)}else{if(ig_N!="")ig_N+="&";ig_N+=j;ig_O[f]=b}}function ig_yb(){ig_wb=ig_a;ig_N!=""&&ig_vb(ig_N,ig_O);ig_N="";ig_O=ig_}_IG_AddEventHandler("domload",ig_yb);
_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",ig_ub,"getFeedAsJSON",_IG_FetchFeedAsJSON]);function ig_zb(a,b,c){var d=ig_w("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_P(e)}):ig_P(e))}}
function ig_P(a,b){var c=b||121,d=a.title;if(!(a.offsetWidth<=c)){var e=0,f=d.length,g,j,k=d.match(/\(\d+\)$/);if(k=k?k[0]:""){k=" "+k;f=d.length-k.length;var o=5*k.length;if(o>c>>1)k=""}for(;j=f-e>>1;){g=e+j;a.innerHTML=ig_Ab(d,g,k);if(a.offsetWidth>c)f=g;else e=g}a.innerHTML=ig_Ab(d,e,k)}}function ig_Ab(a,b,c){var d=[a.substring(0,b),"..."];c&&d.push(c);return _hesc(d.join(""))}function ig_Bb(a){return typeof a=="undefined"||!a||a=="undefined"}
function ig_Cb(a,b){ig_Bb(a)||ig_zb(b,_ig_gmid_(a))}_IFPC.registerService("set_title",ig_Cb);function _IG_SetTitle(a,b,c){if(ig_Bb(b))throw new Error("Inline modules must specify their __MODULE_ID__ when using _IG_SetTitle");else ig_zb(a,b,c)}function _IG_SetTitleDir(a,b){var c=_gel("left_nav_m_"+b+"_title");if(c)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(var c=0;c<b.length;++c){var d=b[c];(d=d.firstChild)&&ig_P(d)}for(c=0;c<_IG_MD.dt.length;++c)if(d=_gel("tab"+_IG_MD.dt[c].i+"_view_title")){var e=d.className=="selected_tab_view_title"?80:100;(d=d.firstChild)&&ig_P(d,e)}})};function _delpromobox(){_xsetp("hp=0");var a=_gel("promobox");a.parentNode.removeChild(a);return ig_b}function _delmessage(){_xsetp("gm=0");var a=_gel("googlemessage");a.parentNode.removeChild(a);return ig_b}function _delpromomod(){_xsetp("pm=0");var a=_gel("promomod");a.parentNode.removeChild(a);return ig_b};var ig_Q=new (function SetPreferenceOnBeforeUnloadManagerClass(){this.X={};var b=window.onbeforeunload;window.onbeforeunload=function(){b&&b();ig_Q.Sc()}});ig_Q.tc=function(a,b){this.X[a]=b};ig_Q.Wc=function(a){delete this.X[a]};ig_Q.M=function(a){return this.X[a]};ig_Q.Sc=function(){var a=[];for(var b in this.X)a.push(b+"="+this.X[b]);if(a.length){var c=ig_p(),d="/ig/setp?et="+_et+"&"+a.join("&");c.open("GET",d,ig_b);c.send(ig_)}};
var _IG_add_setp_parameter_onbeforeunload=function(a,b){ig_Q.tc(a,b)},_IG_remove_setp_parameter_onbeforeunload=function(a){ig_Q.Wc(a)},_IG_get_setp_parameter_onbeforeunload=function(a){return ig_Q.M(a)};var ig_R={TAB:0,MODULE:1,UPDATES:2,INVITES:3},ig_S=function(){var a=ig_R.TAB,b=ig_,c=ig_,d={},e={},f={},g=ig_a,j=ig_,k=ig_;function o(){var i=[],l=[];for(var q in f)if(f[q]&&!e[q])i.push(q);else!f[q]&&e[q]&&l.push(q);i.length?_IG_add_setp_parameter_onbeforeunload("exptabs",i.join(":")):_IG_remove_setp_parameter_onbeforeunload("exptabs");l.length?_IG_add_setp_parameter_onbeforeunload("coltabs",l.join(":")):_IG_remove_setp_parameter_onbeforeunload("coltabs");_IG_add_setp_parameter_onbeforeunload("roster",
g+"")}function h(i){_gel("gadget_set"+i).style.display="block";_gel("triangle"+i).className="v2minbox";f[i]=ig_a;_sendx("/ig/ui?xp=v2&action=expandTab&t="+i,ig_,ig_b,ig_)}function m(i){_gel("gadget_set"+i).style.display="none";_gel("triangle"+i).className="v2maxbox";f[i]=ig_b;_sendx("/ig/ui?xp=v2&action=collapseTab&t="+i,ig_,ig_b,ig_)}function n(){j.style.display="none";k.style.display="none";switch(a){case ig_R.TAB:var i=_gel("section"+b+"_contents");i.className="section_contents leftunselectedtab leftborder";
_gel("tab"+b).className="section_title unselected_section_title";_gel("tab_separator"+b).style.display="";if(c)_gel("tab_separator"+c).style.display="";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display="";break;case ig_R.MODULE:var l=_IG_getCurrentMaxId(),q=_gel("left_nav_m_"+l+"_title");q.className="gadget_title";break;case ig_R.UPDATES:var p=_gel("updates_left_nav");p.className="gadget_title";break;case ig_R.INVITES:var r=_gel("shares_left_nav");r.className="gadget_title";
break}}return{initializeRoundedCornerDivs:function(){j=_gel("left_nav_top_rounded_corners");k=_gel("left_nav_bottom_rounded_corners")},setSelectedTabId:function(i){b=i},setState:function(i){a=i},getSelectedTabId:function(){return b},setNextTabId:function(){for(var i=_gel("section"+b+"_contents").nextSibling;i;){if(i.id&&i.id.match(/section\d+_contents/)){c=i.id.match(/\d+/);break}i=i.nextSibling}},unhighlightCurrentSelection:function(){n()},highlightModule:function(i){n();var l=_gel("left_nav_m_"+
i+"_title");l.className="selected_gadget_title gadget_title leftselectedtab surroundborder";j.style.display="";k.style.display="";l.parentNode.insertBefore(j,l);l.parentNode.insertBefore(k,l.nextSibling);a=ig_R.MODULE},highlightSelectedTab:function(){n();var i=_gel("section"+b+"_contents");i.className="selected_section_contents leftselectedtab surroundborder";_gel("tab"+b).className="section_title selected_section_title";_gel("tab_separator"+b).style.display="none";if(c)_gel("tab_separator"+c).style.display=
"none";else if(_gel("tab_separator_bot"))_gel("tab_separator_bot").style.display="none";j.style.display="";k.style.display="";i.parentNode.insertBefore(j,i);i.parentNode.insertBefore(k,i.nextSibling);a=ig_R.TAB},highlightInvites:function(){n();var i=_gel("shares_left_nav");i.className="selected_gadget_title gadget_title leftselectedtab surroundborder";j.style.display="";k.style.display="";i.parentNode.insertBefore(j,i);i.parentNode.insertBefore(k,i.nextSibling);a=ig_R.INVITES},highlightUpdates:function(){n();
var i=_gel("updates_left_nav");i.className="selected_gadget_title gadget_title leftselectedtab surroundborder";j.style.display="";k.style.display="";i.parentNode.insertBefore(j,i);i.parentNode.insertBefore(k,i.nextSibling);a=ig_R.UPDATES},swapHeaderToCanvasMenu:function(i){var l=_gel("m_"+i+"_home_menu");if(l)l.style.display="none";var q=_gel("m_"+i+"_canvas_menu");if(q)q.style.display=""},swapHeaderToHomeMenu:function(i){var l=_gel("m_"+i+"_canvas_menu");if(l)l.style.display="none";var q=_gel("m_"+
i+"_home_menu");if(q)q.style.display=""},hideLeftNavModuleTitle:function(i){var l=_gel("left_nav_"+i+"_title");if(l)l.style.display="none"},showLeftNavModuleTitle:function(i){var l=_gel("left_nav_"+i+"_title");if(l)l.style.display=""},maybeUnzipModule:function(i){var l=_gel("m_"+i+"_b");d[i]=l&&l.style.display=="none";var q=!_gel("remote_iframe_"+i),p=!(_max_strategies[i]instanceof window._IG_noMaxSupportTransitionStrategy);l.style.display=q&&p?"none":""},maybeZipModule:function(i){var l=_gel("m_"+
i+"_b");l.style.display=d[i]?"none":""},showRoundedCornerOnload:function(){if(b!="0"){_gel("rcbg").style.display="";_gel("col2").className="botborder"}},showRoundedCornerOnMaximize:function(){if(b=="0"){_gel("rcbg").style.display="";_gel("col2").className="botborder"}},hideRoundedCornerOnRestore:function(){if(b=="0"){_gel("rcbg").style.display="none";_gel("col2").className="topbotborder"}},expandTabOnLoad:function(i){e[i]=ig_a;f[i]=ig_a},collapseTabOnLoad:function(i){e[i]=ig_b;f[i]=ig_b},toggleTab:function(i,
l){if(!i)i=window.event;i.cancelBubble=ig_a;i.stopPropagation&&i.stopPropagation();_gel("gadget_set"+l).style.display=="none"?h(l):m(l);o()},toggleRoster:function(){if(_gel("talk_container")){g=!g;_gel("roster_triangle").className=g?"v2minbox":"v2maxbox";if(window.gTalkNotifier&&window.gTalkNotifier._setRosterExpanded)window.gTalkNotifier._setRosterExpanded(g);else _gel("talk_container").style.display=g?"":"none";_log("roster_toggle:"+(g?"1":"0"));o()}},rosterStateOnload:function(i){g=i},isRosterExpanded:function(){return g},
hidePromo:function(i){var l=_gel(i);if(l)l.style.display="none"},swapZipMessage:function(i){for(var l,q=_gel("DD_"+i).firstChild;q;q=q.nextSibling)if(q.innerHTML&&(q.innerHTML.match(IG_MSGS.MAXG)||q.innerHTML.match(IG_MSGS.MING))){l=q;break}var p=_gel("m_"+i+"_b"),r=p&&p.style.display=="none";if(l)l.innerHTML=r?IG_MSGS.MAXG:IG_MSGS.MING},swapRoundedCornerClassNameOnZip:function(i){var l=_gel("m_"+i+"_b"),q=l&&l.style.display=="none",p=l.nextSibling;if(p&&p.className)p.className=q?"rnd_modtitle":"rnd_modboxin"}}}(),
_IG_LN_init=function(a){_IG_AddEventHandler("modulemaximize",ig_S.highlightModule);_IG_AddEventHandler("modulemaximize",ig_S.swapHeaderToCanvasMenu);_IG_AddEventHandler("modulemaximize",ig_S.maybeUnzipModule);_IG_AddEventHandler("modulemaximize",ig_S.showRoundedCornerOnMaximize);_IG_AddEventHandler("moduleunmaximize",ig_S.highlightSelectedTab);_IG_AddEventHandler("moduleunmaximize",ig_S.swapHeaderToHomeMenu);_IG_AddEventHandler("moduleunmaximize",ig_S.maybeZipModule);_IG_AddEventHandler("moduleunmaximize",
ig_S.hideRoundedCornerOnRestore);_IG_AddEventHandler("moduledelete",ig_S.hideLeftNavModuleTitle);_IG_AddEventHandler("moduleundelete",ig_S.showLeftNavModuleTitle);_IG_AddEventHandler("modulezip",ig_S.swapZipMessage);_IG_AddEventHandler("modulezip",ig_S.swapRoundedCornerClassNameOnZip);_IG_AddEventHandler("moduleunzip",ig_S.swapZipMessage);_IG_AddEventHandler("moduleunzip",ig_S.swapRoundedCornerClassNameOnZip);_IG_RegisterOnloadHandler(ig_S.setNextTabId);_IG_RegisterOnloadHandler(ig_S.showRoundedCornerOnload);
_IG_RegisterOnloadHandler(ig_S.initializeRoundedCornerDivs);ig_S.setSelectedTabId(a)},_IG_get_selected_tab_id=ig_S.getSelectedTabId,_IG_expand_tab_onload=ig_S.expandTabOnLoad,_IG_collapse_tab_onload=ig_S.collapseTabOnLoad,_IG_toggle_tab=ig_S.toggleTab,_IG_toggle_roster=ig_S.toggleRoster,_IG_roster_state_onload=ig_S.rosterStateOnload,_IG_is_roster_expanded=ig_S.isRosterExpanded,_IG_hide_promo=ig_S.hidePromo,_IG_maybe_unzip_module=ig_S.maybeUnzipModule,_IG_maybe_zip_module=ig_S.maybeZipModule,_IG_hideRoundedCornerOnRestore=
ig_S.hideRoundedCornerOnRestore,_IG_showRoundedCornerOnMaximize=ig_S.showRoundedCornerOnMaximize,_IG_highlight_invites=ig_S.highlightInvites,_IG_highlight_updates=ig_S.highlightUpdates,_IG_highlight_module=ig_S.highlightModule,_IG_highlight_tab=ig_S.highlightSelectedTab;
var ig_T={ka:"javascript:void(0);",Ic:{u:"",ti:"",mt:""},gmc:function(a,b){return[IG_MSGS.GMC,ig_t(IG_URLS.gmc,["moduleurl="+_esc(b.u),"mid="+a]),ig_]},gmp:function(a){return[IG_MSGS.GMP,ig_t(IG_URLS.gmp,["mid="+a]),ig_]},gmi:function(a,b){return[IG_MSGS.GMI,ig_t(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_T.ka,ig_H(_edit,a,c)]},Nb:function(a,b,c){var d=ig_H(_confirmDel,a,b.mt,
"n_"+b.mt+"="+_esc("url="+_esc(b.u)),c.replace("MODULE_TITLE",b.ti));return[IG_MSGS.DEL,ig_T.ka,d]},del:function(a,b){return ig_T.Nb(a,b,IG_MSGS.DEL_CONFIRM)},del2:function(a,b){return ig_T.Nb(a,b,IG_MSGS.DEL_CONFIRM2)},ming:function(a,b){return[IG_MSGS.MING,ig_T.ka,ig_H(_zm,a,b.mt)]},maxg:function(a,b){var c=ig_T.ming(a,b);c[0]=IG_MSGS.MAXG;return c},shg:function(a,b){var c=ig_H(_share_this_gadget,IG_MSGS.SHG,ig_t(IG_URLS.sgu,["moduleurl="+_esc(b.u),"mid="+a,"source=share_gadget"]),a);return[_hesc(IG_MSGS.SHG),
"#",function(){c();return ig_b}]},osShare:function(a,b){var c=function(){_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_T.ka,c]},$c:/^http:\/\//,lc:function(a){return _esc(a.replace(ig_T.$c,""))},rg:function(a,b){return ig_T.rgv1(a,b).concat("dd_separator")},rgv1:function(a,b){return[IG_MSGS.RG,ig_t(IG_URLS.dir,["recommend="+ig_T.lc(b.u)]),ig_]},ag:function(a,b){return[IG_MSGS.AG,
ig_t(IG_URLS.dir,["url="+ig_T.lc(b.u)]),ig_]}};_exportSymbols("",["_IG_DDI",ig_T]);var ig_U,ig_V,ig_W={};function _IG_AddDropDownEventHandler(a,b){ig_W[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);var b=document.createElement("div");b.id="IG_DD_div";b.className="dd_layer_hidden";b.onclick=_IG_DD_hide;document.body.insertBefore(b,document.body.firstChild)}
function _IG_DD_create(a,b){if(!b){b=[];for(var c=ig_w("m",a,"dd"),d=0;d<c.length;++d)b[d]=ig_T[c[d]]}var e=document.createElement("div");e.setAttribute("id","DD_"+a);e.className="dd dd_border";e.style.display="none";e.onkeydown=_IG_DD_keys;d=0;for(var f;f=b[d];d++){var g=f;if(typeof f=="function")g=f(a,ig_w("m",a)||ig_T.Ic);g[3]&&e.appendChild(ig_Db(g[3]));e.appendChild(_IG_DD_add(g[0],g[1],g[2],d))}_gel("IG_DD_div").appendChild(e)}
function _IG_DD_add(a,b,c,d){b=b||"javascript:void(0)";var e=document.createElement("div"),f="";if(typeof c=="string"&&c!="")f=' onclick="'+c+'"';e.innerHTML='<a href="'+b+'"'+f+">"+a+"</a>";var g=e.firstChild;if(typeof c=="string"&&c!="")c=g.onclick;if(c)g.onclick=function(j){c(j);_IG_DD_hide();return ig_b};g.className=d==0?"dd_item dd_item_first":"dd_item";g.onblur=function(){ig_V=ig_b;return ig_a};g.onmouseover=function(){return _IG_DD_select(this)};return g}
function ig_Db(a){var b=document.createElement("div");b.className=a;b.innerHTML='<div class="topline"></div><div class="bottomline"></div>';return b}
function _IG_DD_open(a,b){var c=_gel("DD_"+b);if(!c){_IG_DD_create(b);c=_gel("DD_"+b)}if(c.style.display=="none"){ig_U=b;var d=_gel("IG_DD_div");d.className="dd_layer";_IG_AddEventHandler("resize",_IG_DD_position);_IG_DD_position();ig_V=ig_b;if(c.hasChildNodes()){var e=c.firstChild;if(e.tagName!="A")e=e.nextSibling;_IG_DD_select(e)}var f=_gel("DD_tg_"+b);f.className+=" ddbox_sel";var g=ig_W[ig_U];g&&g(ig_a)}}
function _IG_DD_position(){var a=_gel("DD_"+ig_U),b=_gel("DD_tg_"+ig_U),c=_gel("IG_DD_div");a.style.display="block";var d=_findPos(b),e=a.offsetWidth,f=d[0]+b.offsetWidth-e,g=document.body.clientWidth+document.body.scrollLeft;if(f<5)f=5;else if(f+e>g-5)f=g-5-e;a.style.left=f+"px";a.style.top=d[1]+b.offsetHeight+"px";var j=_gel("IG_DD_iframe_cover");j.style.left=a.style.left;j.style.top=a.style.top;j.style.width=a.offsetWidth+"px";j.style.height=a.offsetHeight+"px";j.style.display="block";c.style.height=
ig_C()+"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_U){var b=_gel("DD_"+ig_U);b.style.display="none";_gel("IG_DD_iframe_cover").style.display="none";var c=_gel("DD_tg_"+ig_U);c.className=c.className.replace(/ ddbox_sel/,"");var d=ig_W[ig_U];d&&d(ig_b);if(ig_V){var e=_gel("DD_tg_"+ig_U);e&&e.focus()}ig_V=ig_b;ig_U=ig_}a.className="dd_layer_hidden"}_IG_DD_select(ig_)}
function _IG_DD_gcn(a,b,c){for(var d=new RegExp("(^| )"+c+"( |$)"),e=_gelstn(b,a),f=[],g=0,j;j=e[g];g++)d.test(j.className)&&f.push(j);return f}
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."))throw e;}a.className=a.className+" dd_sel"}}
function _IG_DD_keys(a){function b(g,j){var k=g;do{k=j?k.nextSibling:k.previousSibling;if(!k){var o=g.parentNode;k=j?o.firstChild:o.lastChild}}while(k!=g&&k.tagName!="A");return k}var c=ig_a,d=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(d==ig_||d.length!=1)return ig_a;var e=d[0];if(!a)a=window.event;var f=a.keyCode||a.charCode||a.which;switch(f){case 13:ig_V=ig_a;break;case 38:_IG_DD_select(b(e,ig_b));c=ig_b;break;case 40:_IG_DD_select(b(e,ig_a));c=ig_b;break;case 27:case 9:ig_V=ig_a;c=ig_U==ig_&&
f==9;_IG_DD_hide();break}return c};var ig_X={obj:ig_,init:function(a,b){a.onmousedown=ig_X.start;a.obj=b;if(isNaN(parseInt(b.style.left,10)))b.style.left="0px";if(isNaN(parseInt(b.style.top,10)))b.style.top="0px";b.onDragStart=new Function;b.onDragEnd=new Function;b.onDrag=new Function},uninit:function(a,b){window.clearInterval(b.ic);a.onmousedown=ig_;a.obj=ig_;b.onDragStart=ig_;b.onDragEnd=ig_;b.onDrag=ig_},start:function(a){var b=ig_X.obj=this.obj;a=ig_X.fixE(a);if(a.which!=1)return ig_a;b.onDragStart(a);var c=a.clientY;ig_Y.$b||
(c+=document.body.scrollTop);b.lastMouseX=a.clientX;b.lastMouseY=c;b.offsetMouseX=parseInt(b.style.left,10)-a.clientX;b.offsetMouseY=parseInt(b.style.top,10)-c;b.ic=window.setInterval(ig_Eb(b,document.body.scrollHeight>document.documentElement.clientHeight?document.body.scrollHeight:document.documentElement.clientHeight),10);document.onmouseup=ig_X.end;document.onmousemove=ig_X.drag;return ig_b},drag:function(a){a=ig_X.fixE(a);if(a.which==0)return ig_X.end();var b=ig_X.obj,c=a.clientY;ig_Y.$b||(c+=
document.body.scrollTop);var d=a.clientX;if(b.lastMouseX==d&&b.lastMouseY==c)return ig_b;var e=d+b.offsetMouseX,f=c+b.offsetMouseY;b.style.left=e+"px";b.style.top=f+"px";b.lastMouseX=d;b.lastMouseY=c;b.onDrag(e,f);return ig_b},end:function(){document.onmousemove=ig_;document.onmouseup=ig_;window.clearInterval(ig_X.obj.ic);var a=ig_X.obj.onDragEnd();ig_X.obj=ig_;return a},fixE: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_Fb(a,b,c){if(!a)return[];var d=b=="*"&&a.all?a.all:_gelstn(b,a),e=[];c=c.replace(/\-/g,"\\-");for(var f=new RegExp("(^|\\s)"+c+"(\\s|$)"),g,j=0;j<d.length;j++){g=d[j];f.test(g.className)&&e.push(g)}return e}
var _IG_initDrag=function(a,b){ig_Y.$=a;ig_Y.oa=b;ig_Y.J=ig_Fb(ig_Y.$,"div","yui-u");if(_old_html){ig_Y.hc=ig_Y.$.tBodies[0].rows[0];ig_Y.J=ig_Y.hc.cells}ig_Y.q=[];for(var c=0,d=0;d<ig_Y.J.length;d++){var e=ig_Y.J[d];if(!(e.className.indexOf("ig_dnd_fixed_col")!=-1||e.style.display=="none"))for(var f=0;f<e.childNodes.length;f++){var g=e.childNodes[f];if(g.tagName=="DIV"){ig_Y.q[c]=g.className!="dm"?new ig_Gb(g):new ig_Hb(g);c++}}}_IG_AddEventHandler("unload",ig_Ib)};
function ig_Ib(){if(ig_Y.q)for(var a=0;a<ig_Y.q.length;a++){ig_Y.q[a].Ob();ig_Y.q[a]=ig_}ig_Y.q=ig_;ig_Y.J=ig_;if(_old_html)ig_Y.hc=ig_;ig_Y.$=ig_}var ig_Y={};ig_Y.pb=navigator.userAgent;ig_Y.Zb=ig_Y.pb.indexOf("Gecko")!=-1;ig_Y.bb=ig_Y.pb.indexOf("Opera")!=-1;ig_Y.$b=ig_Y.pb.indexOf("Safari")!=-1;ig_Y.wb="IG_pageDivMaskId";ig_Y.vb="IG_moduleDivMaskId";ig_Y.jd=function(){ig_Y.$.style.display="none"};ig_Y.kd=function(){ig_Y.$.style.display=""};ig_Y.G=ig_;
ig_Y.ea=function(){if(!ig_Y.G){ig_Y.G=document.createElement("DIV");ig_Y.G.className="modbox";ig_Y.G.backgroundColor="";ig_Y.G.style.border="2px dashed #aaa";ig_Y.G.innerHTML="&nbsp;"}return ig_Y.G};ig_Y.I=function(a,b){return function(){return a[b].apply(a,arguments)}};
ig_Y.Rb=function(){var a=[];if(ig_Y.oa){var b;b=_old_html?ig_Y.oa.tBodies[0].rows[0].cells:_gelstn("LI",ig_Y.oa);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_Y.oa);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_Y.zc=function(){for(var a=ig_Y.Rb(),b=0;b<a.length;b++){var c=a[b];c.isDraggableTo=ig_a;c.pagePosLeft=ig_Y.L(c,ig_a);c.pagePosRight=c.pagePosLeft+c.offsetWidth;c.pagePosTop=ig_Y.L(c,ig_b);c.pagePosBottom=c.pagePosTop+c.offsetHeight}};ig_Y.yc=function(a){for(var b=0;b<ig_Y.q.length;b++){var c=ig_Y.q[b];c.b.pagePosLeft=ig_Y.L(c.b,ig_a);c.b.pagePosTop=ig_Y.L(c.b,ig_b)}for(var d=a.b.nextSibling;d;){d.pagePosTop-=a.b.offsetHeight;d=d.nextSibling}};
ig_Y.L=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_Y.sc=function(a){ig_Y.gc();var b=document.createElement("DIV");b.id=ig_Y.wb;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.Ub){b=b.cloneNode(ig_a);b.id=ig_Y.vb;b.style.height=a.b.offsetHeight-a.v.offsetHeight+"px";b.style.top=a.v.offsetHeight+"px";a.b.appendChild(b)}};
ig_Y.gc=function(){for(var a=[ig_Y.vb,ig_Y.wb],b=0;b<a.length;b++){var c=_gel(a[b]);c&&c.parentNode.removeChild(c)}};ig_Y.Xc=function(){for(var a="",b=0;b<ig_Y.J.length;b++)for(var c=ig_Y.J[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_Hb(a){this.Ob=ig_Jb;this.b=a;this.b.innerHTML="<br />"}function ig_Jb(){this.b=ig_}
function ig_Gb(a){this._urlMouseUp=ig_Kb;this._urlMouseDown=ig_Lb;this._urlClick=ig_Mb;this._dragStart=ig_Nb;this._drag=ig_Ob;this._dragEnd=ig_Pb;this.Kc=ig_Qb;this.qa=ig_Rb;this.Ob=ig_Sb;this.S=ig_b;this.b=a;this.v=_gel(a.id+"_h");this.j=_gel(a.id+"_url");this.Ub=_gelstn("IFRAME",this.b).length>0;this.b.DND_Module=this;if(this.v){this.v.style.cursor="move";ig_X.init(this.v,this.b);this.b.onDragStart=ig_Y.I(this,"_dragStart");this.b.onDrag=ig_Y.I(this,"_drag");this.b.onDragEnd=ig_Y.I(this,"_dragEnd");
if(this.j){this.j.style.cursor="pointer";if(ig_Y.Zb){this.j.onmousedown=ig_Y.I(this,"_urlMouseDown");this.j.onclick=ig_Y.I(this,"_urlClick")}else this.j.onmouseup=ig_Y.I(this,"_urlMouseUp")}}}function ig_Sb(){if(this.v){if(this.j){this.j.onclick=ig_;this.j=this.j.onmouseup=ig_}ig_X.uninit(this.v,this.b);this.b.onDragStart=ig_;this.b.onDrag=ig_;this.v=this.b.onDragEnd=ig_}this.b=ig_}
function ig_Kb(a){a=ig_X.fixE(a);if(this.S||!this.j||!this.j.href||a.which!=1)return ig_a;this.qa("titleclick");if(this.j.target||a.shiftKey)window.open(this.j.href,this.j.target);else document.location=this.j.href;return ig_b}function ig_Lb(a){a=ig_X.fixE(a);a.stopPropagation();return ig_a}function ig_Mb(){if(!this.S&&this.j&&this.j.href){this.qa("titleclick");return ig_a}return ig_b}
function ig_Nb(){ig_Y.yc(this);ig_Y.zc();this.origNextSibling=this.b.nextSibling;var a=ig_Y.ea(),b=this.b.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.b.offsetWidth,d=ig_Y.L(this.b,ig_a),e=ig_Y.L(this.b,ig_b);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=10000;this.b.style.left=d+"px";this.b.style.top=e+"px";ig_Y.sc(this);return this.S=ig_b}
function ig_Tb(){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[a,b]}
function ig_Ob(a,b){if(!this.S){this.b.style.filter="alpha(opacity=50)";this.b.style.opacity=0.5;this.S=ig_a;this.qa("dragstart")}for(var c=ig_,d=100000000,e=0;e<ig_Y.q.length;e++){var f=ig_Y.q[e],g=a;if(document.body.dir=="rtl"&&f.b.offsetWidth==1)g+=this.b.offsetWidth;var j=Math.sqrt(Math.pow(g-f.b.pagePosLeft,2)+Math.pow(b-f.b.pagePosTop,2));if(!(f==this))if(!isNaN(j))if(j<d){d=j;c=f}}this.D=ig_;var k=ig_Y.Rb();for(e=0;e<k.length;e++){f=k[e];if(f.isDraggableTo){var o=ig_Tb();if(this.b.lastMouseX>=
f.pagePosLeft&&this.b.lastMouseX<=f.pagePosRight&&this.b.lastMouseY+o[1]>=f.pagePosTop&&this.b.lastMouseY+o[1]<=f.pagePosBottom){this.D=f;var h=ig_Y.ea();h.parentNode!=ig_&&h.parentNode.removeChild(h);break}}}for(e=0;e<k.length;e++){f=k[e];if(f.id.indexOf("view")>=0||f.id.indexOf("contents")>=0)if(f==this.D){if(f.className.indexOf(" tab_hover")<0)f.className+=" tab_hover"}else f.className=f.className.replace(/ tab_hover/g,"")}h=ig_Y.ea();if(this.D==ig_&&c!=ig_&&h.nextSibling!=c.b){c.b.parentNode.insertBefore(h,
c.b);if(ig_Y.bb){document.body.style.display="none";document.body.style.display=""}}}
function ig_Pb(){ig_Y.gc();this.Kc()&&ig_Y.Xc();if(this.D){var a=this.D.id.match(/.*?(\d+).*/)[1],b=this.b.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.b.style.display="none";this.D.className=this.D.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.S&&this.qa("dragend");return ig_a}
function _hideNewUserTip(){var a=_gel("new_user_tip");if(a)a.style.display="none"}
function ig_Qb(){var a=ig_b;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_Y.ea();if(b.parentNode!=ig_){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.b,b.nextSibling);a=ig_a}b.parentNode.removeChild(b)}if(ig_Y.bb){document.body.style.display="none";document.body.style.display=""}if(a&&this.Ub&&(ig_Y.Zb||ig_Y.bb)){var c=_gelstn("IFRAME",this.b)[0],d=this.b.id.substring(2),e=
_IG_Prefs._updatePrefsInUrl(d,c.src);if(c.src!=e)c.src=e}return a}function ig_Rb(a){switch(a){case "titleclick":_IG_TriggerModuleEvent(this.b.id,a,this.j.href);_IG_TriggerEvent("module"+a,this.b.id,this.j.href);break;case "dragstart":case "dragend":_IG_TriggerDelayedModuleEvent(this.b.id,a);_IG_TriggerDelayedEvent("module"+a,this.b.id);break}}
function ig_Eb(a,b){return function(){var c=ig_Ub(),d=ig_Tb(),e=d[1],f=4,g=0.05*c,j=e,k=a.offsetTop;if(a.lastMouseY<=g){k=a.offsetTop-f;j=e-f}else if(a.lastMouseY>=c-g){k=Math.min(b-a.offsetHeight,a.offsetTop+f);j=Math.min(b-c,e+f)}var o=j-e;if(o!=0){window.scrollBy(0,o);a.style.top=k+"px"}}}
function ig_Ub(){var a;a=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.offsetHeight;if(a<document.body.clientHeight)return a;return document.body.clientHeight}_IG_AddCustomEventHandler("initdrag",function(a,b){_IG_initDrag(a,b)});_exportSymbols("",["IG_DND",ig_Y]);window._IG_PU=function(){var a=ig_a,b;function c(d){if(!arguments.callee.calledOnce){var e={IG_PU_box:"div",IG_PU_iframe_cover:"iframe",IG_PU_bg:"div"};for(var f in e){var g=document.createElement(e[f]);g.id=f;g.style.display="none";document.body.insertBefore(g,document.body.firstChild)}arguments.callee.calledOnce=ig_a}return _gel(d)}return{open:function(d,e,f,g,j){a=typeof e=="string";var k=c("IG_PU_box");if(k&&k.style.display=="none"){f||(f=[_IG_PU_MakeDialogButton("Save"),_IG_PU_MakeDialogButton("Cancel")]);
var o=['<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>',a?e:"",ig_Vb(f),"</div></td></tr></table>"].join("");ig_Wb(o,g,a?ig_:e,j)}},openUrl:function(d,e,f,g,j,k,o){var h=_IG_PU_createSimpleTitle(d)+(e||""),m=['<div class=url><iframe id=popup_iframe style="width:',g,';height:0px;" src="',f,'" onload="_ResizeIframeHeight();" scrolling=no frameborder=0></iframe><div class=c></div>',
ig_Vb(j,"colored_background")].join("");window._IG_PU.open(h,m,[],k,o)},hide:function(d){var e=_gel("button_"+d);if(!(e&&e.firstChild&&e.firstChild.disabled)){c("IG_PU_box").style.display="none";c("IG_PU_iframe_cover").style.display="none";var f=c("IG_PU_bg");f.onclick="";f.style.height="";f.style.width="";if(!a){var g=_gel("dialogcontent").firstChild;d!=_DI_button_type.OK&&g.nodeName=="FORM"&&g.reset();setTimeout(function(){var o=_gel("popup_box_placeholder");o.parentNode.insertBefore(_gel("dialogcontent").firstChild,
o);o.parentNode.removeChild(o)},1000)}var j=_gel("popup_iframe"),k=j&&j.contentWindow.getPopupData?j.contentWindow.getPopupData():ig_;_IG_RemoveEventHandler("resize",j?_ResizeIframeHeight:ig_Z);_IG_RemoveDOMEventHandler(window,"scroll",ig_Z);b(d,k)}},createSimpleTitle: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("")},findFocusable:function(d,
e,f){if(!d.disabled){var g=d.nodeName.toLowerCase();if(g=="input"||g=="button")return d;if(!f){if(g=="a"&&ig_Xb(d,"href"))return d;if(d.nodeType==1&&ig_Xb(d,"tabindex")&&d.tabIndex!=-1)return d}}if(!d.hasChildNodes())return ig_;var j=d.childNodes;if(e)for(var k=0,o;o=j[k];k++){var h=ig__(o,e,f);if(h)return h}else for(k=j.length-1;o=j[k];k--)if(h=ig__(o,e,f))return h;return ig_},makeDialogButton:function(d,e,f,g){var j=["<input type=button"];e&&j.push(' id="'+e+'"');f&&j.push(' class="'+f+'"');g&&
j.push(' onclick="'+g+'"');j.push(' value="',d,'"></input>');return j.join("")},disableHideForButton:function(d){var e=_gel("button_"+d);if(e)e.onclick=function(){}},createSimpleInputBox: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("")},hasAttr:function(d,e){if(d.getAttributeNode){var f=d.getAttributeNode(e);return f?f.specified:ig_b}return d.getAttribute(e)!=ig_},limitFocus:function(d){d=d||window.event;var e=d.target||d.srcElement,f=d.keyCode||d.charCode||d.which;if(f==9){var g=ig__(this,ig_a,ig_b);if(!g)return ig_a;var j=ig__(this,ig_b,ig_b);if(e==g&&d.shiftKey&&!(d.ctrlKey||d.altKey)){j.focus();return ig_b}else if(e==j&&!(d.shiftKey||d.ctrlKey||d.altKey)){g.focus();return ig_b}}return ig_a},
buildButtons: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(var g=0;g<d.length;++g){f.push("<td align=center>");f.push('<span id="button_',g,'" ');f.push('onclick="_IG_PU_hide(',g,')">');f.push(d[g]);f.push("</span>");f.push("</td>")}f.push("</tr></table></div></div>");return f.join("")},showDialog:function(d,e,f,g){var j=3000,k=c("IG_PU_bg"),o=k.style;
o.zIndex=j;o.background="#000";ig_Yb(k,ig_a);o.position="absolute";k.onclick=function(){};o.display="none";o.left="0px";o.top="0px";var h=c("IG_PU_box"),m=c("IG_PU_iframe_cover");h.innerHTML=d;if(!a&&f){var n=document.createElement("div");n.id="popup_box_placeholder";n.style.display="none";f.parentNode.insertBefore(n,f);_gel("dialogcontent").insertBefore(f,_gel("dialogcontent").firstChild)}var i=h.style;i.position="absolute";i.zIndex=j+1;var l=m.style;l.position="absolute";i.visibility="hidden";i.display=
"block";ig_Z();i.visibility="visible";l.display="";o.display="block";_IG_AddEventHandler("resize",_gel("popup_iframe")?_ResizeIframeHeight:ig_Z);_IG_AddDOMEventHandler(window,"scroll",ig_Z);_gel("IG_PU_dlg").onkeydown=ig_Zb;e=e||function(){};if(g&&g.length){for(var q=[],p=0;p<g.length;++p){var r=_gel(g[p]);if(r){q.push(g[p]);r.setAttribute("old_position",r.style.position);r.setAttribute("old_left",r.style.left);r.style.position="relative";r.style.left="-99999px"}}b=function(t,u){e(t,u);for(var v=
0;v<q.length;++v){var w=_gel(q[v]);if(w){w.style.position=w.getAttribute("old_position");w.style.left=w.getAttribute("old_left")}}}}else b=e;var s=ig__(h,ig_a,ig_a);s&&s.focus()},position:function(){var d=c("IG_PU_box");if(!(d.style.display!="block")){var e=c("IG_PU_iframe_cover"),f=c("IG_PU_bg"),g=document.body.clientWidth,j=window.innerHeight;if(!j)j=document.documentElement.offsetHeight;var k=d.offsetHeight<j,o=d.style;if(d){var h=(g-d.offsetWidth)/2,m=Math.max((j-d.offsetHeight)/2+ig_D(),0);if(!k&&
o.top)m=parseInt(o.top,10);o.left=h+"px";o.top=m+"px";var n=e.style;n.left=h+"px";n.top=m+"px";n.width=d.offsetWidth+"px";n.height=d.offsetHeight+"px"}if(f){var i=parseInt(o.top,10)+d.offsetHeight,l=Math.max(ig_C(),j,i);f.style.height=l+"px";f.style.width=document.body.clientWidth+"px"}}},toggleTransparency:function(d,e){var f=d.style;if("opacity"in f)f.opacity=e?0.5:1;else if("MozOpacity"in f)f.MozOpacity=e?0.5:1;else if("filter"in f)f.filter=e?"alpha(opacity=50)":"alpha(opacity=100)"},resizeIframeHeight:function(){var d=
_gel("popup_iframe");if(d){var e=d.style;e.height=ig_C(d.contentWindow.document.body)+"px";e.display="block";e.display=""}ig_Z()}}}();
var _DI_button_type={Close:-1,OK:0,Cancel:1},_IG_PU_hide=window._IG_PU.hide,_IG_PU_open=window._IG_PU.open,_IG_PU_openURL=window._IG_PU.openUrl,_IG_PU_disable_hide_for_button=window._IG_PU.disableHideForButton,_IG_PU_MakeDialogButton=window._IG_PU.makeDialogButton,_ResizeIframeHeight=window._IG_PU.resizeIframeHeight,ig_Yb=window._IG_PU.toggleTransparency,_IG_PU_createSimpleTitle=window._IG_PU.createSimpleTitle,ig__=window._IG_PU.findFocusable,ig_Xb=window._IG_PU.hasAttr,ig_Zb=window._IG_PU.limitFocus,
ig_Vb=window._IG_PU.buildButtons,ig_Z=window._IG_PU.position,ig_Wb=window._IG_PU.showDialog;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_0=ig_;
function _share_gadget(a,b,c,d,e,f,g,j){if(d){_hide_sent_content_messages();if(!ig_0)ig_0=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=ig_0.replace("GADGET_NAME",_get_module_title(d))}if(g)var k="_gel('popup_iframe').contentWindow.prepareEmail(_gel('share_userprefs') ? _gel('share_userprefs').checked : false)";else k="_gel('popup_iframe').contentWindow.prepareEmail();";var o=['<input type="button" id="send_btn" disabled="true" onclick="'+k+'" value="'+e+'"></input>',_IG_PU_MakeDialogButton(f)],
h="titlebar userprefs userprefs_border",m=_get_userprefs_checkbox_html(g,j,h);_IG_PU_openURL(a,m,b,c,o,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_0)ig_0=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=ig_0.replace("GADGET_NAME",_get_module_title(c))}var e=d||function(){},f=function(g,j){e(g,j);c&&_finish_sharing_gadget(g)};_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,g){var j='<iframe id="popup_iframe" width="100%" height="0px" src="'+_hesc(b)+'" onload="_ResizeIframeHeight();" scrolling="no"></iframe>',k="_gel('popup_iframe').contentWindow.storeTabAndPrepareEmail(_find_unshared_gadgets(), _gel('share_userprefs') ? _gel('share_userprefs').checked : false);",o=['<input type="button" id="send_btn" disabled="true" onclick="'+_hesc(k)+'" value="'+_hesc(f)+'"></input>',_IG_PU_MakeDialogButton(g)];if(_uli){for(var h=
_get_all_modules(),m=Math.max(h.length*160,400),n=7,i=0,l=0;l<h.length;l++)if(h[l].length>i)i=h[l].length;var q=i>n&&c!="NO_TRANSLATION",p=[a];p.push('<form id="module_list">');p.push('<table class="titlebar module_list_table" ','cols="',h.length,'"',' width="',m,'px">');q?p.push('<tr class="zipped_modules" id="module_list_zipper">'):p.push('<tr class="unzipped_modules">');for(var r=0;r<h.length;r++){p.push('<td width="',100/h.length,'%" ','valign="top">');for(var s=0;s<h[r].length;s++){var t=_hesc(h[r][s].id.replace("m_",
"")),u=_hesc(_get_module_title(h[r][s]));p.push('<div class="module_item');s>=n&&q&&p.push(" extra_items");p.push('">');p.push('<input id="share_',t,'" type="checkbox"'," checked ></input>");p.push('<label for="share_',t,'">',u,"</label>");p.push("</div>")}p.push("</td>")}p.push("</tr>");if(q){p.push('<tr class="zipped_module_list">');p.push('<td id="show_all_modules" colspan="',h.length,'" style="font-size:80%;text-align:center;">');p.push('<a href="javascript:void(0);" id="zipper_text"',' onclick="_modules_zipper();">');
p.push(c,"</a>");p.push("</td></tr>")}p.push("</table>");p.push(_get_userprefs_checkbox_html(d,e,"userprefs"));p.push("</form>");_IG_PU_open(p.join(""),j,o);_IG_PU_disable_hide_for_button(0);_gel("dialogcontent").className+=" url";_gel("buttons").className+=" colored_background"}else{_IG_PU_open(a,j,o);_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_a)}else{_gel("share_userprefs_alert").style.display="none";_gel("popup_iframe").contentWindow.shouldShareUserprefs(ig_b)}}
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++)ig__b(a[c])||(b[b.length]=a[c].id.replace("share_",""));return b}
function ig__b(a){if(a&&a.tagName=="INPUT"){var b=_gel("module_list_zipper"),c=b&&/unzipped_modules/.test(_gel("module_list_zipper").className),d=/extra_items/.test(a.parentNode.className),e=!b||c||!d;return a.checked&&e}return ig_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_w("m",b),e=d.mt,f=_gel("remote_iframe_"+b),g=f&&f.src;ig_s(a,"sn",d.sn);ig_s(a,"ifr",g?"1":"0");if(c||!g){_fsetp(a,b,e);return ig_a}for(var j=a.elements,k=[],o=[],h=0;h<j.length;++h){var m=j[h].name,n=j[h].value;if(m&&m!="url"){k.push(_esc(m)+"="+_esc(n));var i=m.match(/^m_\d+_up_(.*)$/);if(i){o.push(i[1]);o.push(n)}}}_xsetp(k.join("&"));_closeUserPrefs(b);_IG_Prefs._setPrefs(b,o);var l=(new Date).getTime(),q=f.onload;f.onload=function(){var s=(new Date).getTime()-
l,t=d.sn;_sendx(["/ig/ui?action=refreshIfr&m=",_esc(t),"&ol=",s].join(""));typeof q=="function"&&q();f.onload=q};var p=f.src,r=_IG_Prefs._updatePrefsInUrl(b,p);if(p==r)r=ig_f(p);f.src=r;return ig_b};function _IG_FRUC_init(){ig_3b();ig_4b()}function ig_5b(a){return function(b){b||ig_6b(ig_w("m",a,"i"))}}function ig_3b(){for(var a in ig_w("m")){var b=ig_w("m",a);b.mt==25&&_IG_RegisterMaximizeHandler(b.i,ig_5b(a))}}function ig_7b(a){return function(b){ig_8b(a,b)}}function ig_6b(a){var b=ig_w("m",a);b&&b.mt==25&&_sendx("/ig/unreadcounts?feed="+b.u,ig_7b([a]))}
function ig_4b(){var a=[],b=[],c=[],d=0;for(var e in ig_w("m")){var f=ig_w("m",e);if(f.mt==25){a.push(_hesc(f.u));b.push(f.i);if(f.fa&&f.fa.length>0){for(var g=[],j=0;j<f.fa.length;++j)g.push(f.fa[j].i);c.push(g.join(","))}else c.push("");d++}}a.length==0||_sendx("/ig/unreadcounts?feed="+a.join("&feed=")+"&fa="+c.join("&fa="),ig_7b(b))}
function ig_8b(a,b){if(b){var c=eval("("+b+")");if(c&&c.uc&&c.uc.length==a.length)for(var d=0;d<a.length;++d){var e=ig_w("m",a[d]);if(e){var f=c.uc[d];e.uc=f;ig_9b(e,f);var g=c.ua[d];if(e&&e.fa&&g&&e.fa.length==g.length)for(var j=0;j<e.fa.length;++j)e.fa[j].rs=g[j]}}}}function ig_9b(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_w("f","show_feed_unread_counts")&&ig_w("m",a,"fa",b)){var c=ig_w("m",a);if(c.fa[b].rs==1){if(c.uc){c.uc--;ig_9b(c,c.uc);_sendx("/ig/markfeed?feed="+c.u+"&fa="+c.fa[b].i)}c.fa[b].rs=ig_b}}};function _IG_hoverModule(a,b){var c=_gel("m_"+a);ig_$b(a,b,c,"modhover")}function _IG_hoverHeader(a,b){var c=_gel("m_"+a+"_drag");if(c)c.style.display=b?"":"none";var d=_gel("m_"+a+"_home_menu");d&&ig_$b(a,b,d,"titlehover")}function ig_$b(a,b,c,d){if(b)ig_4.isModuleMaximized(a)||ig_aa(c,d);else ig_d(c,d,ig_)};function _IG_inherits(a,b){function c(){}c.prototype=b.prototype;a.ad=b.prototype;a.prototype=new c;a.prototype.constructor=a};function ig_5(){}ig_5.prototype._onPreDetachDashboard=function(){};ig_5.prototype._onPostDetachDashboard=function(){};ig_5.prototype._onPreAttachMaximized=function(){};ig_5.prototype._onPostAttachMaximized=function(){};ig_5.prototype._onPreDetachMaximized=function(){};ig_5.prototype._onPostDetachMaximized=function(){};ig_5.prototype._onPreAttachDashboard=function(){};ig_5.prototype._onPostAttachDashboard=function(){};
ig_5.create=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_6(a){ig_5.call(this);this.d=a;this.Jb=""}_IG_inherits(ig_6,ig_5);ig_6.prototype.l=function(){return _gel("remote_iframe_"+this.d)};
ig_6.prototype.Za=function(){var a=this.l();a&&(a.src="")};ig_6.prototype.Q=function(){var a=this.l();if(a)a.src=_IG_Prefs._updatePrefsInUrl(this.d,a.src)};ig_6.prototype._onPreAttachMaximized=function(){var a=_gel("m_"+this.d+"_b");this.Jb=a.className;a.className="modboxin_max";ig_4.removeRoundedCorners(this.d);_gel("rcam_t1").className="rnd1_max_top";_gel("rcam_t2").className="rnd2_max_top";_gel("rcam_t3").className="rnd3_max_top"};
ig_6.prototype._onPreAttachDashboard=function(){var a=_gel("m_"+this.d+"_b");a.className=this.Jb;ig_4.restoreRoundedCorners(this.d);_gel("rcam_t1").className="rnd1";_gel("rcam_t2").className="rnd2";_gel("rcam_t3").className="rnd3"};ig_6.prototype.lb=function(a,b,c){b.style.width="200px";c=c||0;var d=_max(200,_IG_isIE()?a.scrollWidth-c:a.offsetWidth);b.style.width=d+"px"};
function _IG_iFrameTransitionStrategy(a,b,c,d){ig_6.call(this,a);this.W=b;this.R=d||ig_b;this.ca="";this.Fa=c||"800px";this.Mb=this.Kb=this.Lb=this.Da=ig_;if(this.R){var e=this;this.P=function(){e.zb.call(e)}}}_IG_inherits(_IG_iFrameTransitionStrategy,ig_6);_IG_iFrameTransitionStrategy.prototype.zb=function(){this.lb(_gel("remote_"+this.d),this.l())};
_IG_iFrameTransitionStrategy.prototype._onPreDetachDashboard=function(){if(this.ca=="")for(var a=0;a<remote_modules.length;a++){var b=remote_modules[a];if(b.id==this.d)this.ca=b.base_iframe_url}this.Mb=_isModuleZipped(this.d)};_IG_iFrameTransitionStrategy.prototype._onPostDetachMaximized=function(){this.Za()};
_IG_iFrameTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=this.l(),b=_gel("m_"+this.d),c=_gel("m_"+this.d+"_b");this.Lb=b.style.height;this.Kb=c.style.height;this.Da=a.style.height;if(this.R){_IG_AddEventHandler("resize",this.P);this.P()}a.src=this.W;a.style.height=this.Fa;this.Q()};
_IG_iFrameTransitionStrategy.prototype._onPostAttachDashboard=function(){var a=this.l(),b=_gel("m_"+this.d),c=_gel("m_"+this.d+"_b");if(this.Da!=ig_){a.style.height=this.Da;a.style.width="100%";b.style.height=this.Lb;c.style.height=this.Kb}if(this.Mb)_IG_AddEventHandler("moduleunzip",this.nc());else{a.src=this.ca;this.Q()}};_IG_iFrameTransitionStrategy.prototype._onPreDetachMaximized=function(){this.R&&_IG_RemoveEventHandler("resize",this.P)};
_IG_iFrameTransitionStrategy.prototype.nc=function(){var a=this;return function(){a.l().src=a.ca;a.Q();_IG_RemoveEventHandler("moduleunzip",this)}};function _IG_inlinedTransitionStrategy(a,b,c,d){ig_6.call(this,a);this.W=b;this.Ia="max_div";this.Vb="max_iframe";this.Fa=c||"800px";this.R=d||ig_b;this.jb=this.ib=ig_;if(this.R){var e=this;this.P=function(){e.cc.call(e)}}}_IG_inherits(_IG_inlinedTransitionStrategy,ig_6);_IG_inlinedTransitionStrategy.prototype.l=function(){return _gel(this.Vb)};
_IG_inlinedTransitionStrategy.prototype._updateIframeSrc=function(a){this.W=a;var b=this.l();if(b)b.src=a};_IG_inlinedTransitionStrategy.prototype._setNextMaxIframeAddress=function(a){this.W=a};_IG_inlinedTransitionStrategy.prototype._setPostMaximizeCallback=function(a){if(!a||typeof a=="function")this.ib=a};_IG_inlinedTransitionStrategy.prototype._setPostRestoreCallback=function(a){if(!a||typeof a=="function")this.jb=a};
_IG_inlinedTransitionStrategy.prototype.cc=function(){this.lb(_gel("max_div"),this.l(),25)};
_IG_inlinedTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel(this.Ia),b=this.l(),c=_gel("m_"+this.d+"_b");if(!a){a=document.createElement("DIV");a.id=this.Ia}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.Vb;a.appendChild(b)}if(this.R)_IG_AddEventHandler("resize",this.P);else{_IG_RemoveEventHandler("resize",this.P);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.Fa;b.src=_IG_Prefs._updatePrefsInUrl(this.d,this.W);this.ib&&this.ib(this);return b.src};_IG_inlinedTransitionStrategy.prototype._onPostDetachMaximized=function(){this.Za()};_IG_inlinedTransitionStrategy.prototype._onPostAttachDashboard=function(){var a=_gel(this.Ia);a.style.display="none";var b=this.l();if(b)b.src="";this.jb&&this.jb(this)};
_IG_inlinedTransitionStrategy.prototype._onPreAttachDashboard=function(){_IG_inlinedTransitionStrategy.ad._onPreAttachDashboard.call(this);window.onresize=ig_};function _IG_scaleInlinedTransitionStrategy(a){ig_6.call(this,a)}_IG_inherits(_IG_scaleInlinedTransitionStrategy,ig_6);_IG_scaleInlinedTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel("m_"+this.d+"_b");a.style.display="block"};function _IG_noMaxSupportTransitionStrategy(a,b){ig_6.call(this,a);this.ob=b}
_IG_inherits(_IG_noMaxSupportTransitionStrategy,ig_6);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_noMaxSupportTransitionStrategy.prototype._onPostAttachDashboard=function(){this.Q()};
_IG_noMaxSupportTransitionStrategy.prototype._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";var d=_gel("max_ifr2");if(d)d.src=this.ob&&this.ob.length?"/ig/directory"+_qs()+"output=brief&recommend="+this.ob:"";this.Q()};_IG_noMaxSupportTransitionStrategy.prototype._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_noMaxSupportTransitionStrategy.prototype._onPreAttachMaximized=function(){};
_IG_noMaxSupportTransitionStrategy.prototype._onPreAttachDashboard=function(){};var ig_4=new (function ViewManagerClass(){this.wa="modules";this.va="dash_ph";this.sa="max_ph";this.p=ig_;this.Qb="";this.Wb=ig_;if(window.onbeforeunload){var b=window.onbeforeunload;window.onbeforeunload=function(){b();ig_4.onCommitServerState()}}else window.onbeforeunload=function(){ig_4.onCommitServerState()}});ig_4._getCurrentMaxId=function(){return ig_4.p};
ig_4.onCommitServerState=function(){if(this.p!=this.Wb){var a=ig_p(),b="/ig/setp?et="+_et+"&maxm="+(this.p?this.p:"-1");a.open("GET",b,ig_b);a.send(ig_)}};ig_4.setInitialMaximizedModuleId=function(a){this.Wb=a};ig_4.setExperimentName=function(a){this.Qb=a};ig_4.swapMaximizedModule=function(a){if(!(this.p==a))if(this.p){this.restoreModule(this.p);this.maximizeModule(a)}else this.maximizeModule(a)};ig_4.restoreView=function(){this.p&&this.restoreModule(this.p)};
ig_4.isModuleMaximized=function(a){return this.p==a};ig_4.getStrategy=function(a){var b=_max_strategies[a];if(b==ig_){var c=ig_w("m",a);if(c){b=ig_5.create(a,c);_max_strategies[a]=b}}return b};ig_4.maximizeModule=function(a){var b=this.getStrategy(a);b._onPreDetachDashboard();this.Fc(a);b._onPostDetachDashboard();b._onPreAttachMaximized();this.wc(a);b._onPostAttachMaximized();this.p=a;_IG_suspend_refresh_cycle()};
ig_4.restoreModule=function(a){var b=this.getStrategy(a);b._onPreDetachMaximized();this.Gc(a);b._onPostDetachMaximized();b._onPreAttachDashboard();this.vc(a);b._onPostAttachDashboard();this.p=ig_;_IG_restart_refresh_cycle()};ig_4.Yc=function(a){this.kb=function(){_IG_minimize_view(a,"delete",this.Qb)};_IG_AddModuleEventHandler(a,"delete",this.kb)};ig_4.Cc=function(a){this.kb&&_IG_RemoveModuleEventHandler(a,"delete",this.kb)};
ig_4.Fc=function(a){var b=_gel(this.va);if(b==ig_){b=document.createElement("DIV");b.id=this.va;b.style.display="none"}var c=_gel("m_"+a),d=_gel(this.wa).parentNode;c.parentNode.replaceChild(b,c);d.appendChild(c);b.style.display="block";b.style.height=c.clientHeight+"px";this.Fb(a)};
ig_4.wc=function(a){var b=_gel(this.sa);if(b==ig_){b=document.createElement("DIV");b.id=this.sa;b.style.display="none"}var c=_gel("m_"+a),d=_gel(this.wa);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.Hc(a);this.Yc(a);_IG_TriggerEvent("modulemaximize",a);_IG_TriggerModuleEvent(a,"maximize")};
ig_4.Gc=function(a){var b=_gel(this.wa),c=_gel(this.sa);c.style.display="";b.style.display="";var d=_gel("m_"+a);d.className=d.className.replace(/modbox_max/,"modbox");this.Fb(a)};ig_4.vc=function(a){var b=_gel(this.va),c=_gel("m_"+a);b.parentNode.replaceChild(c,b);b.style.display="none";this.Jc(a);this.Cc(a);_IG_TriggerEvent("moduleunmaximize",a);_IG_TriggerModuleEvent(a,"unmaximize")};
ig_4.Hc=function(a){var b=_gel("m_"+a),c=_gel("m_"+a+"_h");b.parentNode.className+=" ig_dnd_fixed_col";c.style.cursor="default";ig_Ib()};ig_4.Jc=function(a){var b=_gel("m_"+a),c=_gel("m_"+a+"_h");b.parentNode.className=b.parentNode.className.replace(/ ig_dnd_fixed_col/,"");c.style.cursor="move";_IG_initDrag(_table,_tabs)};ig_4.Fb=function(a){_IG_hoverModule(a,ig_b);_IG_hoverHeader(a,ig_b)};
ig_4.Sb=function(a){for(var b=_gel(a),c=b.childNodes,d=[],e=0;e<c.length;++e)if(c[e].className&&(c[e].className.indexOf("rnd_modtitle")==0||c[e].className.indexOf("rnd_modboxin")==0))for(var f=0;f<c[e].childNodes.length;++f)d[d.length]=c[e].childNodes[f];return d};ig_4.removeRoundedCorners=function(a){for(var b=this.Sb("m_"+a),c=0;c<b.length;++c)b[c].className+="_max"};
ig_4.restoreRoundedCorners=function(a){for(var b=this.Sb("m_"+a),c=0;c<b.length;++c)b[c].className=b[c].className.replace(/_max/,"")};
var _IG_maximize_persistent_module=function(a,b){if(!window.location.hash.slice(1)){ig_4.setInitialMaximizedModuleId(a);_IG_maximize_view(a,"persist",b)}},_IG_toggle_view=function(a){ig_4.swapMaximizedModule(a)},_IG_is_maximized_module=function(a){return ig_4.isModuleMaximized(a)},_IG_maximize_view=function(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";var e=["/ig/ui?xp=",c||"","&action=maximizeMod","&from=",
b,"&m=",a,"&sn=",ig_w("m",a,"sn")];window["FEED"+a]&&e.push("&mt=feed");_sendx(e.join(""),ig_,ig_b,ig_);if(!ig_4.isModuleMaximized(a)){ig_4.setExperimentName(c);ig_4.swapMaximizedModule(a)}}},_IG_minimize_view=function(a,b,c){_IG_OS_hideGadgetInvitesManager();_IG_OS_hideUpdates();if(b==ig_)b="dunno";var d=["/ig/ui?xp=",c||"","&action=minimizeMod","&from=",b,"&m=",a,"&sn=",ig_w("m",a,"sn")];_sendx(d.join(""),ig_,ig_b,ig_);ig_4.isModuleMaximized(a)&&ig_4.restoreModule(a)},_IG_restore_view=function(){_IG_OS_hideGadgetInvitesManager();
ig_4.restoreView()},_IG_getCurrentMaxId=ig_4._getCurrentMaxId;_exportClass("gadgets.views","ViewManager",ig_4,ig_,["isModuleMaximized",ig_4.isModuleMaximized,"getCurrentMaxId",ig_4._getCurrentMaxId]);var ig_7=function(){this.ba="";this.POLLING_INTERVAL=150;this.ra=_IG_isIE();this.aa=[];window.location.hash.slice(1);var a=this;_IG_callPostLoad(function(){_IG_AddDOMEventHandler(window,"load",function(){a.Va()})})};ig_7.prototype.Va=function(){var a=this;if(!(window._gjuc&&window._gjuc()==1)){window.setTimeout(function(){a.Va()},this.POLLING_INTERVAL);var b=this.Tb();if(b!=this.ba){this.eb(b);this.ba=b;if(this.ra)window.location.hash="#"+(b||"home")}}};
ig_7.prototype.Na=function(){try{if(this.ra&&!this.Xa){this.Xa=_gel("ighistory");var a=this.Xa.contentWindow.document,b=window.location.hash.slice(1);a.open();a.write("<head></head><body>"+_esc(b)+"</body>");a.close()}return this.Xa.contentWindow.document}catch(c){return undefined}};ig_7.prototype.Tb=function(){if(this.ra){var a=this.Na();return a?_unesc(a.body.innerHTML):""}else return window.location.hash.slice(1)};
ig_7.prototype.jc=function(a){if(!(a==this.ba)){this.ba=a;this.eb.apply(this,arguments);window.location.hash="#"+a;if(this.ra){var b=this.Na();if(b){b.open();b.write("<head></head><body>"+_esc(a)+"</body>");b.close()}}}};ig_7.prototype.eb=function(a){for(var b=0;b<this.aa.length;++b)if(this.aa[b][0].test(a)){this.aa[b][1].apply(undefined,arguments);return}};ig_7.prototype.yb=function(a,b){this.aa.push([a,b])};var ig_8;if(window._IG_CONTAINER)ig_8=new ig_7;
function _IG_PushHistory(){ig_8&&ig_8.jc.apply(ig_8,arguments)}function _IG_AddHistoryCallback(a,b){ig_8&&ig_8.yb(a,b)}_IG_AddHistoryCallback(/^max\d+$/,function(a,b,c){var d=a.substr(3);if(b==ig_)b="history";_IG_maximize_view(d,b,c)});_IG_AddHistoryCallback(/^min\d+$/,function(a,b,c){var d=a.substr(3);b==ig_?_IG_restore_view():_IG_minimize_view(d,b,c)});_IG_AddHistoryCallback(/^restore$/,_IG_restore_view);
_IG_AddHistoryCallback(/^$/,function(){var a=_args();a.g?_IG_maximize_view(a.g,"history",""):_IG_restore_view()});var _IG_Json=ig_K;var _IG_ViewType={CANVAS:"canvas",HOME:"home",PROFILE:"home",PREVIEW:"preview"},_IG_View=function(a,b){this.Tc=a;this.Rc=!!b};_IG_View.prototype.Sa=function(){return this.Tc};_IG_View.prototype.ab=function(){return this.Rc};var _IG_SupportedViews={};_IG_SupportedViews.CANVAS=new _IG_View(_IG_ViewType.CANVAS,ig_a);_IG_SupportedViews.canvas=new _IG_View(_IG_ViewType.CANVAS,ig_a);_IG_SupportedViews.HOME=new _IG_View(_IG_ViewType.HOME,ig_b);_IG_SupportedViews.home=new _IG_View(_IG_ViewType.HOME,ig_b);
_IG_SupportedViews.PROFILE=new _IG_View(_IG_ViewType.PROFILE,ig_b);function ig_ac(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){var d=_IG_Json.stringify(c);_gel("remote_iframe_"+a).src+="&view-params="+_esc(d)}return ig_a}var _IG_NavigateToGadget=ig_ac;function ig_bc(a){return _IG_is_maximized_module(a)?_IG_SupportedViews.CANVAS:_IG_SupportedViews.HOME}
var _IG_GetCurrentView=ig_bc;function ig_cc(a){var b=_gel("remote_iframe_"+a).src,c=_argsUrl(b),d=_IG_Json.parse(_unesc(c["view-params"]));return d}var _IG_GetViewParams=ig_cc;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.Sa,"isOnlyVisibleGadget",_IG_View.prototype.ab]);var ig_9=function(){var a=ig_b;function b(h,m){return function(n,i){ig_9.requestShareAppCallback(h,m,_IG_Json.parse(i))}}function c(){var h=_gel("maximized_container");if(!h){h=document.createElement("div");h.id="maximized_container";_gel("modules").parentNode.appendChild(h)}return h}function d(){var h=_gel("gadget_invite_items");if(!h){h=document.createElement("div");h.id="gadget_invite_items";h.className="gadget_invite_items";_IG_AddDOMEventHandler(h,"click",ig_9.handleInviteClick)}return h}function e(h){for(var m=
ig_9.gadgetInvites.invite,n=0;n<m.length;n++)if(m[n].osit==h)return m[n];return ig_}function f(h){for(var m=ig_9.gadgetInvites.invite,n=0;n<m.length;n++)if(m[n].osit==h){ig_9.gadgetInvites.invite.splice(n,1);ig_9.setPendingInvites(ig_9.gadgetInvites.invite.length,ig_9.hasNewPendingInvites)}}function g(h,m){var n=_gel("gadget_invite_content_"+h),i=document.createElement("div");i.className="gadget_invite_content_item cl ie_content_fix";var l=document.createElement("span");l.className="action_message";
l.innerHTML=m;i.appendChild(l);n.appendChild(i)}function j(h,m){var n=document.createElement("span");n.className="gadget_invite_content_item cl linkon";_IG_AddDOMEventHandler(n,"click",function(){m.osit&&_sendx("/ig/osinvites?et="+_et,function(){},ig_b,"action=accept&osit="+m.osit);m.mtid=m.mtid||0;_select_gadget_and_log(m.mtid,m.mid)});var i=IG_MSGS.GIGTG.replace(/%1\$s/,h);n.appendChild(document.createTextNode(i));return n}function k(h){var m=c();m.innerHTML="";m.style.display=h?"":"none";(h?_IG_showRoundedCornerOnMaximize:
_IG_hideRoundedCornerOnRestore)();_gel("rcam_t1").className=h?"rnd1_max_top":"rnd1";_gel("rcam_t2").className=h?"rnd2_max_top":"rnd2";_gel("rcam_t3").className=h?"rnd3_max_top":"rnd3";var n=_IG_getCurrentMaxId();if(n)_gel("max_ph").style.display=h?"none":"";else _gel("modules").style.display=h?"none":""}function o(){return typeof _IG_OS_updates_gadget_iframe_url=="undefined"?"":"remote_module_"+_IG_OS_updates_gadget_iframe_url.match(/mid=(-?\d+)/)[1]}return{gadgetInvites:ig_,pendingInviteCount:0,
hasNewPendingInvites:ig_b,isGroupPopupLoaded:ig_b,isRefreshNeeded:ig_b,managerShowing:ig_a,currentEndIndex:10,setHasFriends:function(h){a=h},hasFriends:function(){return a},isForcedSandbox:function(){var h=_args(),m=h.force_sandbox;return m=="1"},requestShareAppCallback:function(h,m,n){_IFPC.call(h,"shindig.requestShareApp_callback",[m,n.success,n.success?ig_:n.message,n.recipientIds],window._ifpc_relay_url[_ig_gmid_(h)],ig_,window.location.path+"/ig/images/rpc_relay.html",ig_a,ig_a)},requestShareApp:function(h,
m,n,i){var l=_ig_gmid_(h);n=n||[];var q="";if(typeof n=="object"&&n.join){n.length>50&&n.splice(50);q=n.join(",")}else if(typeof n=="string")q=n;else if(!n.Ja||n.Ja.userId!="VIEWER"&&n.Ja.userId!="OWNER"||n.Ja.groupId!="FRIENDS"){var p={success:ig_b,message:"Invalid recipient.",recipientIds:[]};ig_9.requestShareAppCallback(h,m,p);return}var r=ig_w("m",l,"u");_share_this_gadget(_hesc(_jesc(i)),ig_t(IG_URLS.sgu,["moduleurl="+_esc(r),"mid="+l,"source=os","uids="+q]),l,b(h,m))},loadGadgetInvitesData:function(){_sendx("/ig/osinvites",
function(h){ig_9.gadgetInvites=eval("("+h+")");var m=ig_9.gadgetInvites;ig_9.pendingInviteCount=m&&m.invite&&m.invite.length?m.invite.length:0;ig_9.hasNewPendingInvites=m&&!!m.n;_IG_OS_updateGadgetInvites();if(ig_9.pendingInviteCount&&ig_9.managerShowing){ig_9.currentEndIndex=Math.min(10,ig_9.pendingInviteCount);ig_9.renderGadgetInvites(ig_9.gadgetInvites.invite,0,ig_9.currentEndIndex)}})},updateGadgetInvites:function(){var h=_gel("gadget_invites_header"),m=_gel("gadget_shares_nav");if(h&&m){h.style.display=
"none";m.style.display="none";if(ig_9.pendingInviteCount){if(ig_9.hasNewPendingInvites){h.style.display="block";var n=ig_9.pendingInviteCount>1?IG_MSGS.GIP:IG_MSGS.GI;n=n.replace(/%1\$d/,ig_9.pendingInviteCount);var i=_gel("gadget_invites_header_link");i.innerHTML=n}m.style.display="block";var l=_gel("num_invites");l.innerHTML=ig_9.pendingInviteCount}var q=_gel("show_all_invites");if(q){for(;q.firstChild;)q.removeChild(q.firstChild);q.appendChild(document.createTextNode(IG_MSGS.GISAI.replace(/%1\$d/,
ig_9.pendingInviteCount)))}}},showGadgetInvitesManager:function(){ig_9.managerShowing=ig_a;ig_9.loadGadgetInvitesData();k(ig_a);_IG_highlight_invites();ig_9.createMaximizedHeader(IG_MSGS.GIH,function(){_IG_PushHistory("","gadget_invites","")});c().appendChild(d())},hideGadgetInvitesManager:function(){if(ig_9.isRefreshNeeded){ig_9.isRefreshNeeded=ig_b;setTimeout(function(){document.location.replace(ig_f(document.location.href))},0)}k(ig_b);ig_9.managerShowing=ig_b;var h=_IG_getCurrentMaxId();h!=ig_?
_IG_highlight_module(h):_IG_highlight_tab()},showUpdates:function(){k(ig_a);_IG_highlight_updates();ig_9.createMaximizedHeader(IG_MSGS.GUH,function(){_IG_PushHistory("","social_updates","")});var h=_gel(o());if(!h){h=document.createElement("iframe");h.src=_IG_OS_updates_gadget_iframe_url;h.id=o();h.width="98%";h.height="900px";h.frameBorder="0";h.style.marginTop="6px";h.style.marginLeft="6px"}c().appendChild(h)},hideUpdates:function(){k(ig_b);var h=o();if(h){var m=_gel(h);m&&m.parentNode.removeChild(m);
var n=_IG_getCurrentMaxId();n!=ig_?_IG_highlight_module(n):_IG_highlight_tab()}},createMaximizedHeader:function(h,m){var n=_gel("maximized_container_header");if(!n){n=document.createElement("div");n.id="maximized_container_header";n.className="gititle";var i=document.createElement("h2");n.appendChild(i);var l=document.createElement("span");l.id="maximized_header_title";l.className="gititle_text";i.appendChild(l);var q=document.createTextNode(h);l.appendChild(q);if(m){var p=document.createElement("a");
p.id="maxContainerMinButton";p.className="v2shrinkbox";p.href="javascript:void(0);";_IG_AddDOMEventHandler(p,"click",m);n.appendChild(p)}}var r=document.createElement("div");r.style.clear="both";n.appendChild(r);c().appendChild(n)},renderGadgetInvites:function(h,m,n){var i=d();i.innerHTML="";var l=document.createElement("div");l.className="gadget_invite_legal";var q=document.createTextNode(IG_MSGS.GIL+" "),p=document.createElement("a"),r="http://www.google.com/support/websearch/bin/answer.py?answer=145550";
if(_hl)r+="&hl="+_hl;p.href=r;p.appendChild(document.createTextNode(IG_MSGS.GILM));p.target="_blank";l.appendChild(q);l.appendChild(p);i.appendChild(l);m=m||0;n=n||h.length;for(var s=m;s<n;s++){if(s!=m){var t=document.createElement("hr");t.id="invite_item_sep_"+h[s].osit;t.className="invite_item_sep";i.appendChild(t)}ig_9.renderGadgetInvite(h[s])}var u=document.createElement("div");u.id="bulk_dismiss";u.className="gadget_invite_footer";var v=document.createElement("a");v.className="decline_invite";
v.href="javascript:void(0);";v.appendChild(document.createTextNode(IG_MSGS.GIBD));_IG_AddDOMEventHandler(v,"click",function(){_sendx("/ig/osinvites?et="+_et,function(){ig_9.setPendingInvites(0,ig_b);_IG_PushHistory("","gadget_invites","")},ig_b,"action=declineall")});u.appendChild(v);i.appendChild(u);i.appendChild(ig_9.renderGadgetSharesFooter(h.length))},renderGadgetInvite:function(h){var m=d(),n=_hesc(h.nam||""),i=_hesc(h.gti||IG_MSGS.GIDGN),l=document.createElement("div");l.className="gadget_invite_item";
l.id="invite"+h.osit;var q=document.createElement("img");q.src=h.gtu;q.className="gadget_invite_thumb";l.appendChild(q);var p=document.createElement("div");p.id="gadget_invite_content_"+h.osit;p.className="gadget_invite_content";var r='<a href="/ig/directory?type=gadgets&url='+h.gur+'" target="_blank">'+i+"</a>",s=IG_MSGS.GID;s=s.replace(/%1\$s/,"gadget_invite_content_item").replace(/%2\$s/,"<strong>"+n+"</strong>").replace(/%3\$s/,_hesc(h.ema||"")).replace(/%4\$s/,"gadget_invite_content_item cl").replace(/%5\$s/,
r);p.innerHTML=s;var t=h.mid>-1;p.appendChild(document.createElement("br"));if(!t||t&&!h.isc){var u=document.createElement("input");u.id="accept_button_"+h.osit;u.type="button";u.className="gadget_invite_content_item cl";if(t&&!h.isc){u.value=IG_MSGS.GIAUBT.replace(/%1\$s/,n);u.className+=" add_contact"}else{u.value=IG_MSGS.GIAG;u.className+=" accept_invite"}p.appendChild(u)}if(t&&h.isc){var v=j(i,h);p.appendChild(v)}var w=document.createElement("a");w.id="close_invite_"+h.osit;var z=t&&h.isc?IG_MSGS.GIDIS:
IG_MSGS.GINT;w.appendChild(document.createTextNode(z));w.href="javascript:void(0);";w.className="gadget_invite_content_item decline_invite";p.appendChild(w);if(!h.isc&&!t){var y=IG_MSGS.GIAU;y=y.replace(/%1\$s/,n).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);");var x=document.createElement("span");x.id="add_contacts_container_"+h.osit;x.className="gadget_invite_content_item cl add_user_msg";x.innerHTML=y;p.appendChild(x)}l.appendChild(p);m.appendChild(l)},renderGadgetSharesFooter:function(h){var m=
document.createElement("div");m.id="gadget_invite_footer";m.className="gadget_invite_footer";for(var n=3,i,l=0;l<n;l++){i=document.createElement("b");i.className="rnd"+(l+1);m.appendChild(i)}var q=document.createElement("div");q.id="gadget_invite_footer_content";q.className="gadget_invite_footer_content";var p=document.createElement("a");p.className="leading_edge";p.href="javascript:void(0);";_IG_AddDOMEventHandler(p,"click",ig_9.backToTop);p.appendChild(document.createTextNode(IG_MSGS.GIBTT));q.appendChild(p);
var r=document.createElement("a");r.className="trailing_edge";r.href="javascript:void(0);";_IG_AddDOMEventHandler(r,"click",ig_9.showMore);r.appendChild(document.createTextNode(IG_MSGS.GIM));q.appendChild(r);var s=document.createElement("span");s.className="trailing_edge spacer";s.appendChild(document.createTextNode("-"));q.appendChild(s);var t=document.createElement("a");t.id="show_all_invites";t.className="trailing_edge";t.href="javascript:void(0);";_IG_AddDOMEventHandler(t,"click",ig_9.showAll);
var u=IG_MSGS.GISAI.replace(/%1\$d/,h);t.appendChild(document.createTextNode(u));q.appendChild(t);var v=document.createElement("div");v.style.clear="both";q.appendChild(v);m.appendChild(q);for(l=n;l>0;l--){i=document.createElement("b");i.className="rnd"+l;m.appendChild(i)}return m},backToTop:function(){ig_9.currentEndIndex=Math.min(10,ig_9.gadgetInvites.invite.length);ig_9.renderGadgetInvites(ig_9.gadgetInvites.invite,0,ig_9.currentEndIndex)},showMore:function(){ig_9.currentEndIndex=Math.min(ig_9.currentEndIndex+
10,ig_9.gadgetInvites.invite.length);ig_9.renderGadgetInvites(ig_9.gadgetInvites.invite,0,ig_9.currentEndIndex)},showAll:function(){ig_9.currentEndIndex=ig_9.gadgetInvites.invite.length;ig_9.renderGadgetInvites(ig_9.gadgetInvites.invite,0,ig_9.currentEndIndex)},handleInviteClick:function(h){for(var m,n=h.target||h.srcElement,i=n;i;)if(i.className=="gadget_invite_item"){m=i.id.replace("invite","");break}else i=i.parentNode;if(m){var l="",q,p,r=n.className;if(r.indexOf("accept_invite")>=0){var s=_gel("add_contacts_"+
m),t=s?s.checked:ig_b;q="accept";l="addcontact=true";p={addContact:t?1:0};ig_9.isRefreshNeeded=ig_a}else if(r.indexOf("decline_invite")>=0)q="decline";else if(r.indexOf("add_contact")>=0){q="accept";l="addcontact=true";p={addContact:2}}if(q){l+=(l?"&":"")+"action="+q+"&osit="+m;_sendx("/ig/osinvites?et="+_et,function(u){ig_9.handleInviteResponse(u,m,q,p)},ig_b,l)}}},handleInviteResponse:function(h,m,n,i){var l=e(m);if(l){h=h&&eval("("+h+")");var q=_gel("gadget_invite_content_"+m),p=_gel("accept_button_"+
l.osit),r=_gel("close_invite_"+l.osit),s=_gel("add_contacts_container_"+l.osit),t=_hesc(l.gti||IG_MSGS.GIDGN),u="";switch(n){case "accept":p.parentNode.removeChild(p);r.parentNode.removeChild(r);s&&s.parentNode.removeChild(s);if(i){if(i.addContact==0||i.addContact==1)u+=IG_MSGS.GIGA.replace(/%1\$s/,t);if(i.addContact==1||i.addContact==2)u+=(u?" ":"")+IG_MSGS.GICA.replace(/%1\$s/,_hesc(l.nam||"")).replace(/%2\$s/,"javascript:void(0);").replace(/%3\$s/,"_IG_OS_openGroupPopup(true);")}g(m,u);q.appendChild(j(t,
h));break;case "decline":var v=_gel("invite"+l.osit),w;w=v==v.parentNode.firstChild?v.nextSibling:_gel("invite_item_sep_"+l.osit);v.parentNode.removeChild(v);w&&w.parentNode.removeChild(w);break}f(m);ig_9.currentEndIndex=Math.min(ig_9.currentEndIndex,ig_9.gadgetInvites.invite.length)}},openGroupPopup:function(h,m){if(ig_9.isGroupPopupLoaded){window.goog.GroupPopupLauncher.launch("/ig/c","igoogle",window.goog.GroupPopupLauncher.Group.FRIENDS,h?window.goog.GroupPopupLauncher.PopupType.EDIT:window.goog.GroupPopupLauncher.PopupType.PICK,
{hl:_hl});m&&m()}else _IG_LoadScriptCallback(IG_URLS.gpjsu,function(){ig_9.isGroupPopupLoaded=ig_a;ig_9.openGroupPopup(h,m)})},acknowledgeInvitations:function(){var h=_gel("gadget_invites_header");if(h)h.style.display="none";_sendx("/ig/osinvites?et="+_et,function(){},ig_b,"action=ack")},setPendingInvites:function(h,m){ig_9.pendingInviteCount=h;ig_9.hasNewPendingInvites=m;ig_9.updateGadgetInvites()},initOpenSocialUI:function(){_gel("contacts_nav").style.display="";_gel("tab_separator_social").style.display=
""}}}(),_IG_OS_loadGadgetInvitesData=ig_9.loadGadgetInvitesData,_IG_OS_updateGadgetInvites=ig_9.updateGadgetInvites,_IG_OS_showGadgetInvitesManager=ig_9.showGadgetInvitesManager,_IG_OS_hideGadgetInvitesManager=ig_9.hideGadgetInvitesManager,_IG_OS_showUpdates=ig_9.showUpdates,_IG_OS_hideUpdates=ig_9.hideUpdates,_IG_OS_requestShareApp=ig_9.requestShareApp,_IG_OS_openGroupPopup=ig_9.openGroupPopup,_IG_OS_acknowledgeInvitations=ig_9.acknowledgeInvitations,_IG_OS_setPendingInvites=ig_9.setPendingInvites,
_IG_OS_initOpenSocialUI=ig_9.initOpenSocialUI;_IFPC.registerService("shindig.requestShareApp",ig_9.requestShareApp);_IG_AddHistoryCallback(/^social_updates$/,_IG_OS_showUpdates);_IG_AddHistoryCallback(/^gadget_invites$/,_IG_OS_showGadgetInvitesManager);var ig_$=function(){function a(b,c){var d=_gel("m_"+b+"_canvas_social_icon");if(d)d.className=c+d.className.replace(/\bsocialbox\S*/,"");var e=_gel("m_"+b+"_social_icon");if(e)e.className=c+e.className.replace(/\bsocialbox\S*/,"")}_IG_AddEventHandler("modulesocialedit",function(b){if(!ig_9.hasFriends()&&_gel("add_friends_promo"))_gel("add_friends_promo").style.display="block";var c=b.replace("m_",""),d=_gel("m_"+c+"_aclform");d&&ig_$.resetFormAclOptions(d,c)});return{resetFormAclOptions:function(b,
c){if(b.module_url){b.reset();var d=b["access_profile"+c],e=b["post_updates"+c];e.disabled=!d.checked}},handleFormAclOptions:function(b,c){_closeUserPrefs(c);if(b.module_url){var d=b.module_url.value,e=b["access_profile"+c],f=b["post_updates"+c];e.defaultChecked=e.checked;f.defaultChecked=f.checked;a(c,e.checked?"socialboxon":"socialbox");var g=_gel("acl_cancel_"+c);if(g)g.style.display="";var j=_gel("reset_acl_"+c);if(j)j.style.display="";_IG_OS_makeAclXhr({moduleUrl:d,editToken:_et,accessProfile:e.checked,
postUpdates:f.checked},function(){var k=_gel("remote_iframe_"+c);if(k&&k.src){k.src=ig_f(_IG_Prefs._updatePrefsInUrl(c,k.src));window.frames["remote_iframe_"+c].location.replace(k.src)}})}},makeAclXhr:function(b,c){if(b&&b.moduleUrl){var d="/ig/osacl";d+="?url="+b.moduleUrl;if(ig_9.isForcedSandbox())d+="&force_sandbox=1";if(b.editToken){d+="&et="+b.editToken;var e=b.accessProfile?"t":"f",f=b.accessProfile&&b.postUpdates?"t":"f";d+="&osacl=0:"+e+",1:"+f}_sendx(d,c,ig_b,ig_b)}},handleGetAclXhrResponse:function(b,
c){var d=_gel("access_profile"+c),e=_gel("post_updates"+c),f=_gel("acl_cancel_"+c),g=_gel("reset_acl_"+c);ig_9.setHasFriends(b.has_friends);if(b.user_decided){d.checked=b.friends;e.checked=b.post&&b.friends;e.disabled=!b.friends;if(f)f.style.display="";if(g)g.style.display=""}else{d.checked=ig_a;e.checked=ig_a;e.disabled=ig_b;if(f)f.style.display="none";if(g)g.style.display="none";_showUserPrefs(c,ig_a)}d.defaultChecked=d.checked;e.defaultChecked=e.checked;a(c,b.friends?"socialboxon":"socialbox");
_gel("acl_options_"+c).style.display="block";_gel("aowc_"+c).style.display="none"},updateAclOptions:function(b){b=b||"";var c=_gel("access_profile"+b),d=_gel("post_updates"+b);if(c.checked)d.disabled=ig_b;else{d.checked=ig_b;d.disabled=ig_a}},edit:function(b){if(ig_o(b,ig_n.SOCIAL))_gel("m_"+b+"_aclform")?_closeUserPrefs(b):ig_$.closeSocialSignInPromo(b);else{_log("social_options:"+b);_showUserPrefs(b,ig_a)}},closeSocialSignInPromo:function(b){if(ig_o(b,ig_n.SOCIAL)){_xsetp("m_"+b+"_dossip=1");_closeUserPrefs(b)}}}}(),
_IG_OS_handleFormAclOptions=ig_$.handleFormAclOptions,_IG_OS_resetFormAclOptions=ig_$.resetFormAclOptions,_IG_OS_makeAclXhr=ig_$.makeAclXhr,_IG_OS_handleGetAclXhrResponse=ig_$.handleGetAclXhrResponse,_IG_OS_updateAclOptions=ig_$.updateAclOptions,_IG_OS_edit=ig_$.edit,_IG_OS_closeSocialSignInPromo=ig_$.closeSocialSignInPromo;function ig_dc(){window._IG_CONTAINER&&setInterval(function(){_sendx("/ig/ostokens",ig_ec)},1800000)}function ig_fc(a,b){var c=a.split("#");if(!c[1])return a;for(var d=c[1].split("&"),e=0;e<d.length;++e)if(/^st=/.test(d[e]))d[e]="st="+_hesc(b);c[1]=d.join("&");return c.join("#")}
function ig_ec(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(var f=0;f<remote_modules.length;++f)if(remote_modules[f].id==d)remote_modules[f].base_iframe_url=ig_fc(remote_modules[f].base_iframe_url,e);var g=ig_w("m",d,"view","max_u");if(g)_IG_MD.m[d].view.max_u=ig_fc(g,e)}_gel("remote_iframe_"+d)&&_IFPC.call("remote_iframe_"+d,"update_security_token",[e],window._ifpc_relay_url[d],
ig_,window.location.path+"/ig/images/rpc_relay.html",ig_a,ig_a)}}}}ig_dc();var _handleAuthRefreshJsonResponse=ig_ec;
