var igR_a=true,igR_b=null,igR_c=false;function igR_d(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=igR_d(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 igR_e(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=igR_e(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 h=0;h<f.length;h+=2)e.prototype[f[h]]=f[h+1];if(g)for(h=0;h<g.length;h+=2)e[g[h]]=g[h+1];a(c,[d,e])}a("",["_exportSymbols",a]);a("",["_exportClass",b])})();var igR_f={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},igR_g={},igR_h={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 igR_i(a){if(a.hasOwnProperty&&a.hasOwnProperty("ig_event_hashcode_"))return a.aa;a.aa||(a.aa=++igR_j.Ia);return a.aa}function igR_k(a){return"builtin_"+a}function igR_l(a,b){if(a.indexOf&&a.indexOf("m_")==0)a=a.substring(2);return"builtin_m"+a+"_"+b}function igR_m(a,b){return"builtin_"+igR_j.Fa(a)+"_"+b}function igR_n(a){return"custom_"+a}
function igR_o(){for(var a in igR_j.c){for(var b=0;b<igR_j.c[a].length;b++)igR_j.c[a][b]=igR_b;if(a in igR_j.C){var c=igR_j.C[a],d=c[0],e=c[1],f=c[2];if(d.removeEventListener)d.removeEventListener(e,f,igR_c);else d.detachEvent&&d.detachEvent("on"+e,f);igR_j.C[a]=igR_b}}}function igR_p(a,b,c){for(var d=c;d<b.length;d++)a[a.length]=b[d];return a}function igR_q(a,b){if(a in igR_j.c)for(var c=0;c<igR_j.c[a].length;c++)if(igR_j.c[a][c]===b){igR_j.c[a][c]=igR_b;return igR_a}return igR_c}
function igR_r(a){if(a in igR_j.c)for(var b=0;b<igR_j.c[a].length;b++)if(igR_j.c[a][b]){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];igR_j.c[a][b].apply(this,c)}}function igR_s(a,b){if(!(a in igR_j.Na))throw Error("Unsupported event type: "+a);var c=igR_j.Q(a);c in igR_j.c||(igR_j.c[c]=[]);igR_j.c[c][igR_j.c[c].length]=b;return igR_j.c[c].length}
function igR_t(a,b,c){if(!(b in igR_j.Oa))throw Error("Unsupported module event type: "+b);var d=igR_j.R(a,b);d in igR_j.c||(igR_j.c[d]=[]);igR_j.c[d][igR_j.c[d].length]=c}
function igR_u(a,b,c){var d=igR_j.ka(a,b);if(!(d in igR_j.c)){igR_j.c[d]=[];var e=function(g){if(!g)g=window.event;igR_j.L.apply(a,[d,g])};if(a.addEventListener)a.addEventListener(b,e,igR_c);else if(a.attachEvent)a.attachEvent("on"+b,e);else throw Error("Object {"+a+"} does not support DOM events.");igR_j.C[d]=[a,b,e]}var f=igR_j.c[d].length;if(a===window&&b=="unload"&&f>0){igR_j.c[d][f]=igR_j.c[d][f-1];igR_j.c[d][f-1]=c}else if(igR_g[b])setTimeout(c,10);else igR_j.c[d][f]=c}
function igR_v(a,b){var c=igR_j.P(a);c in igR_j.c||(igR_j.c[c]=[]);igR_j.c[c][igR_j.c[c].length]=b}function igR_w(a,b){var c=igR_j.Q(a);return igR_j.J(c,b)}function igR_x(a,b,c){var d=igR_j.R(a,b);return igR_j.J(d,c)}function igR_y(a,b,c){var d=igR_j.ka(a,b);return igR_j.J(d,c)}function igR_z(a,b){var c=igR_j.P(a);return igR_j.J(c,b)}
function igR_A(a){var b=a=="load"||a=="domload",c=igR_c;if(b){(c=igR_g[a])||_IG_TriggerCustomEvent(a+"_start");igR_g[a]=igR_a}var d=igR_j.w([igR_j.Q(a)],arguments,1);igR_j.L.apply(window,d);b&&!c&&_IG_TriggerCustomEvent(a+"_end")}function igR_B(){var a=igR_j.w([],arguments,0);setTimeout(function(){igR_j.triggerEvent.apply(window,a)},0)}function igR_C(a,b){var c=igR_j.w([igR_j.R(a,b)],arguments,2);igR_j.L.apply(window,c)}
function igR_D(){var a=igR_j.w([],arguments,0);setTimeout(function(){igR_j.triggerModuleEvent.apply(window,a)},0)}function igR_E(a){var b=igR_j.w([igR_j.P(a)],arguments,1);igR_j.L.apply(window,b)}function igR_F(){var a=igR_j.w([],arguments,0);setTimeout(function(){igR_j.triggerCustomEvent.apply(window,a)},0)}
function igR_G(a,b){switch(a){case "delete":case "undelete":case "edit":case "socialedit":case "canceledit":case "zip":case "unzip":case "maximize":case "unmaximize":igR_D(b,a);igR_B("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 igR_j={Ia:0,c:{},C:{},Na:igR_f,Oa:igR_h,Fa:igR_i,Q:igR_k,R:igR_l,ka:igR_m,P:igR_n,Ca:igR_o,w:igR_p,J:igR_q,L:igR_r,addEventHandler:igR_s,addModuleEventHandler:igR_t,addDOMEventHandler:igR_u,addCustomEventHandler:igR_v,removeEventHandler:igR_w,removeModuleEventHandler:igR_x,removeDOMEventHandler:igR_y,removeCustomEventHandler:igR_z,triggerEvent:igR_A,triggerModuleEvent:igR_C,triggerCustomEvent:igR_E,triggerDelayedEvent:igR_B,triggerDelayedModuleEvent:igR_D,triggerDelayedCustomEvent:igR_F},_IG_AddEventHandler=
igR_j.addEventHandler,_IG_AddModuleEventHandler=igR_j.addModuleEventHandler,_IG_AddGadgetEventHandler=igR_j.addModuleEventHandler,_IG_AddDOMEventHandler=igR_j.addDOMEventHandler,_IG_AddCustomEventHandler=igR_j.addCustomEventHandler,_IG_RemoveEventHandler=igR_j.removeEventHandler,_IG_RemoveModuleEventHandler=igR_j.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=igR_j.removeModuleEventHandler,_IG_RemoveDOMEventHandler=igR_j.removeDOMEventHandler,_IG_RemoveCustomEventHandler=igR_j.removeCustomEventHandler,
_IG_TriggerEvent=igR_j.triggerEvent,_IG_TriggerModuleEvent=igR_j.triggerModuleEvent,_IG_TriggerGadgetEvent=igR_j.triggerModuleEvent,_IG_TriggerCustomEvent=igR_j.triggerCustomEvent,_IG_TriggerDelayedEvent=igR_j.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=igR_j.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=igR_j.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=igR_j.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",igR_j.Ca);
_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(igR_c)});_IG_AddModuleEventHandler(a,"maximize",function(){b(igR_a)})};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){igR_H("m_"+a+"_editbox","none");igR_H("m_"+a+"_aclbox","block");igR_G("socialedit","m_"+a)}else{igR_H("m_"+a+"_editbox","");igR_H("m_"+a+"_aclbox","none");igR_G("edit","m_"+a)}var c=_gel("m_"+a);if(c)c.className="modbox_e"}function _closeUserPrefs(a){igR_H("m_"+a+"_editbox","none");igR_H("m_"+a+"_aclbox","none");var b=_gel("m_"+a);if(b)b.className="modbox"}function _min(a,b){return a<b?a:b}function _max(a,b){return a>b?a:b}
function _IG_LoadScript(a,b){_sendx(a,function(c){window.eval(c);eval(b)})}function _IG_LoadScriptCallback(a,b){_sendx(a,function(c){window.eval(c);b&&b()})}function _IG_LoadScriptXDomain(a,b,c){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=igR_I();e.open(d?"POST":"GET",a,igR_a);if(b)e.onreadystatechange=function(){if(e.readyState==4)b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d||igR_b)}function igR_I(){var a=igR_b;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",_old_html=igR_a,_use_old_feed_styles=igR_a;function igR_J(a,b,c){var d=document.createElement("input");d.type="hidden";d.name=b;d.value=c;a.appendChild(d)}function _args(){return _argsUrl(document.location.href)}function _IG_isIE(){return/msie/i.test(navigator.userAgent)}
function _qs(a){var b={pid:1,host:1,gl:1,hl:1,enable_flag:1,e:1,expid:1},c=a||_args(),d=["?"];for(var e in c)b[e]&&d.push(e,"=",_esc(c[e]),"&");return d.join("")}var igR_K=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function igR_L(a,b){var c=igR_K.exec(a),d=[c[1],"?",c[2]];d.push(c[2]?"&":"",b.join("&"),c[3]);return d.join("")}function igR_M(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)igR_J(a,c,b[c])}
function _submit_form(a,b){a.action=_setp_url+_qs()+b;a.method="get";igR_M(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";igR_M(a);igR_J(a,"m_"+b+"_t",c);var d=_args(),e=d.host,f=d.hl;e&&igR_J(a,"host",e);f&&igR_J(a,"hl",f);return igR_a}var igR_N=[],igR_O=igR_c;function igR_P(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!=igR_b&&e!=""&&b.push(d+"="+e)}return b.join("&")}
function igR_Q(){return igR_P([["et",_et],["pid",_pid],["ap",_authpath],["brand",_brand],["bmod",_bmod],["source",_source],["ae",_ae],["prefid",_prefid]])}function igR_R(){if(igR_N.length==0)igR_O=igR_c;else{igR_O=igR_a;var a=_setp_url+_qs()+igR_Q(),b=igR_N.join("&");igR_N=[];var c=a.length+b.length>=1800;if(c)_sendx(a,igR_S,igR_c,b);else{a+="&"+b;_sendx(a,igR_S,igR_c,igR_b)}}}function igR_S(){_IG_TriggerDelayedEvent("xsetpdone");igR_R()}function _xsetp(a){igR_N.push(a);igR_O||igR_R()}
function _xsetp_is_done(){return igR_N.length==0&&igR_O==igR_c}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+_qs()+igR_Q()+"&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 igR_H(a,b){var c=_gel(a);if(c)c.style.display=b}_exportSymbols("",["setDisplayStyle",igR_H]);function _ssbc(a,b,c){for(var d=_gelstn("*"),e=0,f;f=d[e];e++)if(f.className==a)f.style[b]=c}function _findPos(a){for(var b=0,c=0;a!=igR_b;){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?"&":"")}_exportSymbols("google.gadgets.Util",["args",_args]);_exportSymbols("",["addParamPairsToUrl",igR_L,"xmlhttp",igR_I]);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};var igR_T;
igR_T||(igR_T=function(){function a(i){return i<10?"0"+i:i}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 h(i){c.lastIndex=0;return c.test(i)?'"'+i.replace(c,function(k){var o=f[k];if(typeof o==="string")return o;return"\\u"+("0000"+(+k.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+i+'"'}function j(i,k){var o,m,n,p,r=d,q,l=k[i];if(l&&typeof l==="object"&&typeof l.toJSON==="function")l=l.toJSON(i);if(typeof g==="function")l=g.call(k,i,l);switch(typeof l){case "string":return h(l);case "number":return isFinite(l)?
String(l):"null";case "boolean":case "null":return String(l);case "object":if(!l)return"null";d+=e;q=[];if(typeof l.length==="number"&&!l.propertyIsEnumerable("length")){p=l.length;for(o=0;o<p;o+=1)q[o]=j(o,l)||"null";n=q.length===0?"[]":d?"[\n"+d+q.join(",\n"+d)+"\n"+r+"]":"["+q.join(",")+"]";d=r;return n}if(g&&typeof g==="object"){p=g.length;for(o=0;o<p;o+=1){m=g[o];if(typeof m==="string")if(n=j(m,l))q.push(h(m)+(d?": ":":")+n)}}else for(m in l)if(Object.hasOwnProperty.call(l,m))if(n=j(m,l))q.push(h(m)+
(d?": ":":")+n);n=q.length===0?"{}":d?"{\n"+d+q.join(",\n"+d)+"\n"+r+"}":"{"+q.join(",")+"}";d=r;return n}}return{stringify:function(i,k,o){var m=k,n=o,p;e=d="";if(typeof n==="number")for(p=0;p<n;p+=1)e+=" ";else if(typeof n==="string")e=n;if((g=m)&&typeof m!=="function"&&(typeof m!=="object"||typeof m.length!=="number"))throw new Error("JSON.stringify");return j("",{"":i})},parse:function(i,k){var o=k,m;function n(p,r){var q,l,s=p[r];if(s&&typeof s==="object")for(q in s)if(Object.hasOwnProperty.call(s,
q)){l=n(s,q);if(l!==undefined)s[q]=l;else delete s[q]}return o.call(p,r,s)}b.lastIndex=0;if(b.test(i))i=i.replace(b,function(p){return"\\u"+("0000"+(+p.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(i.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){m=eval("("+i+")");return typeof o==="function"?n({"":m},""):m}throw new Error("JSON.parse");}}}());
igR_T.parse=function(){var a=igR_T.parse;return function(b,c){try{return a(b,c)}catch(d){return igR_c}}}();_START_TEMPLATE_SECTION("IFPC_SECTION");function igR_U(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.h[this.h.length]=c;b.removeChild(c);return c}
function igR_V(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=igR_b,d=b.h.length-1;d>=0;d--){var e=b.h[d];if(e&&!e.pool_locked){e.parentNode.removeChild(e);if(window.ActiveXObject){b.h[d]=igR_b;b.h.splice(d,1)}else{e.pool_locked=igR_a;c=e;break}}}c=c?c:b.Ba(igR_a);c.src=a;document.body.appendChild(c)},0)}}function igR_W(){for(var a=0;a<this.h.length;a++){this.h[a].onload=igR_b;this.h[a]=igR_b}this.h.length=0;this.h=[]}
function igR_X(){for(var a=0;a<this.h.length;a++){var b=this.h[a];b&&b.parentNode.removeChild(b)}}function igR_Y(){this.h=[];this.Ba=igR_U;this.iframe=igR_V;this.clear=igR_W;this.dispose=igR_X}function igR_Z(a,b){_IFPC.A[a]=b}function igR_aa(a){delete _IFPC.A[a]}
function igR_ba(a,b,c,d,e,f,g,h){if(!_IFPC.T){var j=4095-d.length;j=parseInt(j/3,10);if(typeof g=="undefined")g=igR_a;if(h){var i={s:b,a:c,f:"..",t:window._isk[a.split("_")[2]]},k=[a,"..",_IFPC.O,1,1,encodeURIComponent(igR_T.stringify(i))].join("&");_IFPC.H.iframe(d+"#"+k)}else{c=c.slice(0);c.unshift(_IFPC.Ka(e));c.unshift(f);c.unshift(b);c.unshift(a);var o=_IFPC.ma(c),m=parseInt(o.length/j,10);if(o.length%j>0)m+=1;for(var n=0;n<m;n++){var p=o.substr(n*j,j),r=[a,_IFPC.O,m,n,p,g];_IFPC.H.iframe(d+
"#"+_IFPC.ma(r))}}_IFPC.O++}}function igR_ca(){_IFPC.A={};_IFPC.q={};_IFPC.H.clear()}function igR_da(){if(!_IFPC.T){_IFPC.T=igR_a;_IFPC.H.dispose();_IFPC.clear()}}
function igR__(a){var b=_IFPC.S(a)[0],c=igR_b;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=igR_b;else{var f=function(){c._IFPC.handleRequest(a)};window.ActiveXObject?f():c.setTimeout(f,0)}}
function igR_ea(a){a=_IFPC.S(a);var b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),g=a.shift(),h=b+"_"+c;_IFPC.o[h]||(_IFPC.o[h]=[]);_IFPC.o[h].push([e,f]);if(_IFPC.o[h].length==d){_IFPC.o[h].sort(function(r,q){return parseInt(r[0],10)-parseInt(q[0],10)});f="";for(var j=0;j<d;j++)f+=_IFPC.o[h][j][1];_IFPC.o[h]=igR_b;var i=_IFPC.S(f);b=i.shift();var k=i.shift(),o=i.shift(),m=i.shift(),n=_IFPC.Ha(k);if(n){var p=n.apply(igR_b,i);if(_IFPC.Ja(m)){p.unshift(m);_IFPC.call(b,_IFPC.ga,p,o,igR_b,
"")}}else if(g)throw new Error("Service "+k+" not registered.");}}function igR_fa(a){return _IFPC.A.hasOwnProperty(a)?_IFPC.A[a]:igR_b}function igR_ga(a){var b="";if(a&&typeof a=="function"){b=_IFPC.Ga();_IFPC.q[b]=a}return b}function igR_ha(a){if(_IFPC.q.hasOwnProperty(a))_IFPC.q[a]=igR_b}function igR_ia(a){if(a&&_IFPC.q.hasOwnProperty(a))return _IFPC.q[a];return igR_b}function igR_ja(){return _IFPC.fa+_IFPC.za++}function igR_ka(a){return(a+"").indexOf(_IFPC.fa)==0}
function igR_la(a){for(var b=a.split("&"),c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);try{d=igR_T.parse(d)}catch(e){}b[c]=d}return b}function igR_ma(a){for(var b=[],c=0;c<a.length;c++){var d=igR_T.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function igR_na(a){var b=_IFPC.Ea(a);if(b){for(var c=[],d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(igR_b,c);_IFPC.Pa(a)}else throw new Error("Invalid callbackId");}_END_TEMPLATE_SECTION("IFPC_SECTION");var _IFPC={};
function igR_oa(a){var b=window._argsUrl&&window._argsUrl(a);if(b&&b.exp_rpc_js==1)window.FLAG_use_rpc_js=igR_a;if(window.FLAG_use_rpc_js){_START_TEMPLATE_SECTION("RPC_SECTION");_IFPC={registerService:function(c,d){window.gadgets.rpc.register(c,function(){var e=this.a.slice(0);e.unshift(this.f);d.apply(igR_b,e)})},unregisterService:function(c){window.gadgets.rpc.unregister(c)},call:function(c,d,e,f,g,h,j,i){var k=window.gadgets.rpc;if(f==k.getRelayUrl(".."))c="..";e||(e=[]);i||(e=e.slice(1));e.unshift(g);
e.unshift(d);e.unshift(c);k.call.apply(k,e)}};_END_TEMPLATE_SECTION("RPC_SECTION")}else{_START_TEMPLATE_SECTION("IFPC_SECTION");_IFPC={registerService:igR_Z,unregisterService:igR_aa,call:igR_ba,clear:igR_ca,dispose:igR_da,relayRequest:igR__,processRequest:igR__,handleRequest:igR_ea,fa:"cbid",ga:"ifpc_callback",H:new igR_Y,o:{},A:{},q:{},za:0,O:0,T:igR_c,Ha:igR_fa,Ka:igR_ga,Pa:igR_ha,Ea:igR_ia,Ga:igR_ja,Ja:igR_ka,S:igR_la,ma:igR_ma,Aa:igR_na};_IFPC.registerService(_IFPC.ga,_IFPC.Aa);_END_TEMPLATE_SECTION("IFPC_SECTION")}}
igR_oa(document.location.href);function _IG_Prefs_PrefsData(){}_IG_Prefs_PrefsData.prototype.value=igR_b;
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.I[b]=igR_c}else{if(!b)throw new Error("Module ID is required as first argument to _IG_Prefs() for inlined modules");_IG_Prefs.I[b]=igR_a}_IG_Prefs.d[_IG_Prefs.l+b]||(_IG_Prefs.d[_IG_Prefs.l+b]={});this.d=_IG_Prefs.d[_IG_Prefs.l+b];this.ca=b;this.Va=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/}
_IG_Prefs.prototype.G=function(a,b){if(b==undefined)b=igR_b;var c=this.d[a];if(c==undefined)return b;var d=c.value;return d!=undefined?d:b};_IG_Prefs.prototype.F=function(a,b){return this.G(_IG_Prefs.i+a,b)};_IG_Prefs.prototype.m=function(a){var b="",c=this.F(a,b);return c!=igR_b?c+"":b};_IG_Prefs.prototype.X=function(a){var b=0,c=parseInt(this.F(a,b),10);return isNaN(c)?b:c};_IG_Prefs.prototype.V=function(a){var b=this.m(a);return b==="true"||!!parseInt(b,10)};
_IG_Prefs.prototype.U=function(a){return _IG_Prefs._strToArray(this.F(a,""))};_IG_Prefs.prototype.da=function(a,b){this.set(a,_IG_Prefs._arrayToStr(b))};_IG_Prefs.prototype.W=function(){return this.m(".country")};_IG_Prefs.prototype.Y=function(){return this.m(".lang")};_IG_Prefs.prototype.Z=function(a){return this.G(_IG_Prefs.ha+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.i+d,f=arguments[c*2+1]+"";this.ua(e,f)&&b.push(d,f)}b.length==0||(_IG_Prefs.I[this.ca]?_IG_Prefs._setP(this.ca,b):_IFPC_SetPref(b))}};
function igR_pa(a){var b="todos",c=_ig_gmid_(a),d=(new _IG_Prefs(Number(c))).m(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);igR_0(a,g,f,e)}else igR_0(a,d)}function igR_0(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],igR_b,"http://"+window.location.host+"/ig/images/rpc_relay.html",igR_a,igR_a)}
window._IG_CONTAINER&&_IFPC.registerService("get_todos_pref_for_migration",igR_pa);_IG_Prefs.prototype.$=function(){var a=["__module_id__="+this.ca];for(var b in this.d)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.d[b].value));return a.join("&")};_IG_Prefs.prototype.dump=function(){document.write("<pre>");for(var a in this.d)document.writeln(a+" = "+this.G(a,igR_b));document.write("</pre>")};
_IG_Prefs.prototype.ua=function(a,b){var c=this.d[a];if(c&&c.value===b)return igR_c;if(c)c.value=b;else{c=new _IG_Prefs_PrefsData;c.value=b;this.d[a]=c}return igR_a};_IG_Prefs.I={};_IG_Prefs.d={};_IG_Prefs.l="m_";_IG_Prefs.i="up_";_IG_Prefs.va="up_";_IG_Prefs.ha="msg_";_IG_Prefs.N={};_IG_Prefs.N[_IG_Prefs.va]="value";_IG_Prefs.Sa=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.I[a]=igR_c;for(var b={},c=igR_d(),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 h=igR_c;for(var j in _IG_Prefs.N)if(f.indexOf(j)===0){h=igR_a;f=f.substring(j.length);f=_IG_Prefs.i+f;b[f]=b[f]?b[f]:new _IG_Prefs_PrefsData;if(j===_IG_Prefs.Ra||j===_IG_Prefs.Qa)g=g=="true";b[f][_IG_Prefs.N[j]]=g;break}if(!h)if(f.indexOf(_IG_Prefs.ha)===0)_IG_Prefs._add(a,
f,g);else if(f===".lang"||f===".country")_IG_Prefs._add(a,_IG_Prefs.i+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.l+a;if(typeof _IG_Prefs.d[d]!=="object")_IG_Prefs.d[d]={};if(typeof _IG_Prefs.d[d][b]!=="object"){_IG_Prefs.d[d][b]=new _IG_Prefs_PrefsData;var e=_IG_Prefs.d[d][b];e.value=c}};
_IG_Prefs.Ma=function(a,b,c){var d=_IG_Prefs.l+a;if(typeof _IG_Prefs.d[d]!=="object")_IG_Prefs._add(a,b,c);else if(typeof _IG_Prefs.d[d][b]!=="object")_IG_Prefs.d[d][b]=new _IG_Prefs_PrefsData;var e=_IG_Prefs.d[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.l+a,d=_IG_Prefs.d[c];if(d==igR_b)return b;for(var e=b.split("&"),f=0;f<e.length;++f)e[f].indexOf(_IG_Prefs.i)===0&&e.splice(f--,1);for(var g in d)g.indexOf(_IG_Prefs.i)!==0||g.indexOf(_IG_Prefs.i+".lang")===0||g.indexOf(_IG_Prefs.i+".country")===0||g.indexOf(_IG_Prefs.i+"synd")===0||e.push(_esc(g)+"="+_esc(d[g].value));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.i+b[d*2],f=b[d*2+1];_IG_Prefs.Ma(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.i+b[e*2],g=b[e*2+1];d.push(_IG_Prefs.l+a+"_"+f+"="+_esc(g))}d.length===0||_xsetp(d.join("&"))}};
_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",_IG_Prefs.prototype.m,"getInt",_IG_Prefs.prototype.X,"getBool",_IG_Prefs.prototype.V,"getArray",_IG_Prefs.prototype.U,"setArray",_IG_Prefs.prototype.da,"getLang",_IG_Prefs.prototype.Y,"getCountry",_IG_Prefs.prototype.W,"getMsg",_IG_Prefs.prototype.Z,"getPreloadedString",_IG_Prefs.prototype.$,"set",_IG_Prefs.prototype.set,"dump",_IG_Prefs.prototype.dump]);var igR_1={obj:igR_b,init:function(a,b){a.onmousedown=igR_1.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.ta);a.onmousedown=igR_b;a.obj=igR_b;b.onDragStart=igR_b;b.onDragEnd=igR_b;b.onDrag=igR_b},start:function(a){var b=igR_1.obj=this.obj;a=igR_1.fixE(a);if(a.which!=1)return igR_a;b.onDragStart(a);var c=a.clientY;
igR_.qa||(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.ta=window.setInterval(igR_qa(b,document.body.scrollHeight>document.documentElement.clientHeight?document.body.scrollHeight:document.documentElement.clientHeight),10);document.onmouseup=igR_1.end;document.onmousemove=igR_1.drag;return igR_c},drag:function(a){a=igR_1.fixE(a);if(a.which==0)return igR_1.end();var b=igR_1.obj,c=a.clientY;
igR_.qa||(c+=document.body.scrollTop);var d=a.clientX;if(b.lastMouseX==d&&b.lastMouseY==c)return igR_c;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 igR_c},end:function(){document.onmousemove=igR_b;document.onmouseup=igR_b;window.clearInterval(igR_1.obj.ta);var a=igR_1.obj.onDragEnd();igR_1.obj=igR_b;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 igR_ra(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,h=0;h<d.length;h++){g=d[h];f.test(g.className)&&e.push(g)}return e}
var _IG_initDrag=function(a,b){igR_.B=a;igR_.K=b;igR_.u=igR_ra(igR_.B,"div","yui-u");if(_old_html){igR_.sa=igR_.B.tBodies[0].rows[0];igR_.u=igR_.sa.cells}igR_.j=[];for(var c=0,d=0;d<igR_.u.length;d++){var e=igR_.u[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"){igR_.j[c]=g.className!="dm"?new igR_sa(g):new igR_ta(g);c++}}}_IG_AddEventHandler("unload",igR_ua)};
function igR_ua(){if(igR_.j)for(var a=0;a<igR_.j.length;a++){igR_.j[a].la();igR_.j[a]=igR_b}igR_.j=igR_b;igR_.u=igR_b;if(_old_html)igR_.sa=igR_b;igR_.B=igR_b}var igR_={};igR_.ea=navigator.userAgent;igR_.pa=igR_.ea.indexOf("Gecko")!=-1;igR_.ba=igR_.ea.indexOf("Opera")!=-1;igR_.qa=igR_.ea.indexOf("Safari")!=-1;igR_.ja="IG_pageDivMaskId";igR_.ia="IG_moduleDivMaskId";igR_.Ta=function(){igR_.B.style.display="none"};igR_.Ua=function(){igR_.B.style.display=""};igR_.p=igR_b;
igR_.D=function(){if(!igR_.p){igR_.p=document.createElement("DIV");igR_.p.className="modbox";igR_.p.backgroundColor="";igR_.p.style.border="2px dashed #aaa";igR_.p.innerHTML="&nbsp;"}return igR_.p};igR_.r=function(a,b){return function(){return a[b].apply(a,arguments)}};
igR_.na=function(){var a=[];if(igR_.K){var b;b=_old_html?igR_.K.tBodies[0].rows[0].cells:_gelstn("LI",igR_.K);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",igR_.K);for(c=0;c<b.length;c++){d=b[c];(" "+d.className+" ").indexOf(" leftunselectedtab ")<0||d.style.display=="none"||a.push(d)}}return a};
igR_.ya=function(){for(var a=igR_.na(),b=0;b<a.length;b++){var c=a[b];c.isDraggableTo=igR_a;c.pagePosLeft=igR_.v(c,igR_a);c.pagePosRight=c.pagePosLeft+c.offsetWidth;c.pagePosTop=igR_.v(c,igR_c);c.pagePosBottom=c.pagePosTop+c.offsetHeight}};igR_.xa=function(a){for(var b=0;b<igR_.j.length;b++){var c=igR_.j[b];c.b.pagePosLeft=igR_.v(c.b,igR_a);c.b.pagePosTop=igR_.v(c.b,igR_c)}for(var d=a.b.nextSibling;d;){d.pagePosTop-=a.b.offsetHeight;d=d.nextSibling}};
igR_.v=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};
igR_.wa=function(a){igR_.ra();var b=document.createElement("DIV");b.id=igR_.ja;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.oa){b=b.cloneNode(igR_a);b.id=igR_.ia;b.style.height=a.b.offsetHeight-a.k.offsetHeight+"px";b.style.top=a.k.offsetHeight+"px";a.b.appendChild(b)}};
igR_.ra=function(){for(var a=[igR_.ia,igR_.ja],b=0;b<a.length;b++){var c=_gel(a[b]);c&&c.parentNode.removeChild(c)}};igR_.La=function(){for(var a="",b=0;b<igR_.u.length;b++)for(var c=igR_.u[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 igR_ta(a){this.la=igR_va;this.b=a;this.b.innerHTML="<br />"}function igR_va(){this.b=igR_b}
function igR_sa(a){this._urlMouseUp=igR_wa;this._urlMouseDown=igR_xa;this._urlClick=igR_ya;this._dragStart=igR_za;this._drag=igR_Aa;this._dragEnd=igR_Ba;this.Da=igR_Ca;this.M=igR_Da;this.la=igR_Ea;this.z=igR_c;this.b=a;this.k=_gel(a.id+"_h");this.g=_gel(a.id+"_url");this.oa=_gelstn("IFRAME",this.b).length>0;this.b.DND_Module=this;if(this.k){this.k.style.cursor="move";igR_1.init(this.k,this.b);this.b.onDragStart=igR_.r(this,"_dragStart");this.b.onDrag=igR_.r(this,"_drag");this.b.onDragEnd=igR_.r(this,
"_dragEnd");if(this.g){this.g.style.cursor="pointer";if(igR_.pa){this.g.onmousedown=igR_.r(this,"_urlMouseDown");this.g.onclick=igR_.r(this,"_urlClick")}else this.g.onmouseup=igR_.r(this,"_urlMouseUp")}}}function igR_Ea(){if(this.k){if(this.g){this.g.onclick=igR_b;this.g=this.g.onmouseup=igR_b}igR_1.uninit(this.k,this.b);this.b.onDragStart=igR_b;this.b.onDrag=igR_b;this.k=this.b.onDragEnd=igR_b}this.b=igR_b}
function igR_wa(a){a=igR_1.fixE(a);if(this.z||!this.g||!this.g.href||a.which!=1)return igR_a;this.M("titleclick");if(this.g.target||a.shiftKey)window.open(this.g.href,this.g.target);else document.location=this.g.href;return igR_c}function igR_xa(a){a=igR_1.fixE(a);a.stopPropagation();return igR_a}function igR_ya(){if(!this.z&&this.g&&this.g.href){this.M("titleclick");return igR_a}return igR_c}
function igR_za(){igR_.xa(this);igR_.ya();this.origNextSibling=this.b.nextSibling;var a=igR_.D(),b=this.b.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.b.offsetWidth,d=igR_.v(this.b,igR_a),e=igR_.v(this.b,igR_c);this.b.style.width=c+"px";a.style.height=b+"px";this.b.parentNode.insertBefore(a,this.b.nextSibling);this.b.style.position="absolute";this.b.style.zIndex=10000;this.b.style.left=d+"px";this.b.style.top=e+"px";igR_.wa(this);return this.z=igR_c}
function igR_2(){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 igR_Aa(a,b){if(!this.z){this.b.style.filter="alpha(opacity=50)";this.b.style.opacity=0.5;this.z=igR_a;this.M("dragstart")}for(var c=igR_b,d=100000000,e=0;e<igR_.j.length;e++){var f=igR_.j[e],g=a;if(document.body.dir=="rtl"&&f.b.offsetWidth==1)g+=this.b.offsetWidth;var h=Math.sqrt(Math.pow(g-f.b.pagePosLeft,2)+Math.pow(b-f.b.pagePosTop,2));if(!(f==this))if(!isNaN(h))if(h<d){d=h;c=f}}this.n=igR_b;var j=igR_.na();for(e=0;e<j.length;e++){f=j[e];if(f.isDraggableTo){var i=igR_2();if(this.b.lastMouseX>=
f.pagePosLeft&&this.b.lastMouseX<=f.pagePosRight&&this.b.lastMouseY+i[1]>=f.pagePosTop&&this.b.lastMouseY+i[1]<=f.pagePosBottom){this.n=f;var k=igR_.D();k.parentNode!=igR_b&&k.parentNode.removeChild(k);break}}}for(e=0;e<j.length;e++){f=j[e];if(f.id.indexOf("view")>=0||f.id.indexOf("contents")>=0)if(f==this.n){if(f.className.indexOf(" tab_hover")<0)f.className+=" tab_hover"}else f.className=f.className.replace(/ tab_hover/g,"")}k=igR_.D();if(this.n==igR_b&&c!=igR_b&&k.nextSibling!=c.b){c.b.parentNode.insertBefore(k,
c.b);if(igR_.ba){document.body.style.display="none";document.body.style.display=""}}}
function igR_Ba(){igR_.ra();this.Da()&&igR_.La();if(this.n){var a=this.n.id.match(/.*?(\d+).*/)[1],b=this.b.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.b.style.display="none";this.n.className=this.n.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.z&&this.M("dragend");return igR_a}
function _hideNewUserTip(){var a=_gel("new_user_tip");if(a)a.style.display="none"}
function igR_Ca(){var a=igR_c;this.b.style.position="";this.b.style.width="";this.b.style.zIndex="";this.b.style.filter="";this.b.style.opacity="";window.scrollBy(0,0);var b=igR_.D();if(b.parentNode!=igR_b){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.b,b.nextSibling);a=igR_a}b.parentNode.removeChild(b)}if(igR_.ba){document.body.style.display="none";document.body.style.display=""}if(a&&this.oa&&(igR_.pa||igR_.ba)){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 igR_Da(a){switch(a){case "titleclick":_IG_TriggerModuleEvent(this.b.id,a,this.g.href);_IG_TriggerEvent("module"+a,this.b.id,this.g.href);break;case "dragstart":case "dragend":_IG_TriggerDelayedModuleEvent(this.b.id,a);_IG_TriggerDelayedEvent("module"+a,this.b.id);break}}
function igR_qa(a,b){return function(){var c=igR_Fa(),d=igR_2(),e=d[1],f=4,g=0.05*c,h=e,j=a.offsetTop;if(a.lastMouseY<=g){j=a.offsetTop-f;h=e-f}else if(a.lastMouseY>=c-g){j=Math.min(b-a.offsetHeight,a.offsetTop+f);h=Math.min(b-c,e+f)}var i=h-e;if(i!=0){window.scrollBy(0,i);a.style.top=j+"px"}}}
function igR_Fa(){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",igR_]);function igR_Ga(a,b,c,d){if(!a||a==""||a.length<=27||a.charAt(27)!="{")c(d?igR_b:"");else{var e=eval("("+a.substring(27)+")");if(b in e){var f=e[b].body;c(d?igR_3(f):f)}}}function igR_Ha(a){var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async=igR_c;b.validateOnParse=igR_c;b.resolveExternals=igR_c;b.loadXML(a)}else{var c=new DOMParser;b=c.parseFromString(a,"text/xml")}return b}
function igR_3(a){var b=igR_Ha(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&_gelstn("parsererror",b)[0])return a;return b}var igR_Ia=(new Date).getTime();
function igR_4(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>igR_Ia+a.refreshInterval*1000))if(a.asXml){var b=igR_3(_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){igR_Ga(f,a.url,a.callback,a.asXml)},igR_c,a.post_data)}}function igR_5(a){var b={};for(var c in a)b[c]=a[c];return b}function _IG_FetchContent(a,b,c){var d;d=c!=igR_b&&typeof c=="object"?igR_5(c):{};d.url=a;d.callback=b;d.asXml=igR_c;igR_4(d)}function _IG_FetchXmlContent(a,b,c){var d;d=c!=igR_b&&typeof c=="object"?igR_5(c):{};d.url=a;d.callback=b;d.asXml=igR_a;igR_4(d)}
function igR_Ja(a,b,c){_IG_FetchContent(a,function(d){if(d){var e=igR_3(d);if(typeof e=="object"&&e.firstChild){var f=e.firstChild;f.nodeType==7&&f.nodeName=="xml"&&e.removeChild(f);b(e);return}}b(igR_b)},c)}function igR_6(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 h=e[g]?e[g]:igR_b;b[g](h)}b=igR_b},igR_c,a)}var igR_7=igR_c,igR_Ka=0,igR_8="",igR_9={};
function _IG_FetchFeedAsJSON(a,b,c,d,e){if(typeof e!="object")e={};var f="fr_"+igR_Ka++,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 h=f+"="+_esc(g);if(igR_7){var j={};j[f]=b;igR_6(h,j)}else{if(igR_8!="")igR_8+="&";igR_8+=h;igR_9[f]=b}}function igR_La(){igR_7=igR_a;igR_8!=""&&igR_6(igR_8,igR_9);igR_8="";igR_9=igR_b}_IG_AddEventHandler("domload",igR_La);
_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",igR_Ja,"getFeedAsJSON",_IG_FetchFeedAsJSON]);var _IG_Json=igR_T;var _IG_time=function(){function a(){return(new Date).getTime()}var b=window._IG_time_epoch||a(),c={},d={},e={set_epoch:function(f){b=f},start:function(f){c[f]=a();e.start_callback(f)},since:function(f){var g=c[f]||b;return a()-g},stop:function(f){d[f]=e.since(f);e.stop_callback(f)},get:function(f){return d[f]},print:function(f){document.write("<div style='color:#999999;font-size:75%'>"+f+" : "+e.get(f)+"ms</div>")},stop_and_print:function(f){e.stop(f);e.print(f)},start_callback:function(){},stop_callback:function(){}};
return e}();function _START_TEMPLATE_SECTION(){}function _END_TEMPLATE_SECTION(){}function _TEMPLATE_VARIABLE(){}function _INLINE_TEMPLATE_SECTION(){}function _PARENS(){};var _IFPC_SUPPORT={iframeId:"remote_iframe_"+_args().mid,relayUrl:_args().parent+"/ig/ifpc_relay",ifpcTok:_args().ifpctok},igR_$=[];
function igR_Ma(){_IFPC_SUPPORT.relayUrl=_args().parent+"/ig/images/rpc_relay.html";var a=_IFPC.call;_IFPC.call=igR_Na;_IG_LoadScriptXDomain("http://ig.gmodules.com/gadgets/js/rpc.js?c=1&container=ig","window.gadgets && window.gadgets.rpc",function(){window.gadgets.config.init();window.gadgets.rpc.setRelayUrl("..",_IFPC_SUPPORT.relayUrl);_IFPC.call=a;for(var b=0;b<igR_$.length;b++)_IFPC.call.apply(igR_b,igR_$[b])})}function igR_Na(){igR_$.push(arguments)}window.FLAG_use_rpc_js&&igR_Ma();
