function _gel(a){return document.getElementById?document.getElementById(a):null}function _gelstn(a){if(a=="*"&&document.all)return document.all;return document.getElementsByTagName?document.getElementsByTagName(a):[]}function _gelsbyregex(a,b){var c=_gelstn(a),d=[];for(var e=0;e<c.length;e++)if(b.test(c[e].id))d.push(c[e]);return d}function _uc(a){return a.toUpperCase()}function _trim(a){return a.replace(/^\s*|\s*$/g,"")}function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)}
var igR_a=function(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)},_unesc=igR_a;function _toggle(a){if(!a)return;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){a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;");a=a.replace(/"/g,"&quot;").replace(/'/g,"&#39;");return a}function _striptags(a){return a.replace(/<\/?[^>]+>/gi,"")}var igR_b=0;function _uid(){return"obj"+igR_b++}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)},false,null)}function _IG_LoadCss(a){var b=document.getElementsByTagName("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,null,null,null)}function _sendx(a,b,c,d){var e=igR_c();e.open(d?"POST":"GET",a,true);if(b)e.onreadystatechange=function(){if(e.readyState==4)b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d)}function _uhc(a,b,c){var d="m_"+a+"_"+b,e=_gel(d);if(!e){e=document.createElement("INPUT");e.type="hidden";e.disabled=true;e.name=d;_gel("m_"+a+"_form").appendChild(e)}e.value=c;e.disabled=false}function igR_c(){var a=null;if(window.ActiveXObject){a=new ActiveXObject("Msxml2.XMLHTTP");
if(!a)a=new ActiveXObject("Microsoft.XMLHTTP")}else if(window.XMLHttpRequest)a=new XMLHttpRequest;return a}var _et="",_brand="",_bmod="",_source="",_pid="",_authpath="",_prefid="",_setp_url="/ig/setp",_old_html=true,_use_old_feed_styles=true;function igR_d(a,b,c){var d=document.createElement("input");d.type="hidden";d.name=b;d.value=c;a.appendChild(d)}function igR_e(a){var b=a||document.location.href,c;{var d=b.indexOf("?"),e=b.indexOf("#");if(e==-1)c=b.substr(d+1);else c=b.substr(d+1,e-d-1)+"&"+
b.substr(e+1)}return c.split("&")}function _argsUrl(a){var b={},c=igR_e(a);for(var d=0;d<c.length;d++){var e=c[d].indexOf("=");if(e==-1)continue;var f=c[d].substring(0,e),g=c[d].substring(e+1);g=g.replace(/\+/g," ");b[f]=_unesc(g)}return b}function _args(){return _argsUrl(document.location.href)}function igR_f(){var a={pid:1,host:1,gl:1,hl:1},b=_args(),c="?";for(var d in b)if(a[d])c+=d+"="+_esc(b[d])+"&";return c}function _submit_form(a,b){a.action=_setp_url+igR_f()+b;a.method="get";igR_d(a,"url",
document.location);igR_d(a,"et",_et);igR_d(a,"brand",_brand);igR_d(a,"bmod",_bmod);igR_d(a,"source",_source);igR_d(a,"pid",_pid);igR_d(a,"ap",_authpath);igR_d(a,"prefid",_prefid);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";igR_d(a,"url",document.location);igR_d(a,"et",_et);igR_d(a,"brand",_brand);igR_d(a,"bmod",_bmod);igR_d(a,"source",_source);igR_d(a,"pid",_pid);igR_d(a,"ap",_authpath);igR_d(a,"prefid",_prefid);igR_d(a,"m_"+b+"_t",c);var d=_args(),e=d.host,f=d.hl;if(typeof e!=
"undefined")igR_d(a,"host",e);if(typeof f!="undefined")igR_d(a,"hl",f);return true}var igR_g=[],igR_h=false;function igR_i(){if(igR_g.length==0){igR_h=false;return}igR_h=true;var a=_setp_url+igR_f()+"et="+_et+"&pid="+_pid+"&ap="+_authpath+"&brand="+_brand+"&bmod="+_bmod+"&source="+_source+"&prefid="+_prefid,b=igR_g.shift(),c=a.length+b.length>=1800;if(c)_sendx(a,igR_j,false,b);else{a+="&"+b;_sendx(a,igR_j,false,null)}}function igR_j(){_IG_TriggerDelayedEvent("xsetpdone");igR_i()}function _xsetp(a){igR_g.push(a);
if(!igR_h)igR_i()}function _dlsetp(a,b){if(!b)b=_esc(document.location);document.location=_setp_url+igR_f()+"et="+_et+"&brand="+_brand+"&bmod="+_bmod+"&source="+_source+"&pid="+_pid+"&ap="+_authpath+"&prefid="+_prefid+"&url="+b+"&"+a}function _ssbc(a,b,c){var d=_gelstn("*");for(var e=0;e<d.length;e++)if(d[e].className==a)d[e].style[b]=c}function _findPos(a){var b=0,c=0;while(a!=null){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(){function a(d){var e=window;if(d!=""){var f=d.split(".");while(f.length){var g=f.shift();if(typeof e[g]!="object")e[g]={};e=e[g]}}return e}function b(d,e){var f=a(d);for(var g=0;g<e.length;g+=2)f[e[g]]=e[g+1]}function c(d,e,f,g,i){if(g)for(var h=0;h<g.length;h+=2)f.prototype[g[h]]=g[h+1];if(i)for(var h=0;h<i.length;h+=2)f[i[h]]=
i[h+1];b(d,[e,f])}b("",["_exportSymbols",b]);b("",["_exportClass",c]);b("google.gadgets.Util",["args",_args])})();function _IG_GetCachedUrl(a,b){var c;if(typeof b=="object")c=b;else c={};var d=window.location.href,e="/ig/proxy?",f=/^http:\/\/[^\/]+\/ig\/ifr[?]/,g=f.exec(d);if(g){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)}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_k={domload:1,xsetpdone:1,moduledragstart:1,moduledragend:1,moduletitleclick:1,moduleedit:1,modulecanceledit:1,moduledelete:1,moduleundelete:1,modulezip:1,moduleunzip:1,modulemaximize:1,moduleunmaximize:1,load:1,unload:1,resize:1},igR_l={dragstart:1,dragend:1,titleclick:1,edit:1,canceledit:1,"delete":1,undelete:1,zip:1,unzip:1,maximize:1,unmaximize:1};function igR_m(a){var b="ig_event_hashcode_";if(a.hasOwnProperty&&a.hasOwnProperty(b))return a[b];if(!a[b])a[b]=++igR_n.ya;return a[b]}function igR_o(a){return"builtin_"+
a}function igR_p(a,b){if(a.indexOf&&a.indexOf("m_")==0)a=a.substring(2);return"builtin_m"+a+"_"+b}function igR_q(a,b){return"builtin_"+igR_n.ua(a)+"_"+b}function igR_r(a){return"custom_"+a}function igR_s(){for(var a in igR_n.b){for(var b=0;b<igR_n.b[a].length;b++)igR_n.b[a][b]=null;if(a in igR_n.A){var c=igR_n.A[a],d=c[0],e=c[1],f=c[2];if(d.removeEventListener)d.removeEventListener(e,f,false);else if(d.detachEvent)d.detachEvent("on"+e,f);igR_n.A[a]=null}}}function igR_t(a,b,c){for(var d=c;d<b.length;d++)a[a.length]=
b[d];return a}function igR_u(a,b){if(a in igR_n.b)for(var c=0;c<igR_n.b[a].length;c++)if(igR_n.b[a][c]===b){igR_n.b[a][c]=null;return true}return false}function igR_v(a){if(a in igR_n.b)for(var b=0;b<igR_n.b[a].length;b++)if(igR_n.b[a][b]){var c=[];for(var d=1;d<arguments.length;d++)c[c.length]=arguments[d];igR_n.b[a][b].apply(this,c)}}function igR_w(a,b){if(!(a in igR_n.Ga))throw Error("Unsupported event type: "+a);var c=igR_n.I(a);if(!(c in igR_n.b))igR_n.b[c]=[];igR_n.b[c][igR_n.b[c].length]=b}
function igR_x(a,b,c){if(!(b in igR_n.Ha))throw Error("Unsupported module event type: "+b);var d=igR_n.J(a,b);if(!(d in igR_n.b))igR_n.b[d]=[];igR_n.b[d][igR_n.b[d].length]=c}function igR_y(a,b,c){var d=igR_n.aa(a,b);if(!(d in igR_n.b)){igR_n.b[d]=[];var e=function(g){if(!g)g=window.event;igR_n.C.apply(a,[d,g])};if(a.addEventListener)a.addEventListener(b,e,false);else if(a.attachEvent)a.attachEvent("on"+b,e);else throw Error("Object {"+a+"} does not support DOM events.");igR_n.A[d]=[a,b,e]}var f=
igR_n.b[d].length;if(a===window&&b=="unload"&&f>0){igR_n.b[d][f]=igR_n.b[d][f-1];igR_n.b[d][f-1]=c}else igR_n.b[d][f]=c}function igR_z(a,b){var c=igR_n.H(a);if(!(c in igR_n.b))igR_n.b[c]=[];igR_n.b[c][igR_n.b[c].length]=b}function igR_A(a,b){var c=igR_n.I(a);return igR_n.B(c,b)}function igR_B(a,b,c){var d=igR_n.J(a,b);return igR_n.B(d,c)}function igR_C(a,b,c){var d=igR_n.aa(a,b);return igR_n.B(d,c)}function igR_D(a,b){var c=igR_n.H(a);return igR_n.B(c,b)}function igR_E(a){var b=igR_n.t([igR_n.I(a)],
arguments,1);igR_n.C.apply(window,b)}function igR_F(){var a=igR_n.t([],arguments,0);setTimeout(function(){igR_n.triggerEvent.apply(window,a)},0)}function igR_G(a,b){var c=igR_n.t([igR_n.J(a,b)],arguments,2);igR_n.C.apply(window,c)}function igR_H(){var a=igR_n.t([],arguments,0);setTimeout(function(){igR_n.triggerModuleEvent.apply(window,a)},0)}function igR_I(a){var b=igR_n.t([igR_n.H(a)],arguments,1);igR_n.C.apply(window,b)}function igR_J(){var a=igR_n.t([],arguments,0);setTimeout(function(){igR_n.triggerCustomEvent.apply(window,
a)},0)}var igR_n={ya:0,b:{},A:{},Ga:igR_k,Ha:igR_l,ua:igR_m,I:igR_o,J:igR_p,aa:igR_q,H:igR_r,qa:igR_s,t:igR_t,B:igR_u,C:igR_v,addEventHandler:igR_w,addModuleEventHandler:igR_x,addDOMEventHandler:igR_y,addCustomEventHandler:igR_z,removeEventHandler:igR_A,removeModuleEventHandler:igR_B,removeDOMEventHandler:igR_C,removeCustomEventHandler:igR_D,triggerEvent:igR_E,triggerModuleEvent:igR_G,triggerCustomEvent:igR_I,triggerDelayedEvent:igR_F,triggerDelayedModuleEvent:igR_H,triggerDelayedCustomEvent:igR_J},
_IG_AddEventHandler=igR_n.addEventHandler,_IG_AddModuleEventHandler=igR_n.addModuleEventHandler,_IG_AddGadgetEventHandler=igR_n.addModuleEventHandler,_IG_AddDOMEventHandler=igR_n.addDOMEventHandler,_IG_AddCustomEventHandler=igR_n.addCustomEventHandler,_IG_RemoveEventHandler=igR_n.removeEventHandler,_IG_RemoveModuleEventHandler=igR_n.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=igR_n.removeModuleEventHandler,_IG_RemoveDOMEventHandler=igR_n.removeDOMEventHandler,_IG_RemoveCustomEventHandler=
igR_n.removeCustomEventHandler,_IG_TriggerEvent=igR_n.triggerEvent,_IG_TriggerModuleEvent=igR_n.triggerModuleEvent,_IG_TriggerGadgetEvent=igR_n.triggerModuleEvent,_IG_TriggerCustomEvent=igR_n.triggerCustomEvent,_IG_TriggerDelayedEvent=igR_n.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=igR_n.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=igR_n.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=igR_n.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",igR_n.qa);_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(false)});_IG_AddModuleEventHandler(a,"maximize",function(){b(true)})};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()},stop:function(f){var g=c[f]||b;d[f]=a()-g},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)}};return e})();function igR_K(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}}function igR_L(a){var b="",c=this.M(a,b);return c!=null?c+"":b}function igR_M(a){var b=0,c=parseInt(this.M(a,b),10);return isNaN(c)?b:c}function igR_N(a){var b=this.getString(a);return b=="true"||!(!parseInt(b,10))}function igR_O(a){return _IG_Prefs._strToArray(this.M(a,""))}function igR_P(a,b){this.set(a,_IG_Prefs._arrayToStr(b))}function igR_Q(){return parseInt(this.s(_IG_Prefs.ha,
"0"),10)}function igR_R(){return parseInt(this.s(_IG_Prefs.ia,"0"),10)}function igR_S(){return this.getString(".lang")}function igR_T(){return this.getString(".country")}function igR_U(a,b){return this.s(_IG_Prefs.e+a,b)}function igR_V(a){return this.s(_IG_Prefs.F+a,"")}var igR_W=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/;function igR_aa(a,b){var c=this.s(_IG_Prefs.F+a,""),d=c.match(this.Aa);if(!d||!d[0])return c;if(!b){var e=d[4]||"";return d[1]+e+d[5]}return d[1]+b+d[5]}function igR_X(){var a=
Math.floor(arguments.length/2);if(a==0)return;var b=[];for(var c=0;c<a;++c){var d=arguments[c*2],e=arguments[c*2+1],f=this.c[_IG_Prefs.e+d];if(f&&f.value==e)continue;if(_IG_Prefs.N)b.push("m_"+this.Q+"_up_"+d+"="+_esc(e));else b.push(d,e);if(f)f.value=e;else{f={};f.value=e;this.c[_IG_Prefs.e+d]=f}}if(b.length>0){this.Da(arguments);if(_IG_Prefs.N)_xsetp(b.join("&"));else{if(_args().synd=="open")return;_IFPC_SetPref(b)}}}function igR_ba(a){this.Ba(a);var b=a.length%2?a[a.length-1]:true;if(b)this.Ca(a)}
function igR_ca(a){var b=Math.floor(a.length/2),c={};for(var d=0;d<b;++d){var e=a[d*2],f=this.c[_IG_Prefs.e+e];if(f.onChange){var g=f.group?f.group:e;g+="_"+f.onChange;c[g]=window[f.onChange]}}for(var e in c)c[e]()}function igR_da(a){var b=Math.floor(a.length/2),c=[];for(var d=0;d<b;++d){var e=a[d*2],f=this.c[_IG_Prefs.e+e];if(f.publish){if(!(igR_K(c,e)%2==0))c.push(e,this.ca(e));if(f.group)for(var g in this.c){var i=this.c[g];g=g.substring(_IG_Prefs.e.length);if(g!=e&&i.publish&&i.group&&i.group==
f.group)if(!(igR_K(c,g)%2==0))c.push(g,this.ca(g))}}}if(typeof _IG_PubSub!="undefined"&&c.length>0){var h=new _IG_PubSub(this.Q);h.publishMultiple(c)}}function igR_ea(a){var b=this.c[_IG_Prefs.e+a],c=b.value,d=b.datatype;switch(d){case "list":c=_IG_Prefs._strToArray(c);break;case "location":c={};c.location=b.value;c["long"]=this.c[_IG_Prefs.e+a+".long"];c.lat=this.c[_IG_Prefs.e+a+".lat"];break;case "bool":c=!isNaN(parseInt(c,10));break;case "string":break;case "enum":break;case "hidden":break;default:break}return c}
function igR_fa(a,b){var c=a;switch(b){case "list":c=_IG_Prefs._arrayToStr(a);break;case "location":c=[];c.push=a.location;c.push=a["long"];c.push=a.lat;break;case "bool":c=a?"1":"a";break;case "string":break;case "enum":break;case "hidden":break;default:break}return c}function igR_ga(a,b){if(typeof b=="undefined")b=null;var c=this.c[a];if(typeof c=="undefined")return b;else{var d=c.value;return typeof d!="undefined"?d:b}}function igR_ha(){document.write("<pre>");for(var a in this.c)document.writeln(a+
" = "+this.s(a,null));document.write("</pre>")}function igR_Y(){var a=["__module_id__="+this.Q];for(var b in this.c)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.c[b].value));return a.join("&")}function _IG_Prefs(a){this.getString=igR_L;this.getInt=igR_M;this.getBool=igR_N;this.getArray=igR_O;this.setArray=igR_P;this.getCountry=igR_T;this.getLang=igR_S;this.getMsg=igR_V;this.getMsgFormatted=igR_aa;this.set=igR_X;this.getPreloadedString=igR_Y;this.dump=igR_ha;this.oa=igR_fa;this.ca=igR_ea;
this.Ba=igR_ca;this.Ca=igR_da;this.Da=igR_ba;if(typeof remote_modules!="object"){var b=_args().mid;if(b)a=b;else a=0;_IG_Prefs._parseURL(a)}else if(!a)throw new Error("Module ID is required as first argument to _IG_Prefs() for inlined gadgets");this.getModuleHeight=igR_Q;this.getModuleWidth=igR_R;this.c=_IG_Prefs.c[_IG_Prefs.G+a]||{};this.s=igR_ga;this.M=igR_U;this.Q=a;this.Aa=igR_W}_IG_Prefs.ha="h";_IG_Prefs.ia="w";_IG_Prefs.G="m_";_IG_Prefs.e="up_";_IG_Prefs.USER_PREF_PREFIX_PUBLISH="upp_";_IG_Prefs.USER_PREF_PREFIX_LISTEN=
"upl_";_IG_Prefs.USER_PREF_PREFIX_GROUP="upg_";_IG_Prefs.USER_PREF_PREFIX_ONCHANGE="upo_";_IG_Prefs.USER_PREF_PREFIX_DATATYPE="upt_";_IG_Prefs.USER_PREF_PREFIX_VALUE="up_";_IG_Prefs.PREFIXES_TO_FIELDS={};_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_PUBLISH]="publish";_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_LISTEN]="listen";_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_GROUP]="group";_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_ONCHANGE]="onChange";_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_DATATYPE]=
"datatype";_IG_Prefs.PREFIXES_TO_FIELDS[_IG_Prefs.USER_PREF_PREFIX_VALUE]="value";_IG_Prefs.F="msg_";_IG_Prefs._parseURL=function(a){_IG_Prefs.N=false;var b={},c=igR_e();for(var 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 i=false;for(var h in _IG_Prefs.PREFIXES_TO_FIELDS)if(f.indexOf(h)==0){i=true;f=f.substring(h.length);f=_IG_Prefs.e+f;b[f]=b[f]?b[f]:{};if(h==_IG_Prefs.USER_PREF_PREFIX_PUBLISH||
h==_IG_Prefs.USER_PREF_PREFIX_LISTEN)if(g=="true")g=true;else g=false;b[f][_IG_Prefs.PREFIXES_TO_FIELDS[h]]=g;break}if(!i)if(f.indexOf(_IG_Prefs.F)==0)_IG_Prefs._add(a,f,g);else if(f==".lang"||f==".country")_IG_Prefs._add(a,_IG_Prefs.e+f,g)}}if(window.IDIModule){var b=window.IDIModule.getPrefs();for(var d in b)_IG_Prefs._add(a,d,b[d])}else for(var f in b)_IG_Prefs._add(a,f,b[f].value,b[f])};_IG_Prefs._add=function(a,b,c,d){var e=_IG_Prefs.G+a;if(typeof _IG_Prefs.c[e]!="object")_IG_Prefs.c[e]={};if(typeof _IG_Prefs.c[e][b]!=
"object")_IG_Prefs.c[e][b]={};else return;var f=_IG_Prefs.c[e][b];f.value=c;f.datatype="string";f.publish=false;f.listen=false;f.onChange=false;f.group=false;if(d){f.datatype=d.datatype?d.datatype:"string";f.publish=d.publish?d.publish:false;f.listen=d.listen?d.listen:false;f.onChange=d.onChange?d.onChange:false;f.group=d.group?d.group:false;if(d.listen)_IG_Prefs._subscribePrefs(a,b)}};_IG_Prefs._addAll=function(a,b){for(var c=0;c<b.length;++c)_IG_Prefs._add(a,b[c][0],b[c][1],b[c][2])};_IG_Prefs._subscribePrefs=
function(a,b){var c=_IG_Prefs.G+a,d=_IG_Prefs.c[c][b],e=new _IG_PubSub(a),f=[b.substring(_IG_Prefs.e.length)];if(d.group){var g=_IG_Prefs.c[c],i=[];for(var h in g)if(g[h].group&&g[h].listen&&g[h].group==d.group&&h!=b)i.push(h.substring(_IG_Prefs.e.length));if(i.length>0){e.unsubscribeMultiple(i);f=f.concat(i)}}var k=function(p,m){var n=new _IG_Prefs(a),l=[];for(var o=0;o<p.length;++o){var s=n.c[_IG_Prefs.e+m[o]],t=s.datatype,q=m[o],u=p[o],r=n.oa(u,t);if(t=="location"){l.push(q+".long",r[1]);l.push(q+
".lat",r[2]);l.push(q,r[0])}else l.push(q,r)}l.push(false);n.set.apply(n,l)},j={};j.triggerOn="any";j.shouldReceiveLocalEvents=false;e.subscribeMultiple(f,k,j)};_IG_Prefs._arrayToStr=function(a){var b=a.length&&a.join;if(b){var c=[];for(var 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){var b=a.length>0?a.split("|"):[];for(var c=0;c<b.length;++c)b[c]=b[c].replace(/%7C/g,"|");return b};_IG_Prefs.c={};_IG_Prefs.N=
true;_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",igR_L,"getInt",igR_M,"getBool",igR_N,"getArray",igR_O,"getLang",igR_S,"getCountry",igR_T,"getMsg",igR_V,"getPreloadedString",igR_Y,"set",igR_X,"setArray",igR_P]);function igR_ia(a,b,c,d){if(!a)c(d?null:"");var e=eval("("+a.substring(27)+")");if(b in e){var f=e[b].body;c(d?igR_Z(f):f)}}function igR_ja(a){var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async=false;b.validateOnParse=false;b.resolveExternals=false;b.loadXML(a)}else{var c=new DOMParser;b=c.parseFromString(a,"text/xml")}return b}function igR_Z(a){var b=igR_ja(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&b.getElementsByTagName("parsererror")[0])return a;
return b}var igR_ka=(new Date).getTime();function igR__(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>igR_ka+a.refreshInterval*1000)){if(a.asXml){var b=igR_Z(_pl_data[a.url]);a.callback(b)}else a.callback(_pl_data[a.url]);return}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){var d=[];for(var 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_ia(f,a.url,a.callback,a.asXml)},false,a.post_data)}function igR_0(a){var b={};for(var c in a)b[c]=a[c];return b}function _IG_FetchContent(a,b,c){var d;d=c!=null&&typeof c=="object"?igR_0(c):{};d.url=a;d.callback=b;d.asXml=false;igR__(d)}function _IG_FetchXmlContent(a,b,c){var d;d=c!=null&&typeof c=="object"?
igR_0(c):{};d.url=a;d.callback=b;d.asXml=true;igR__(d)}function igR_la(a,b,c){_IG_FetchContent(a,function(d){if(d){var e=igR_Z(d);if(typeof e=="object"&&e.firstChild){var f=e.firstChild;if(f.nodeType==7&&f.nodeName=="xml")e.removeChild(f);b(e);return}}b(null)},c)}function igR_1(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 i=e[g]?e[g]:null;b[g](i)}e=null;b=null},false,a)}var igR_2=false,igR_ma=0,igR_3="",igR_4={};function _IG_FetchFeedAsJSON(a,
b,c,d,e){if(typeof e!="object")e={};var f="fr_"+igR_ma++,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 i=f+"="+_esc(g);if(igR_2){var h={};h[f]=b;igR_1(i,h)}else{if(igR_3!="")igR_3+="&";igR_3+=i;igR_4[f]=b}}function igR_na(){igR_2=true;if(igR_3!="")igR_1(igR_3,igR_4);igR_3="";igR_4=null}_IG_AddEventHandler("domload",igR_na);_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,
"getXMLContent",igR_la,"getFeedAsJSON",_IG_FetchFeedAsJSON]);var igR_5=(function(){var a={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},b={"boolean":function(c){return String(c)},number:function(c){return isFinite(c)?String(c):"null"},string:function(c){if(/["\\\x00-\x1f]/.test(c))c=c.replace(/([\x00-\x1f\\"])/g,function(d,e){var f=a[e];if(f)return f;f=e.charCodeAt();return"\\u00"+Math.floor(f/16).toString(16)+(f%16).toString(16)});return'"'+c+'"'},object:function(c){if(c){var d=[],e,f,g,i,h;if(c instanceof Array){d[0]=
"[";i=c.length;for(g=0;g<i;g+=1){h=c[g];f=b[typeof h];if(f){h=f(h);if(typeof h=="string"){if(e)d[d.length]=",";d[d.length]=h;e=true}}}d[d.length]="]"}else if(typeof c.hasOwnProperty==="function"){d[0]="{";for(g in c)if(c.hasOwnProperty(g)){h=c[g];f=b[typeof h];if(f){h=f(h);if(typeof h=="string"){if(e)d[d.length]=",";d.push(b.string(g),":",h);e=true}}}d[d.length]="}"}else return;return d.join("")}return"null"}};return{copyright:"(c)2005 JSON.org",license:"http://www.JSON.org/license.html",stringify:function(c){var d=
b[typeof c];if(d){c=d(c);if(typeof c=="string")return c}return null},parse:function(c){try{return!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(c.replace(/"(\\.|[^"\\])*"/g,""))&&eval("("+c+")")}catch(d){return false}}}})();function igR_oa(a){var b=document.createElement("DIV");b.innerHTML="<iframe onload='this.pool_locked=false'></iframe>";var c=b.getElementsByTagName("IFRAME")[0];c.style.visibility="hidden";c.style.width=(c.style.height="0px");c.style.border="0px";c.style.position="absolute";c.pool_locked=a;this.g[this.g.length]=c;b.removeChild(c);b=null;return c}function igR_pa(a){if(!a.match(/^http[s]?:\/\//))return;var b=this;window.setTimeout(function(){var c=null;for(var d=b.g.length-1;d>=0;d--){var e=b.g[d];
if(e&&!e.pool_locked){e.parentNode.removeChild(e);if(window.ActiveXObject){e=null;b.g[d]=null;b.g.splice(d,1)}else{e.pool_locked=true;c=e;break}}}c=c?c:b.pa(true);c.src=a;document.body.appendChild(c)},0)}function igR_qa(){for(var a=0;a<this.g.length;a++){this.g[a].onload=null;this.g[a]=null}this.g.length=0;this.g=[]}function igR_ra(){this.g=[];this.pa=igR_oa;this.iframe=igR_pa;this.clear=igR_qa}function igR_sa(a,b){_IFPC.w[a]=b}function igR_ta(a){delete _IFPC.w[a]}function igR_ua(a,b,c,d,e,f,g){c=
c.slice(0);c.unshift(_IFPC.Ea(e));c.unshift(f);c.unshift(b);c.unshift(a);var i=4095-d.length;i=parseInt(i/3,10);if(typeof g=="undefined")g=true;var h=_IFPC.ba(c),k=parseInt(h.length/i,10);if(h.length%i>0)k+=1;for(var j=0;j<k;j++){var p=h.substr(j*i,i),m=[a,_IFPC.$,k,j,p,g];_IFPC.da.iframe(d+"#"+_IFPC.ba(m))}_IFPC.$++}function igR_va(){_IFPC.w={};_IFPC.p={};_IFPC.da.clear()}function igR_6(a){var b=_IFPC.K(a)[0],c=null;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(d){}if(!c)c=window.parent.parent;var e=function(){c._IFPC.handleRequest(a)};if(window.ActiveXObject)e();else c.setTimeout(e,0)}function igR_wa(a){var a=_IFPC.K(a),b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),g=a.shift(),i=b+"_"+c;if(!_IFPC.n[i])_IFPC.n[i]=[];_IFPC.n[i].push([e,f]);if(_IFPC.n[i].length==d){_IFPC.n[i].sort(function(o,s){return parseInt(o[0],10)-parseInt(s[0],
10)});f="";for(var h=0;h<d;h++)f+=_IFPC.n[i][h][1];_IFPC.n[i]=null;var k=_IFPC.K(f),b=k.shift(),j=k.shift(),p=k.shift(),m=k.shift(),n=_IFPC.wa(j);if(n){var l=n.apply(null,k);if(_IFPC.za(m)){l.unshift(m);_IFPC.call(b,_IFPC.V,l,p,null,"")}}else if(g)throw new Error("Service "+j+" not registered.");}}function igR_xa(a){if(_IFPC.w.hasOwnProperty(a))return _IFPC.w[a];else return null}function igR_ya(a){var b="";if(a&&typeof a=="function"){b=_IFPC.va();_IFPC.p[b]=a}return b}function igR_za(a){if(_IFPC.p.hasOwnProperty(a))_IFPC.p[a]=
null}function igR_Aa(a){if(a&&_IFPC.p.hasOwnProperty(a))return _IFPC.p[a];return null}function igR_Ba(){return _IFPC.U+_IFPC.ma++}function igR_Ca(a){return(a+"").indexOf(_IFPC.U)==0}function igR_Da(a){var b=a.split("&");for(var c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);try{d=igR_5.parse(d)}catch(e){}b[c]=d}return b}function igR_Ea(a){var b=[];for(var c=0;c<a.length;c++){var d=igR_5.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function igR_Fa(a){var b=_IFPC.ta(a);if(b){var c=
[];for(var d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(null,c);_IFPC.Ia(a)}else throw new Error("Invalid callbackId");}var _IFPC={registerService:igR_sa,unregisterService:igR_ta,call:igR_ua,clear:igR_va,relayRequest:igR_6,processRequest:igR_6,handleRequest:igR_wa,U:"cbid",V:"ifpc_callback",da:new igR_ra,n:{},w:{},p:{},ma:0,$:0,wa:igR_xa,Ea:igR_ya,Ia:igR_za,ta:igR_Aa,va:igR_Ba,za:igR_Ca,K:igR_Da,ba:igR_Ea,na:igR_Fa};_IFPC.registerService(_IFPC.V,_IFPC.na);var igR_7={obj:null,init:function(a,b){a.onmousedown=igR_7.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.ga);a.onmousedown=null;a.obj=null;b.onDragStart=null;b.onDragEnd=null;b.onDrag=null},start:function(a){var b=igR_7.obj=this.obj;a=igR_7.fixE(a);if(a.which!=1)return true;b.onDragStart(a);var c=a.clientY;
if(!igR_.ea)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.ga=window.setInterval(igR_Ga(b,igR_Ha()),10);document.onmouseup=igR_7.end;document.onmousemove=igR_7.drag;return false},drag:function(a){a=igR_7.fixE(a);if(a.which==0)return igR_7.end();var b=igR_7.obj,c=a.clientY;if(!igR_.ea)c+=document.body.scrollTop;var d=a.clientX;if(b.lastMouseX==d&&b.lastMouseY==c)return false;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 false},end:function(a){a=igR_7.fixE(a);document.onmousemove=null;document.onmouseup=null;window.clearInterval(igR_7.obj.ga);var b=igR_7.obj.onDragEnd();igR_7.obj=null;return b},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_Ia(a,b,c){if(!a)return[];var d=b=="*"&&a.all?a.all:a.getElementsByTagName(b),e=[];c=c.replace(/\-/g,"\\-");var f=new RegExp("(^|\\s)"+c+"(\\s|$)"),g;for(var i=0;i<d.length;i++){g=d[i];if(f.test(g.className))e.push(g)}return e}var _IG_initDrag=function(a,b){igR_.u=a;igR_.v=b;igR_.q=igR_Ia(igR_.u,"div","yui-u");if(_old_html){igR_.fa=igR_.u.tBodies[0].rows[0];igR_.q=igR_.fa.cells}igR_.i=[];var c=0;for(var d=0;d<igR_.q.length;d++){var e=igR_.q[d];if(e.className.indexOf("ig_dnd_fixed_col")!=
-1||e.style.display=="none")continue;for(var f=0;f<e.childNodes.length;f++){var g=e.childNodes[f];if(g.tagName=="DIV"){igR_.i[c]=g.className!="dm"?new igR_Ja(g):new igR_Ka(g);c++}}}_IG_AddEventHandler("unload",igR_La)};function igR_La(){if(igR_.i)for(var a=0;a<igR_.i.length;a++){igR_.i[a].z();igR_.i[a]=null}igR_.i=null;igR_.q=null;if(_old_html)igR_.fa=null;igR_.u=null}var igR_={};igR_.T=navigator.userAgent;igR_.O=igR_.T.indexOf("Gecko")!=-1;igR_.P=igR_.T.indexOf("Opera")!=-1;igR_.ea=igR_.T.indexOf("Safari")!=
-1;igR_.X="IG_pageDivMaskId";igR_.W="IG_moduleDivMaskId";igR_.ra=function(){igR_.u.style.display="none"};igR_.sa=function(){igR_.u.style.display=""};igR_.o=null;igR_.r=function(){if(!igR_.o){igR_.o=document.createElement("DIV");igR_.o.className="modbox";igR_.o.backgroundColor="";igR_.o.style.border="2px dashed #aaa";igR_.o.innerHTML="&nbsp;"}return igR_.o};igR_.k=function(a,b){return function(){return a[b].apply(a,arguments)}};igR_.la=function(){if(igR_.v){var a=igR_.v.getElementsByTagName("LI");
if(_old_html)a=igR_.v.tBodies[0].rows[0].cells;for(var b=0;b<a.length;b++){var c=a[b];if(c.className.indexOf("unselectedtab")<0)continue;if(c.style.display=="none")continue;c.isDraggableTo=true;c.pagePosLeft=igR_.h(c,true);c.pagePosRight=c.pagePosLeft+c.offsetWidth;c.pagePosTop=igR_.h(c,false);c.pagePosBottom=c.pagePosTop+c.offsetHeight}}};igR_.ka=function(a){for(var b=0;b<igR_.i.length;b++){var c=igR_.i[b];c.a.pagePosLeft=igR_.h(c.a,true);c.a.pagePosTop=igR_.h(c.a,false)}var d=a.a.nextSibling;while(d){d.pagePosTop-=
a.a.offsetHeight;d=d.nextSibling}};igR_.h=function(a,b){var c=0,d=0;if(a&&a.offsetParent&&a.offsetParent.id)if(!b){var e=a.offsetParent.getElementsByTagName(a.tagName);if(e&&e[0])d=e[0].offsetTop}while(a){c+=a["offset"+(b?"Left":"Top")];a=a.offsetParent}return c-d};igR_.Y=function(a){igR_.R();var b=document.createElement("DIV");b.id=igR_.X;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/ig/images/cleardot.gif)";b.style.zIndex="9999";document.body.appendChild(b);if(a.xa){b=b.cloneNode(true);b.id=igR_.W;b.style.height=a.a.offsetHeight-a.f.offsetHeight+"px";b.style.top=a.f.offsetHeight+"px";a.a.appendChild(b)}};igR_.R=function(){var a=[igR_.W,igR_.X];for(var b=0;b<a.length;b++){var c=_gel(a[b]);if(c){c.parentNode.removeChild(c);c=null}}};igR_.Fa=function(){var a="";for(var b=0;b<igR_.q.length;b++){var c=igR_.q[b];for(var 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_Ka(a){this.z=igR_Ma;this.a=a;this.a.innerHTML="<br />"}function igR_Ma(){this.a=null}function igR_Ja(a){this._urlMouseUp=igR_Na;this._urlMouseDown=igR_Oa;this._urlClick=igR_Pa;this._dragStart=igR_Qa;this._drag=igR_Ra;this._dragEnd=igR_Sa;this.L=igR_8;this.D=igR_Ta;this.z=igR_9;this.j=false;this.a=a;this.f=_gel(a.id+"_h");this.d=_gel(a.id+"_url");this.xa=this.a.getElementsByTagName("IFRAME").length>
0;this.a.DND_Module=this;if(this.f){this.f.style.cursor="move";igR_7.init(this.f,this.a);this.a.onDragStart=igR_.k(this,"_dragStart");this.a.onDrag=igR_.k(this,"_drag");this.a.onDragEnd=igR_.k(this,"_dragEnd");if(this.d){this.d.style.cursor="pointer";if(igR_.O){this.d.onmousedown=igR_.k(this,"_urlMouseDown");this.d.onclick=igR_.k(this,"_urlClick")}else this.d.onmouseup=igR_.k(this,"_urlMouseUp")}}}function igR_9(){if(this.f){if(this.d){this.d.onclick=null;this.d.onmouseup=null;this.d=null}igR_7.uninit(this.f,
this.a);this.a.onDragStart=null;this.a.onDrag=null;this.a.onDragEnd=null;this.f=null}this.a=null}function igR_Na(a){a=igR_7.fixE(a);if(this.j||!this.d||!this.d.href||a.which!=1)return true;this.D("titleclick");if(this.d.target||a.shiftKey)window.open(this.d.href,this.d.target);else document.location=this.d.href;return false}function igR_Oa(a){a=igR_7.fixE(a);a.stopPropagation();return true}function igR_Pa(){if(!this.j&&this.d&&this.d.href){this.D("titleclick");return true}return false}function igR_Qa(){igR_.ka(this);
igR_.la();this.origNextSibling=this.a.nextSibling;var a=igR_.r(),b=this.a.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.a.offsetWidth,d=igR_.h(this.a,true),e=igR_.h(this.a,false);this.a.style.width=c+"px";a.style.height=b+"px";this.a.parentNode.insertBefore(a,this.a.nextSibling);this.a.style.position="absolute";this.a.style.zIndex=10000;this.a.style.left=d+"px";this.a.style.top=e+"px";igR_.Y(this);this.j=false;return false}function igR_$(){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_Ra(a,b){if(!this.j){this.a.style.filter="alpha(opacity=50)";this.a.style.opacity=0.5;this.j=true;this.D("dragstart")}var c=
null,d=100000000;for(var e=0;e<igR_.i.length;e++){var f=igR_.i[e],g=a;if(document.body.dir=="rtl"&&f.a.offsetWidth==1)g+=this.a.offsetWidth;var i=Math.sqrt(Math.pow(g-f.a.pagePosLeft,2)+Math.pow(b-f.a.pagePosTop,2));if(f==this)continue;if(isNaN(i))continue;if(i<d){d=i;c=f}}this.m=null;if(igR_.v){var h=igR_.v.getElementsByTagName("LI");if(_old_html)h=igR_.v.tBodies[0].rows[0].cells;for(var e=0;e<h.length;e++){var f=h[e];if(!f.isDraggableTo)continue;var k=igR_$();if(this.a.lastMouseX>=f.pagePosLeft&&
this.a.lastMouseX<=f.pagePosRight&&this.a.lastMouseY+k[1]>=f.pagePosTop&&this.a.lastMouseY+k[1]<=f.pagePosBottom){this.m=f;var j=igR_.r();if(j.parentNode!=null)j.parentNode.removeChild(j);break}}for(var e=0;e<h.length;e++){var f=h[e];if(f.id.indexOf("view")>=0)if(f==this.m){if(f.className.indexOf(" tab_hover")<0)f.className+=" tab_hover"}else f.className=f.className.replace(/ tab_hover/g,"")}}var j=igR_.r();if(this.m==null&&c!=null&&j.nextSibling!=c.a){c.a.parentNode.insertBefore(j,c.a);if(igR_.P){document.body.style.display=
"none";document.body.style.display=""}}}function igR_Sa(){igR_.R();if(this.L())igR_.Fa();if(this.m){var a=this.m.id.match(/tab(\d+)_/)[1],b=this.a.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.a.style.display="none";this.m.className=this.m.className.replace(/ tab_hover/g,"")}_hideNewUserTip();if(this.j)this.D("dragend");return true}function _hideNewUserTip(){var a=_gel("new_user_tip");if(a)a.style.display="none";var b=_gel("new_user_save");if(b)b.style.display="block"}function igR_8(){var a=false;
this.a.style.position="";this.a.style.width="";this.a.style.zIndex="";this.a.style.filter="";this.a.style.opacity="";window.scrollBy(0,0);var b=igR_.r();if(b.parentNode!=null){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.a,b.nextSibling);a=true}b.parentNode.removeChild(b)}if(igR_.P){document.body.style.display="none";document.body.style.display=""}return a}function igR_Ta(a){switch(a){case "titleclick":_IG_TriggerModuleEvent(this.a.id,a,this.d.href);_IG_TriggerEvent("module"+
a,this.a.id,this.d.href);break;case "dragstart":case "dragend":_IG_TriggerDelayedModuleEvent(this.a.id,a);_IG_TriggerDelayedEvent("module"+a,this.a.id);break}}function igR_Ga(a,b){return function(){var c=igR_Ua(),d=igR_$(),e=d[1],f=4,g=0.05*c,i=e,h=a.offsetTop;if(a.lastMouseY<=g){h=a.offsetTop-f;i=e-f}else if(a.lastMouseY>=c-g){h=Math.min(b-a.offsetHeight,a.offsetTop+f);i=Math.min(b-c,e+f)}var k=i-e;if(k!=0){window.scrollBy(0,k);a.style.top=h+"px"}}}function igR_Ua(){var a;if(window.innerHeight)a=
window.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)a=document.documentElement.clientHeight;else a=document.body.offsetHeight;if(a<document.body.clientHeight)return a;return document.body.clientHeight}function igR_Ha(){if(document.body.scrollHeight>document.documentElement.clientHeight)return document.body.scrollHeight;else return document.documentElement.clientHeight}_IG_AddCustomEventHandler("initdrag",function(a,b){_IG_initDrag(a,b)});function igR_Va(a){var b=_gel("mobile_screen");b.insertBefore(a,b.firstChild);a.style.display="block";var c=igR_Wa(a.id),d=_gel("m_"+c);_gel("added_m_"+c).style.display="";_gel("add_m_"+c).style.display="none";d.style.filter="alpha(opacity=30)";d.style.opacity=0.3;if(!igR_.O)d.style.width="100%"}function _addToMobileDisplayAndLog(a){igR_Va(a);igR_.S("add")}function _delFromMobileAndLog(a,b,c){igR_Xa(a,b,c);igR_.S("del")}function igR_Xa(a){var b=_gel("mobile_m_"+a),c=_gel("m_"+a);b.style.display="none";
if(c){c.style.filter="alpha(opacity=100)";c.style.opacity=1;var d=_gel("add_"+c.id),e=_gel("added_"+c.id);e.style.display="none";d.style.display=""}}function igR_Wa(a){if(a.indexOf("mobile")==0)return a.substring("mobile_m_".length);return a.substring("m_".length)}function igR_Ya(){for(var a=0;a<igR_.l.length;a++){igR_.l[a].z();igR_.l[a]=null}igR_.l=null}igR_.ja=function(a){for(var b=0;b<igR_.l.length;b++){var c=igR_.l[b];c.a.pagePosLeft=igR_.h(c.a,true);c.a.pagePosTop=igR_.h(c.a,false)}var d=a.a.nextSibling;
while(d){d.pagePosTop-=a.a.offsetHeight;d=d.nextSibling}};igR_.S=function(a){var b="",c=_gel("mobile_screen");for(var d=0;d<c.childNodes.length;d++){var e=c.childNodes[d];if(e.style.display!="none"){b+=b!=""?":":"";b+=e.id.substring(9)}}_xsetp("mobile_mp="+_esc(b)+"&action="+_esc(a))};function igR_Za(a){this._dragStart=igR__a;this._drag=igR_0a;this._dragEnd=igR_1a;this.z=igR_9;this.L=igR_8;this.j=false;this.a=a;this.a.style.cursor="move";this.f=_gel(a.id+"_h");this.Z=_gel(a.id+"_b");if(this.f)igR_7.init(this.f,
this.a);if(this.Z)igR_7.init(this.Z,this.a);this.a.onDragStart=igR_.k(this,"_dragStart");this.a.onDrag=igR_.k(this,"_drag");this.a.onDragEnd=igR_.k(this,"_dragEnd")}function igR__a(){igR_.ja(this);this.origNextSibling=this.a.nextSibling;var a=igR_.r(),b=this.a.offsetHeight;if(igR_.O)b-=parseInt(a.style.borderTopWidth,10)*2;a.className="";var c=this.a.offsetWidth,d=igR_.h(this.a,true),e=igR_.h(this.a,false);igR_.ra();this.a.style.width=c+"px";a.style.height=b+"px";this.a.parentNode.insertBefore(a,
this.a.nextSibling);this.a.style.position="absolute";this.a.style.zIndex=100;this.a.style.left=d+"px";this.a.style.top=e+"px";igR_.sa();igR_.Y(this);this.j=false;return false}function igR_0a(a,b){if(!this.j){this.a.style.filter="alpha(opacity=70)";this.a.style.opacity=0.7;this.j=true}var c=null,d=100000000;for(var e=0;e<igR_.l.length;e++){var f=igR_.l[e],g=Math.sqrt(Math.pow(a-f.a.pagePosLeft,2)+Math.pow(b-f.a.pagePosTop,2));if(f==this)continue;if(isNaN(g))continue;if(g<d){d=g;c=f}}var i=igR_.r();
i.className="";if(c!=null&&i.nextSibling!=c.a){c.a.parentNode.insertBefore(i,c.a);if(igR_.P){document.body.style.display="none";document.body.style.display=""}}}function igR_1a(){igR_.R();if(this.L())igR_.S("move");return true}var _IG_initMobileDrag=function(a){igR_.u=a;igR_.l=[];var b=0,c=_gel("mobile_screen").childNodes;for(var d=0;d<c.length;d++){var e=c[d];if(e.tagName=="DIV"){if(igR_2a(e))igR_3a(e);igR_.l[b]=new igR_Za(e);b++}}_IG_AddEventHandler("unload",igR_Ya)};function igR_2a(a){var b=_gel(a.id+
"_h");if(b){var c=_gel(a.id+"_h").innerHTML;if(c.indexOf("Google Reader")>=0)return true}}function igR_3a(a){var b=_gel(a.id+"_b");for(var c=0;c<b.childNodes.length;c++){var d=b.childNodes[c];if(d.tagName=="TABLE")d.className="mmc"}};var _IG_Json=igR_5;var _IFPC_SUPPORT={iframeId:"remote_iframe_"+_args().mid,relayUrl:_args().parent+"/ig/ifpc_relay",ifpcTok:_args().ifpctok};
