function ig_a(a,b){var c=function(){};c.prototype=a.prototype;b.prototype=new c}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 ig_aa=function(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)},_unesc=ig_aa;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 ig_ba=0;function _uid(){return"obj"+ig_ba++}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=ig_b();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 ig_b(){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,ig_c=null,ig_d=null;function ig_e(a,b,c){var d=document.createElement("input");d.type="hidden";d.name=b;d.value=c;a.appendChild(d)}function ig_f(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=ig_f(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 ig_g(){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+ig_g()+b;a.method="get";ig_e(a,"url",document.location);ig_e(a,"et",_et);ig_e(a,"brand",_brand);ig_e(a,"bmod",_bmod);ig_e(a,"source",_source);ig_e(a,"pid",_pid);ig_e(a,"ap",_authpath);ig_e(a,"prefid",_prefid);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_e(a,"url",document.location);ig_e(a,"et",_et);ig_e(a,"brand",_brand);ig_e(a,"bmod",_bmod);ig_e(a,"source",_source);ig_e(a,"pid",_pid);ig_e(a,"ap",_authpath);ig_e(a,"prefid",_prefid);ig_e(a,"m_"+b+"_t",
c);var d=_args(),e=d.host,f=d.hl;if(typeof e!="undefined")ig_e(a,"host",e);if(typeof f!="undefined")ig_e(a,"hl",f);return true}var ig_h=[],ig_i=false;function ig_j(){if(ig_h.length==0){ig_i=false;return}ig_i=true;var a=_setp_url+ig_g()+"et="+_et+"&pid="+_pid+"&ap="+_authpath+"&brand="+_brand+"&bmod="+_bmod+"&source="+_source+"&prefid="+_prefid,b=ig_h.shift(),c=a.length+b.length>=1800;if(c)_sendx(a,ig_k,false,b);else{a+="&"+b;_sendx(a,ig_k,false,null)}}function ig_k(){_IG_TriggerDelayedEvent("xsetpdone");
ig_j()}function _xsetp(a){ig_h.push(a);if(!ig_i)ig_j()}function _dlsetp(a,b){if(!b)b=_esc(document.location);document.location=_setp_url+ig_g()+"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 ig_ca(a){var b=_gelstn("*");for(var c=0;c<b.length;c++)for(var d=0;d<a.length;d++)if(b[c].className==a[d][0])b[c].style[a[d][1]]=
a[d][2]}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,h){if(g)for(var i=0;i<g.length;i+=2)f.prototype[g[i]]=g[i+1];if(h)for(var i=0;i<h.length;i+=2)f[h[i]]=h[i+1];b(d,[e,f])}b("",["_exportSymbols",b]);b("",["_exportClass",c]);b("google.gadgets.Util",["args",_args])})();function _preloadImages(a,b){var c=a.length,d=[];for(var e=0;e<a.length;e++){var f=new Image;d.push(f);f.src=a[e];if(f.complete){c--;ig_l(c,b,d)}else f.onload=function(){c--;ig_l(c,b,d)}}}function ig_l(a,b,c){if(a==0){if(b)b();for(var d=0;d<c.length;d++){c[d].onload=null;c[d]=null}}}function _edit(a,b){var c=ig_m[a];if(c)c();else _gel("m_"+a).className="modbox_e";if(b)b();ig_n("edit","m_"+a);return false}var ig_m={};function _IG_AddCustomEditHandler(a,b){ig_m[a]=b}function _cedit(a){_gel("m_"+a).className=
"modbox";var b=_gel("m_"+a+"_form");b.reset();ig_n("canceledit","m_"+a);return false}function _confirmDel(a,b,c,d){var e=_striptags(_gel("m_"+a+"_title").innerHTML);d=d.replace(/MODULE_TITLE/,'"'+e+'"');if(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");if(b)return _striptags(b.innerHTML);else return""}function _get_all_modules(){var a=ig_da(),b=[],c=/^m_[0-9]+$/;for(var d=
0;d<a.length;d++){b[d]=[];var e=b[d];for(var f=0;f<a[d].childNodes.length-1;f++){var g=a[d].childNodes[f];if(g.tagName=="DIV"&&g.style.display!="none"&&g.id&&c.test(g.id))e.push(g)}}return b}function ig_da(){var a=_gelsbyregex("DIV",/^c_[0-9]+$/),b=[];for(var c=0;c<a.length;c++)if(a[c].style.display!="none")b.push(a[c]);return b}var ig_o={},ig_p={};function _place(a,b){var c=ig_p[a];if(c){c(b);return}if(!ig_o[a])ig_o[a]=[];ig_o[a].push(b)}function _register_place(a,b){ig_p[a]=b;var c=ig_o[a];if(c){for(var d=
0;d<c.length;d++)b(c[d]);ig_o[a]=null}}function ig_ea(){var a="";for(var b in ig_o){var c=ig_o[b];if(!c)continue;for(var d=0;d<c.length;d++)a+="&m_"+c[d]+"_enab=0"}ig_o={};if(a)_xsetp("noundo"+a)}setTimeout(ig_ea,300000);function _del(a,b,c){_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";var e=_gel("undo_msg");if(e)e.style.display="none";e=_gel("undo_restore_msg");if(e)e.style.display=
"none"}var f=_gel("m_"+a);if(f)f.style.display="none";ig_c=a;ig_d=c;var g=_gel(c);if(g)g.style.display="";_mod=true;ig_n("delete","m_"+a);return false}function _undel(){if(ig_c==null)return;var a="m_"+ig_c,b=_gel(a);if(b){b.style.display="block";_xsetp("undel")}var c=_gel("undel_msg");if(c)c.style.display="none";if(ig_d!=null){var d=_gel(ig_d);if(d)d.style.display="none"}ig_c=null;ig_d=null;ig_n("undelete",a)}function _zm(a,b,c){var d=_gel("m_"+a+"_b");if(d){var e=d.style.display!="none";d.style.display=
e?"none":"block";var f=_gel("m_"+a+"_zippy");if(f)if(e)f.className=f.className.replace(/minbox/,"maxbox");else f.className=f.className.replace(/maxbox/,"minbox");var g=_gel("m_"+a+"_maximize");if(g)g.style.display=e?"none":"";var h=c?"mmz":"mz";_xsetp(h+"="+a+":"+(e?"1":"0")+"&t="+b);ig_n(e?"zip":"unzip",a)}return false}var ig_fa="https://www.google.com/accounts";function _enableGS(a,b){a.action=ig_fa+"/CheckCookie";a.method="get";ig_e(a,"service",b);ig_e(a,"continue",document.location);ig_e(a,"skipvpage",
true);return true}function _reload(a){var b=a-(new Date).getTime();if(b>1000){setTimeout("_reload("+a+")",b);return}document.cookie="IGREL=1";document.location.reload()}function ig_n(a,b){switch(a){case "delete":case "undelete":case "edit":case "canceledit":case "zip":case "unzip":case "mazimize":case "unmaximize":_IG_TriggerDelayedModuleEvent(b,a);_IG_TriggerDelayedEvent("module"+a,b);break}}function ig_ga(a){_xsetp("pnlo="+(a?1:0))}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=false,ig_q=false,_table=null,
_tabs=null;function _upc(){var a=[];if(!_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_ca(a);if(_pl)if(_cbp||_uli)if(!ig_q&&!_mpnlo){_IG_TriggerCustomEvent("initdrag",_table,_tabs);ig_q=true}}var ig_r=0;function _tp(a){if(ig_r>0)clearInterval(ig_r);
_pnlo=a;_mod=true;ig_ga(a);_upc();var b=_gel("cpnl"),c=_gel("cpnlc"),d=_gel("nhdr"),e=_gel("ehdr"),f=b.offsetWidth,g,h;if(a){g=c.offsetWidth;h="visible";e.style.display="";d.style.display="none"}else{g=1;h="hidden";e.style.display="none";d.style.display=""}b.style.overflow="hidden";var i=100,j=10,k=0;ig_r=setInterval(function(){var l=k/j,n=f+(g-f)*l;b.style.width=n+"px";k++;if(l>=1){clearInterval(ig_r);ig_r=0;b.style.width=g+"px";b.style.overflow=h}},i/j);return false}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 false}function _add_m(a,b){_dlsetp(a,b)}function _add_m_confirm(a,b,c){if(confirm(b))_add_m(a,c)}function _add_f(a){_add_m("n_25="+_esc("url="+_esc(a)))}var ig_s=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/;function _find_feed(a){var b="acd";if(!a){var c=_gelstn("div");if(c)for(var d=0;d<c.length;d++)if(c[d].id&&c[d].id.indexOf("ps")==0&&c[d].className==
"mlist_open")_ts("ps",c[d].id.substring(2));if(_gel("add_custom"))a=_gel("add_custom").value}if(!a||a==""){b="advdsrch";a=_gel("add_advd").value}var e=_gel("ffresults");if(e)e.style.display="none";var f=_gel("ffloading");if(f)f.style.display="block";_sendx("/ig/feeds"+ig_g()+"q="+_esc(a)+"&page="+_esc(b),ig_ha,false,null);return false}function ig_ha(a){var b=_gel("ffloading");if(b)b.style.display="none";var c=_gel("ffresults");if(c)c.style.display="block";if(a.length>0&&a.charAt(0)=="<")c.innerHTML=
a;else if(a.match(ig_s)!=null)eval(a);else eval(a)}function _add_remote_module(a,b){_sendx("/ig/feeds"+ig_g()+"module=1&q="+_esc(a),function(c){b();ig_ia(c)},false,null);return false}function ig_ia(a){var b=/^alert\(\"[^"]+\"\)$/;if(a.match(ig_s)!=null||a.match(b)!=null)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.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.refresh()};_ListApp.prototype.sort=function(a,b){return a.r(b)};_ListApp.prototype.za=function(){var a="";if(_old_html)a="<table cellspacing=0 cellpadding=0 border=0>";var b=
"",c=this.items;for(var d=0;d<c.length;d++)if(!c[d]){this.items.splice(d,1);d--}else{if(_old_html)a+="<tr><td nowrap><font size=-1>"+c[d].B()+'</font></td><td><a href="#" onclick="'+this.app_name+"._del("+d+')"><img src="/ig/images/x.gif" width=16 height=13 border=0></a></td></tr>';else a+='<a href="#" onclick="'+this.app_name+"._del("+d+')" class="delbox"style="float:left;margin:1px 3px 0px 0px;"></a>'+c[d].B()+"<br>";if(parseInt(c[d]._uid,10)<0)b+=c[d].k(d)}var e=this.deleted,f="";for(var d=0;d<
e.length;d++)if(parseInt(e[d]._uid,10)>=0)f+=","+e[d]._uid;a+=this.W(b,f);return a};_ListApp.prototype.W=function(a,b){var c="<input type=hidden name=m_"+this.module_id+'_add value="'+a+'"><input type=hidden name=m_'+this.module_id+'_del value="'+b+'">';if(_old_html)c="</table><input type=hidden name=m_"+this.module_id+'_add value="'+a+'"><input type=hidden name=m_'+this.module_id+'_del value="'+b+'">';return c};_ListApp.prototype.refresh=function(){this.items.sort(this.sort);this.display_area.innerHTML=
"<font size=-1>"+this.za()+"</font>"};_ListApp.prototype.add=function(a,b){if(!a)a=_trim(this.name_input_field.value);if(!b)b=_trim(this.value_input_field.value);var c=new this.item_constructor(a,b,-1);if(!c.v())return;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 h in g)this[h]=g[h];if(typeof c=="string")this.ya(c);this.prefidx=a;this.prefname=b;this.app_name="m_"+e+"_"+a+"_App";this.display_area=_gel("m_"+e+"_"+a+"_disp");this.value_input_field=_gel("m_"+e+"_"+a+"_val");this.name_input_field=this.value_input_field;this.default_name="";this.default_value="";this.W=_PrefListApp_get_tail}function _PrefListApp_get_tail(){var a="</table>";_gel("m_"+this.module_id+"_"+this.prefidx).value=this.Da();
return a}_PrefListApp.prototype.ya=function(a){if(a.length==0)return;var b=_IG_Prefs._strToArray(a),c=[];for(var 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.Da=function(){var a=[];for(var 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.v=function(){return this._n!=""};_ListItem.prototype.r=
function(){return 0};_ListItem.prototype.B=function(){return _hesc(this._n)};_ListItem.prototype.k=function(){return"&"+_esc(this._n)+"="+_esc(this._v)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_a(_ListItem,_BMListItem);_BMListItem.prototype.v=function(){return _ListItem.prototype.v.call(this)&&this._n!="http://"};_BMListItem.prototype.H=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.B=function(){return'<a href="'+this._n+'" target=bmwindow>'+_hesc(this.H())+"</a>"};_BMListItem.prototype.k=function(a){return"&b"+a+"="+_esc(this._n)+"&t"+a+"="+_esc(this._v)};_BMListItem.prototype.r=function(a){var b=_uc(this.H()),c=_uc(a.H());if(b==c)return 0;return b<c?-1:1};function _WthrListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_a(_ListItem,_WthrListItem);_WthrListItem.prototype.k=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_a(_ListItem,_FListItem);_FListItem.prototype.k=function(){return"&"+_esc(this._n)};_FListItem.prototype.r=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};var ig_t={T:0,Ea:1800,da:null,ca:null,oa:true,I:null,K:function(){ig_t.T=(new Date).getTime()+ig_t.Ea*1000},jb:function(){if((new Date).getTime()>ig_t.T)_testConnection(function(){_reload(ig_t.T)},ig_t.K)},fa:function(a){ig_t.K();
if(ig_t.da)ig_t.da(a)},ea:function(a){ig_t.K();if(ig_t.ca)ig_t.ca(a)}};function _IG_disable_refresh_cycle(){ig_t.oa=false;if(ig_t.I!=null){clearInterval(ig_t.I);ig_t.I=null}}function _IG_start_refresh_cycle(a,b){if(ig_t.oa){ig_t.da=document.onmousedown;ig_t.ca=document.onkeyup;ig_t.Ea=a;if(document.addEventListener){document.addEventListener("keyup",ig_t.ea,false);document.addEventListener("mousedown",ig_t.fa,false)}else if(document.attachEvent){document.attachEvent("onkeyup",ig_t.ea);document.attachEvent("onmousedown",
ig_t.fa)}else{document.onkeyup=ig_t.ea;document.onmousedown=ig_t.fa}ig_t.K();ig_t.I=setInterval(ig_t.jb,b*1000)}}function _testConnection(a,b,c){var d=ig_b(),e="/ig/nop?t="+(new Date).getTime();if(!c)c=3500;d.open("GET",e,true);d.onreadystatechange=function(){if(d.readyState==4&&a)if(200<=d.status&&d.status<300||d.status==1223){b=null;a()}};try{d.send(null)}catch(f){}var g=function(){if(b){a=null;b()}};setTimeout(g,c)}function _mailWindow(a){window.open(a,"mailwindow","width=400,height=340,left=50,top=50,scrollbars=no")}
function ig_u(a){if(!a)a=document.body;return a.scrollHeight>a.offsetHeight?a.scrollHeight:a.offsetHeight}function ig_ja(){if(self.pageYOffset)return self.pageYOffset;else if(document.documentElement&&document.documentElement.scrollTop)return document.documentElement.scrollTop;else return document.body.scrollTop}function _setHomepage(a,b){var c=_gel("hp_url").innerHTML;a.style.behavior="url(#default#homepage)";a.setHomePage(c);_sendx("/ig/ui?action=sethomepage&url="+_esc(c)+"&type="+b+"&confirmed="+
(ig_v()?1:0),null,false,null)}function ig_v(){var a=_gel("shp"),b=_gel("hp_url").innerHTML;return a.isHomePage(b)}function _maybeShowSetHPMsg(){if(!ig_v()){_gel("set_homepage_msg").style.display="inline";if(_gel("new_user_demo")!=null)_gel("new_user_demo").style.display="none"}}function _hideSetHPMsg(){if(_gel("set_homepage_msg")!=null)_gel("set_homepage_msg").style.display="none";if(_gel("new_user_demo")!=null)_gel("new_user_demo").style.display="block"}function _maybeShowSetHPFooter(){if(!ig_v())_gel("set_homepage_footer").style.display=
"block"};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};function _IG_Callback(a){var b=arguments;return function(){var c=[];for(var d=0;d<arguments.length;d++)c[c.length]=arguments[d];for(var d=1;d<b.length;d++)c[c.length]=b[d];a.apply(null,c)}};var ig_ka={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},ig_la={dragstart:1,dragend:1,titleclick:1,edit:1,canceledit:1,"delete":1,undelete:1,zip:1,unzip:1,maximize:1,unmaximize:1};function ig_ma(a){var b="ig_event_hashcode_";if(a.hasOwnProperty&&a.hasOwnProperty(b))return a[b];if(!a[b])a[b]=++ig_w.cb;return a[b]}function ig_na(a){return"builtin_"+
a}function ig_oa(a,b){if(a.indexOf&&a.indexOf("m_")==0)a=a.substring(2);return"builtin_m"+a+"_"+b}function ig_pa(a,b){return"builtin_"+ig_w.Za(a)+"_"+b}function ig_qa(a){return"custom_"+a}function ig_ra(){for(var a in ig_w.b){for(var b=0;b<ig_w.b[a].length;b++)ig_w.b[a][b]=null;if(a in ig_w.F){var c=ig_w.F[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);ig_w.F[a]=null}}}function ig_sa(a,b,c){for(var d=c;d<b.length;d++)a[a.length]=
b[d];return a}function ig_ta(a,b){if(a in ig_w.b)for(var c=0;c<ig_w.b[a].length;c++)if(ig_w.b[a][c]===b){ig_w.b[a][c]=null;return true}return false}function ig_ua(a){if(a in ig_w.b)for(var b=0;b<ig_w.b[a].length;b++)if(ig_w.b[a][b]){var c=[];for(var d=1;d<arguments.length;d++)c[c.length]=arguments[d];ig_w.b[a][b].apply(this,c)}}function ig_va(a,b){if(!(a in ig_w.pb))throw Error("Unsupported event type: "+a);var c=ig_w.Q(a);if(!(c in ig_w.b))ig_w.b[c]=[];ig_w.b[c][ig_w.b[c].length]=b}function ig_wa(a,
b,c){if(!(b in ig_w.qb))throw Error("Unsupported module event type: "+b);var d=ig_w.R(a,b);if(!(d in ig_w.b))ig_w.b[d]=[];ig_w.b[d][ig_w.b[d].length]=c}function ig_xa(a,b,c){var d=ig_w.qa(a,b);if(!(d in ig_w.b)){ig_w.b[d]=[];var e=function(g){if(!g)g=window.event;ig_w.L.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.");ig_w.F[d]=[a,b,e]}var f=ig_w.b[d].length;if(a===window&&
b=="unload"&&f>0){ig_w.b[d][f]=ig_w.b[d][f-1];ig_w.b[d][f-1]=c}else ig_w.b[d][f]=c}function ig_ya(a,b){var c=ig_w.P(a);if(!(c in ig_w.b))ig_w.b[c]=[];ig_w.b[c][ig_w.b[c].length]=b}function ig_za(a,b){var c=ig_w.Q(a);return ig_w.J(c,b)}function ig_Aa(a,b,c){var d=ig_w.R(a,b);return ig_w.J(d,c)}function ig_Ba(a,b,c){var d=ig_w.qa(a,b);return ig_w.J(d,c)}function ig_Ca(a,b){var c=ig_w.P(a);return ig_w.J(c,b)}function ig_Da(a){var b=ig_w.w([ig_w.Q(a)],arguments,1);ig_w.L.apply(window,b)}function ig_Ea(){var a=
ig_w.w([],arguments,0);setTimeout(function(){ig_w.triggerEvent.apply(window,a)},0)}function ig_Fa(a,b){var c=ig_w.w([ig_w.R(a,b)],arguments,2);ig_w.L.apply(window,c)}function ig_Ga(){var a=ig_w.w([],arguments,0);setTimeout(function(){ig_w.triggerModuleEvent.apply(window,a)},0)}function ig_Ha(a){var b=ig_w.w([ig_w.P(a)],arguments,1);ig_w.L.apply(window,b)}function ig_Ia(){var a=ig_w.w([],arguments,0);setTimeout(function(){ig_w.triggerCustomEvent.apply(window,a)},0)}var ig_w={cb:0,b:{},F:{},pb:ig_ka,
qb:ig_la,Za:ig_ma,Q:ig_na,R:ig_oa,qa:ig_pa,P:ig_qa,Sa:ig_ra,w:ig_sa,J:ig_ta,L:ig_ua,addEventHandler:ig_va,addModuleEventHandler:ig_wa,addDOMEventHandler:ig_xa,addCustomEventHandler:ig_ya,removeEventHandler:ig_za,removeModuleEventHandler:ig_Aa,removeDOMEventHandler:ig_Ba,removeCustomEventHandler:ig_Ca,triggerEvent:ig_Da,triggerModuleEvent:ig_Fa,triggerCustomEvent:ig_Ha,triggerDelayedEvent:ig_Ea,triggerDelayedModuleEvent:ig_Ga,triggerDelayedCustomEvent:ig_Ia},_IG_AddEventHandler=ig_w.addEventHandler,
_IG_AddModuleEventHandler=ig_w.addModuleEventHandler,_IG_AddGadgetEventHandler=ig_w.addModuleEventHandler,_IG_AddDOMEventHandler=ig_w.addDOMEventHandler,_IG_AddCustomEventHandler=ig_w.addCustomEventHandler,_IG_RemoveEventHandler=ig_w.removeEventHandler,_IG_RemoveModuleEventHandler=ig_w.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=ig_w.removeModuleEventHandler,_IG_RemoveDOMEventHandler=ig_w.removeDOMEventHandler,_IG_RemoveCustomEventHandler=ig_w.removeCustomEventHandler,_IG_TriggerEvent=ig_w.triggerEvent,
_IG_TriggerModuleEvent=ig_w.triggerModuleEvent,_IG_TriggerGadgetEvent=ig_w.triggerModuleEvent,_IG_TriggerCustomEvent=ig_w.triggerCustomEvent,_IG_TriggerDelayedEvent=ig_w.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=ig_w.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=ig_w.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=ig_w.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",ig_w.Sa);_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 _currentLayout,_layoutData,_IG_Layouts={savedModulePositions:null};_IG_Layouts._selectLayout=function(a){var b=_gel("edit_this_tab_form").edit_this_tab_selected_layout;for(var c=0;c<b.length;c++){var d=b[c].value,e=_gel("edit_this_tab_layoutimg_"+d);if(d!=a){b[c].checked=false;if(e.src.indexOf("_highlight")!=-1)e.src=e.src.substring(0,e.src.indexOf("_highlight"))+".gif"}else{b[c].checked=true;if(e.src.indexOf("_highlight")==-1)e.src=e.src.substring(0,e.src.indexOf(".gif"))+"_highlight.gif"}}};
_IG_Layouts._renderLayout=function(a){if(!_IG_Layouts.isLayoutValid(a))return false;var b=_IG_Layouts.getColumnsInOrder(),c=_layoutData[a],d=false;for(var e=0;e<b.length;e++){b[e].style.width=c.sizes[e];if(b[e].style.display!=c.display[e]){b[e].style.display=c.display[e];d=true}}if((a==_currentLayout||d)&&!_IG_Layouts.rearrangeModules(a))return false;return true};_IG_Layouts.rearrangeModules=function(a){if(!_IG_Layouts.isLayoutValid(a))return false;var b=_IG_Layouts.getColumnsInOrder(),c=_gel("lc_opt"),
d=b[_layoutData[a].visibleColumns-1];d.insertBefore(c,d.firstChild);if(_IG_Layouts.savedModulePositions!=null&&a==_currentLayout){for(var e=0;e<b.length;e++){var f=_IG_Layouts.savedModulePositions[e];for(var g=0;g<f.length;g++){var h=_gel(f[g]);if(h!=null)b[e].insertBefore(h,b[e].lastChild)}}return true}var i=[],j=[];for(var e=0;e<b.length;e++)j.push(b[e].firstChild);var k=false;do{k=false;for(var e=0;e<j.length;e++){while(j[e]!=null&&j[e].id.indexOf("m_")==-1)j[e]=j[e].nextSibling;if(j[e]!=null&&
j[e].id.indexOf("m_")!=-1){i.push(j[e].id);k=true;j[e]=j[e].nextSibling}}}while(k);var l=0;for(var g=0;g<i.length;g++){b[l].insertBefore(_gel(i[g]),b[l].lastChild);do{l++;if(l>=b.length)l=0}while(b[l].style.display=="none")}return true};_IG_Layouts._saveModulePositions=function(){var a=_IG_Layouts.getColumnsInOrder();_IG_Layouts.savedModulePositions=[];for(var b=0;b<a.length;b++){_IG_Layouts.savedModulePositions[b]=[];var c=_IG_Layouts.savedModulePositions[b];for(var d=0;d<a[b].childNodes.length-
1;d++){var e=a[b].childNodes[d];if(e.tagName=="DIV"&&e.id.indexOf("m_")!=-1)c.push(e.id)}}};_IG_Layouts._editTabSettingsSubmit=function(a){var b=_gel("edit_this_tab_form").edit_this_tab_selected_layout,c=-1;for(var d=0;d<b.length;d++)if(b[d].checked==true)c=b[d].value;var e="",f=_gel("edit_this_tab_name").value;if(_gel("tab"+a+"_view_title").innerHTML!=f&&f!=""){e+="rt_"+a+"="+_esc(f);_gel("tab"+a+"_view_title").innerHTML=_hesc(f);_gel("tab"+a+"_title").value=_hesc(f);var g=_gel("tip_tabtitle");if(g!=
null)g.innerHTML=_hesc(f)}if(c!=_currentLayout){e+=e==""?"":"&";e+="lt_"+a+"="+c;_currentLayout=c;var h=_IG_Layouts.getColumnsInOrder(),i="";for(var j=0;j<h.length;j++)for(var k=0;k<h[j].childNodes.length-1;k++){var l=h[j].childNodes[k];if(l.tagName=="DIV"&&l.id.indexOf("m_")!=-1){i+=i==""?"":":";i+=l.id.substring(2)+"_"+(j+1)}}e+="&mp="+_esc(i)}if(e!="")_xsetp(e);_IG_Layouts.savedModulePositions=null};_IG_Layouts._editTabSettingsCancel=function(){_IG_Layouts._renderLayout(_currentLayout);_IG_Layouts.savedModulePositions=
null};_IG_Layouts.getColumnsInOrder=function(){var a=4,b=[];for(var c=1;c<=a;c++){var d=_gel("c_"+c);if(d==null)break;b.push(d)}return b};_IG_Layouts.isLayoutValid=function(a){if(a<0||a>_layoutData.length-1)return false;return 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 ig_x(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 ig_y(a){var b="",c=this.V(a,b);return c!=null?c+"":b}function ig_z(a){var b=0,c=parseInt(this.V(a,b),10);return isNaN(c)?b:c}function ig_A(a){var b=this.getString(a);return b=="true"||!(!parseInt(b,10))}function ig_B(a){return _IG_Prefs._strToArray(this.V(a,""))}function ig_C(a,b){this.set(a,_IG_Prefs._arrayToStr(b))}function ig_Ja(){return parseInt(this.u(_IG_Prefs.Fa,"0"),10)}
function ig_Ka(){return parseInt(this.u(_IG_Prefs.Ga,"0"),10)}function ig_D(){return this.getString(".lang")}function ig_E(){return this.getString(".country")}function ig_La(a,b){return this.u(_IG_Prefs.f+a,b)}function ig_F(a){return this.u(_IG_Prefs.N+a,"")}var ig_Ma=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/;function ig_Na(a,b){var c=this.u(_IG_Prefs.N+a,""),d=c.match(this.gb);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 ig_G(){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.f+d];if(f&&f.value==e)continue;if(_IG_Prefs.Y)b.push("m_"+this.ba+"_up_"+d+"="+_esc(e));else b.push(d,e);if(f)f.value=e;else{f={};f.value=e;this.c[_IG_Prefs.f+d]=f}}if(b.length>0){this.lb(arguments);if(_IG_Prefs.Y)_xsetp(b.join("&"));else{if(_args().synd=="open")return;_IFPC_SetPref(b)}}}function ig_Oa(a){this.ib(a);var b=a.length%2?a[a.length-1]:true;if(b)this.kb(a)}
function ig_Pa(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.f+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 ig_Qa(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.f+e];if(f.publish){if(!(ig_x(c,e)%2==0))c.push(e,this.ua(e));if(f.group)for(var g in this.c){var h=this.c[g];g=g.substring(_IG_Prefs.f.length);if(g!=e&&h.publish&&h.group&&h.group==f.group)if(!(ig_x(c,
g)%2==0))c.push(g,this.ua(g))}}}if(typeof _IG_PubSub!="undefined"&&c.length>0){var i=new _IG_PubSub(this.ba);i.publishMultiple(c)}}function ig_Ra(a){var b=this.c[_IG_Prefs.f+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.f+a+".long"];c.lat=this.c[_IG_Prefs.f+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 ig_Sa(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 ig_Ta(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 ig_Ua(){document.write("<pre>");for(var a in this.c)document.writeln(a+" = "+this.u(a,
null));document.write("</pre>")}function ig_H(){var a=["__module_id__="+this.ba];for(var b in this.c)a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.c[b].value));return a.join("&")}function _IG_Prefs(a){this.getString=ig_y;this.getInt=ig_z;this.getBool=ig_A;this.getArray=ig_B;this.setArray=ig_C;this.getCountry=ig_E;this.getLang=ig_D;this.getMsg=ig_F;this.getMsgFormatted=ig_Na;this.set=ig_G;this.getPreloadedString=ig_H;this.dump=ig_Ua;this.Pa=ig_Sa;this.ua=ig_Ra;this.ib=ig_Pa;this.kb=ig_Qa;
this.lb=ig_Oa;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=ig_Ja;this.getModuleWidth=ig_Ka;this.c=_IG_Prefs.c[_IG_Prefs.O+a]||{};this.u=ig_Ta;this.V=ig_La;this.ba=a;this.gb=ig_Ma}_IG_Prefs.Fa="h";_IG_Prefs.Ga="w";_IG_Prefs.O="m_";_IG_Prefs.f="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.N="msg_";_IG_Prefs._parseURL=function(a){_IG_Prefs.Y=false;var b={},c=ig_f();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 h=false;for(var i in _IG_Prefs.PREFIXES_TO_FIELDS)if(f.indexOf(i)==0){h=true;f=f.substring(i.length);f=_IG_Prefs.f+f;b[f]=b[f]?b[f]:{};if(i==_IG_Prefs.USER_PREF_PREFIX_PUBLISH||
i==_IG_Prefs.USER_PREF_PREFIX_LISTEN)if(g=="true")g=true;else g=false;b[f][_IG_Prefs.PREFIXES_TO_FIELDS[i]]=g;break}if(!h)if(f.indexOf(_IG_Prefs.N)==0)_IG_Prefs._add(a,f,g);else if(f==".lang"||f==".country")_IG_Prefs._add(a,_IG_Prefs.f+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.O+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.O+a,d=_IG_Prefs.c[c][b],e=new _IG_PubSub(a),f=[b.substring(_IG_Prefs.f.length)];if(d.group){var g=_IG_Prefs.c[c],h=[];for(var i in g)if(g[i].group&&g[i].listen&&g[i].group==d.group&&i!=b)h.push(i.substring(_IG_Prefs.f.length));if(h.length>0){e.unsubscribeMultiple(h);f=f.concat(h)}}var j=function(l,n){var p=new _IG_Prefs(a),o=[];for(var q=0;q<l.length;++q){var m=p.c[_IG_Prefs.f+n[q]],s=m.datatype,r=n[q],u=l[q],t=p.Pa(u,s);if(s=="location"){o.push(r+".long",t[1]);o.push(r+
".lat",t[2]);o.push(r,t[0])}else o.push(r,t)}o.push(false);p.set.apply(p,o)},k={};k.triggerOn="any";k.shouldReceiveLocalEvents=false;e.subscribeMultiple(f,j,k)};_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.Y=
true;_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",ig_y,"getInt",ig_z,"getBool",ig_A,"getArray",ig_B,"getLang",ig_D,"getCountry",ig_E,"getMsg",ig_F,"getPreloadedString",ig_H,"set",ig_G,"setArray",ig_C]);function _IG_FR_toggle(a,b){var c=_gel("ft_"+a+"_"+b),d=_gel("fb_"+a+"_"+b),e=_gel("ftl_"+a+"_"+b);if(d.style.display=="block")ig_I(c,d,e);else{var f=eval("FEED"+a);if(!f.has_entries&&!f.is_fetching){f.is_fetching=true;_IG_FetchFeedAsJSON(f.url,_IG_Callback(ig_Va,a,b),f.num_items+15,true)}else{for(var g=0;g<eval("FEED"+a).num_items;g++){var h=_gel("ftl_"+a+"_"+g);if(h)ig_I(_gel("ft_"+a+"_"+g),_gel("fb_"+a+"_"+g),h)}ig_Wa(c,d,e);if(d.style.maxHeight&&parseInt(d.style.maxHeight,10)<ig_Xa(e.offsetWidth,
d))d.style.height=d.style.maxHeight}}}function ig_Va(a,b,c){var d=eval("FEED"+b);d.is_fetching=false;if(a&&a.Entry){for(var e=0;e<a.Entry.length;e++)if(a.Entry[e].ID!="no_id"){var f=_gel("fb_"+b+"_"+a.Entry[e].ID);if(f)f.innerHTML=a.Entry[e].Summary}eval("FEED"+b).has_entries=true;_IG_FR_toggle(b,c)}}function ig_J(a){return a.className.match("reverse_directionality$")=="reverse_directionality"}function ig_I(a,b,c){a.className=ig_J(a)?"fmaxbox_reverse_directionality":"fmaxbox";if(_old_html||_use_old_feed_styles)a.className=
"fbox fmaxbox";b.style.display="none";b.style.maxHeight="";c.className=ig_J(a)?"uftl_reverse_directionality":"uftl"}function ig_Wa(a,b,c){a.className=ig_J(a)?"fminbox_reverse_directionality":"fminbox";if(_old_html||_use_old_feed_styles)a.className="fbox fminbox";b.style.display="block";b.style.maxHeight=b.offsetWidth*1.5+"px";c.className=ig_J(a)?"sftl_reverse_directionality":"sftl"}function ig_Xa(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};var ig_K='<table class="dialog" id="IG_PU_dlg" cellspacing="0" cellpadding="0"><tr><td>',ig_L="</td></tr></table>",ig_M,_DI_button_type={Close:-1,OK:0,Cancel:1},ig_N=true;function _IG_PU_init(){var a=_gel("IG_PU_box");if(!a){document.write('<iframe id="IG_PU_iframe_cover" style="display:none;"></iframe>');document.write('<div id="IG_PU_box" style="display:none;"></div>')}var b=_gel("IG_PU_bg");if(!b)document.write('<div id="IG_PU_bg" style="display:none;"></div>')}function _IG_PU_open(a,b,c,d){ig_N=
typeof b=="string";var e=_gel("IG_PU_box");if(e&&e.style.display=="none"){if(!c)c=[_IG_PU_MakeDialogButton("Save"),_IG_PU_MakeDialogButton("Cancel")];var f=[ig_K,'<div class="outerborder"><div class="border titlebar">',a,"</div>"];f.push('<div class="border body" id="',"dialogcontent",'">');if(ig_N)f.push(b);f.push(ig_O(c));f.push("</div>");f.push(ig_L);ig_P(f.join(""),d,ig_N?null:b)}}function ig_O(a,b){var c=['<div id="buttons" class="button_background'];if(b)c.push(" "+b);c.push('"><table class="buttontable" cellspacing="0" cols=');
c.push(a.length,"><tr>");for(var d=0;d<a.length;++d){c.push("<td align=center>");c.push('<span id="button_',d,'" ');c.push('onclick="_IG_PU_hide(',d,')">');c.push(a[d]);c.push("</span>");c.push("</td>")}c.push("</tr></table></div></div>");return c.join("")}function ig_P(a,b,c){if(b){if(typeof b!="function")b=_IG_PU_IGNORE;ig_M=b}else ig_M=_IG_PU_IGNORE;var d=_gel("IG_PU_bg");d.style.zIndex=3000;d.style.background="#000";ig_Q(d,true);d.style.position="absolute";d.onclick=_IG_PU_IGNORE;d.style.display=
"none";d.style.left="0px";d.style.top="0px";var e=_gel("IG_PU_box"),f=_gel("IG_PU_iframe_cover");e.innerHTML=a;if(!ig_N&&c){var g=document.createElement("div");g.id="popup_box_placeholder";g.style.display="none";c.parentNode.insertBefore(g,c);_gel("dialogcontent").insertBefore(c,_gel("dialogcontent").firstChild)}e.style.position="absolute";e.style.zIndex=3001;f.style.position="absolute";e.style.visibility="hidden";e.style.display="block";ig_R();e.style.visibility="visible";f.style.display="";d.style.display=
"block";if(_gel("popup_iframe"))_IG_AddEventHandler("resize",_ResizeIframeHeight);else _IG_AddEventHandler("resize",ig_R);window.onscroll=ig_R;var h=_gel("IG_PU_dlg");h.onkeydown=_IG_PU_limitFocus;var i=_IG_PU_findFocusable(e,true,true);if(i)i.focus()}function _IG_PU_openURL(a,b,c,d,e,f){var g=[ig_K,'<div class="outerborder">'];g.push('<div class="border titlebar">');g.push(_IG_PU_createSimpleTitle(a));g.push(b);g.push("</div>");g.push('<div class="border body url">');g.push('<iframe id="popup_iframe" style="width:',
d,';height:0px;"',' src="',c,'" onload="_ResizeIframeHeight();"',' scrolling="no" frameborder="0"></iframe>');g.push('<div class="c"></div>');if(e)g.push(ig_O(e,"colored_background"));g.push("</div></div>");g.push(ig_L);ig_P(g.join(""),f)}function ig_R(){var a=_gel("IG_PU_box"),b=_gel("IG_PU_iframe_cover"),c=_gel("IG_PU_bg"),d=document.body.clientWidth,e=window.innerHeight;if(!e)e=document.documentElement.offsetHeight;var f=a.offsetHeight<e;if(a){var g=(d-a.offsetWidth)/2,h=Math.max((e-a.offsetHeight)/
2+ig_ja(),0);if(!f&&a.style.top)h=parseInt(a.style.top,10);a.style.left=g+"px";a.style.top=h+"px";b.style.left=g+"px";b.style.top=h+"px";b.style.width=a.offsetWidth+"px";b.style.height=a.offsetHeight+"px"}if(c){var i=parseInt(a.style.top,10)+a.offsetHeight,j=Math.max(ig_u(),e,i);c.style.height=j+"px";c.style.width=document.body.clientWidth+"px"}}function _ResizeIframeHeight(){if(_gel("popup_iframe")){_gel("popup_iframe").style.height=ig_u(_gel("popup_iframe").contentWindow.document.body)+"px";_gel("popup_iframe").style.display=
"block";_gel("popup_iframe").style.display=""}ig_R()}function _IG_PU_hide(a){var b=_gel("button_"+a);if(b&&b.firstChild&&b.firstChild.disabled)return;var c=_gel("IG_PU_box"),d=_gel("IG_PU_iframe_cover"),e=_gel("IG_PU_bg");if(c){c.style.display="none";d.style.display="none"}if(e){e.onclick="";e.style.height="";e.style.width=""}if(!ig_N){var f=_gel("dialogcontent").firstChild;if(a!=_DI_button_type.OK&&f.nodeName=="FORM")f.reset();setTimeout("_IG_PU_move_DOM()",1000)}if(_gel("popup_iframe"))_IG_RemoveEventHandler("resize",
_ResizeIframeHeight);else _IG_RemoveEventHandler("resize",ig_R);window.onscroll=null;ig_M(a)}function _IG_PU_move_DOM(){var a=_gel("popup_box_placeholder"),b=_gel("dialogcontent").firstChild;a.parentNode.insertBefore(b,a);a.parentNode.removeChild(a)}function _IG_PU_IGNORE(){}function ig_Q(a,b){if("opacity"in a.style)a.style.opacity=b?0.5:1;else if("MozOpacity"in a.style)a.style.MozOpacity=b?0.5:1;else if("filter"in a.style)a.style.filter=b?"alpha(opacity=50)":"alpha(opacity=100)"}function _IG_PU_MakeDialogButton(a,
b,c,d){var e=['<input type="button"'];if(b)e.push(' id="'+b+'"');if(c)e.push(' class="'+c+'"');if(d)e.push(' onclick="'+d+'"');e.push(' value="',a,'"></input>');return e.join("")}function _IG_PU_disable_hide_for_button(a){var b=_gel("button_"+a);if(b)b.onclick=function(){}}function _IG_PU_createSimpleTitle(a){var b=[];b.push('<div class="popup_title">',a,"</div>");b.push('<div class="popup_title_buttons">');b.push('<a onclick="_IG_PU_hide(_DI_button_type.Close);"');b.push(' class="delbox"  href="javascript:void(0)">');
b.push("</a>");b.push("</div>");b.push('<div class="c"></div>');return b.join("")}function _IG_PU_createSimpleInputBox(a,b,c){var d=[];d.push('<div class="popup_body thinpadding">');d.push('<form onsubmit="_IG_PU_hide(_DI_button_type.OK); return false;">');d.push('<table cellspacing="0" cellpadding="0" border="0"><tr>');d.push('<td class="sidepadding">',_hesc(b),"</td>");d.push('<td class="sidepadding">');d.push('<input id="',_hesc(a),'" name="',_hesc(a),'" ');d.push('type="text" size="45" value="'+
_hesc(c)+'">');d.push("</td>");d.push("</tr></table></form></div>");return d.join("")}function _IG_PU_hasAttr(a,b){if(a.getAttributeNode){var c=a.getAttributeNode(b);return c?c.specified:false}return a.getAttribute(b)!=null}function _IG_PU_findFocusable(a,b,c){if(!a.disabled){if(a.nodeName.toLowerCase()=="input")return a;if(a.nodeName.toLowerCase()=="button")return a;if(!c){if(a.nodeName.toLowerCase()=="a"&&_IG_PU_hasAttr(a,"href"))return a;if(a.nodeType==1&&_IG_PU_hasAttr(a,"tabindex")&&a.tabIndex!=
-1)return a}}if(!a.hasChildNodes())return null;var d=a.childNodes;for(var e=b?0:d.length-1,f;f=d[e];b?e++:e--){var g=_IG_PU_findFocusable(f,b,c);if(g)return g}return null}function _IG_PU_limitFocus(a){if(!a)a=window.event;var b=a.target?a.target:a.srcElement,c=a.keyCode||a.charCode||a.which;if(c==9){var d=_IG_PU_findFocusable(this,true,false);if(!d)return true;var e=_IG_PU_findFocusable(this,false,false);if(b==d&&a.shiftKey&&!(a.ctrlKey|a.altKey)){e.focus();return false}else if(b==e&&!(a.shiftKey|
a.ctrlKey|a.altKey)){d.focus();return false}}return true};var ig_S,ig_T,ig_U={};function ig_V(a){return ig_U[a]}function _IG_AddDropDownEventHandler(a,b){ig_U[a]=b}function _IG_DD_init(){document.write('<iframe id="IG_DD_iframe_cover" class="dd_iframe_cover" style="display:none;"></iframe>');document.write('<div id="IG_DD_div" class="dd_layer_hidden" onclick="_IG_DD_hide();return true;"></div>')}function _IG_DD_create(a,b){var c=document.createElement("div");c.setAttribute("id","DD_"+a);c.className="dd dd_border";c.style.display="none";c.onkeydown=_IG_DD_keys;
for(var d=0,e;e=b[d];d++)c.appendChild(_IG_DD_add(e[0],e[1],e[2]));_gel("IG_DD_div").appendChild(c)}function _IG_DD_add(a,b,c){b=b||"javascript:void(0)";var d=document.createElement("div"),e="";if(typeof c=="string"&&c!="")e=' onclick="'+c+'"';d.innerHTML='<a href="'+b+'"'+e+">"+a+"</a>";var f=d.firstChild;if(typeof c=="string"&&c!="")c=f.onclick;if(c)f.onclick=function(g){c(g);_IG_DD_hide();return false};f.className="dd_item";f.onblur=function(){ig_T=false;return true};f.onmouseover=function(){return _IG_DD_select(this)};
return f}function _IG_DD_open(a,b){var c=_gel("DD_"+b);if(c.style.display=="none"){ig_S=b;var d=_gel("IG_DD_div");d.className="dd_layer";_IG_AddEventHandler("resize",_IG_DD_position);_IG_DD_position();ig_T=false;if(c.hasChildNodes()){var e=c.childNodes[0];_IG_DD_select(e)}var f=ig_V(ig_S);if(f)f(true)}}function _IG_DD_position(){var a=_gel("DD_"+ig_S),b=_gel("DD_tg_"+ig_S),c=_gel("IG_DD_div");a.style.display="block";var d=_findPos(b),e=a.offsetWidth,f=d[0]+b.offsetWidth/2-e/2,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 h=_gel("IG_DD_iframe_cover");h.style.left=a.style.left;h.style.top=a.style.top;h.style.width=a.offsetWidth+"px";h.style.height=a.offsetHeight+"px";h.style.display="block";c.style.height=ig_u()+"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_S){var b=
_gel("DD_"+ig_S);b.style.display="none";_gel("IG_DD_iframe_cover").style.display="none";var c=ig_V(ig_S);if(c)c(false);if(ig_T){var d=_gel("DD_tg_"+ig_S);if(d)d.focus()}ig_T=false;ig_S=null}a.className="dd_layer_hidden"}_IG_DD_select(null)}function _IG_DD_gcn(a,b,c){var d=new RegExp("(^| )"+c+"( |$)"),e=a.getElementsByTagName(b),f=[];for(var g=0,h;h=e[g];g++)if(d.test(h.className))f.push(h);return f}function _IG_DD_select(a){var b=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(b!=null)for(var c=0,
d;d=b[c];c++)d.className=d.className.replace(/ dd_sel/g,"");if(a){a.className=a.className+" dd_sel";a.focus()}}function _IG_DD_keys(a){var b=true,c=_IG_DD_gcn(_gel("IG_DD_div"),"a","dd_sel");if(c==null||c.length!=1)return true;var d=c[0];if(!a)a=window.event;var e=a.keyCode||a.charCode||a.which;switch(e){case 13:ig_T=true;break;case 38:var f=d.previousSibling;if(f==null){var g=d.parentNode.childNodes;f=g[g.length-1]}_IG_DD_select(f);b=false;break;case 40:var f=d.nextSibling;if(f==null){var g=d.parentNode.childNodes;
f=g[0]}_IG_DD_select(f);b=false;break;case 27:case 9:ig_T=true;b=ig_S==null&&e==9;_IG_DD_hide();break}return b};function ig_Ya(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?ig_W(f):f)}}function ig_Za(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 ig_W(a){var b=ig_Za(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&b.getElementsByTagName("parsererror")[0])return a;
return b}var ig__a=(new Date).getTime();function ig_X(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>ig__a+a.refreshInterval*1000)){if(a.asXml){var b=ig_W(_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){ig_Ya(f,a.url,a.callback,a.asXml)},false,a.post_data)}function ig_Y(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"?ig_Y(c):{};d.url=a;d.callback=b;d.asXml=false;ig_X(d)}function _IG_FetchXmlContent(a,b,c){var d;d=c!=null&&typeof c=="object"?ig_Y(c):
{};d.url=a;d.callback=b;d.asXml=true;ig_X(d)}function ig_0a(a,b,c){_IG_FetchContent(a,function(d){if(d){var e=ig_W(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 ig_Z(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]:null;b[g](h)}e=null;b=null},false,a)}var ig__=false,ig_1a=0,ig_0="",ig_1={};function _IG_FetchFeedAsJSON(a,
b,c,d,e){if(typeof e!="object")e={};var f="fr_"+ig_1a++,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(ig__){var i={};i[f]=b;ig_Z(h,i)}else{if(ig_0!="")ig_0+="&";ig_0+=h;ig_1[f]=b}}function ig_2a(){ig__=true;if(ig_0!="")ig_Z(ig_0,ig_1);ig_0="";ig_1=null}_IG_AddEventHandler("domload",ig_2a);_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",
ig_0a,"getFeedAsJSON",_IG_FetchFeedAsJSON]);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_2=null;function _share_gadget(a,b,c,d,e,f,g,h){if(d){_hide_sent_content_messages();if(!ig_2)ig_2=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=ig_2.replace("GADGET_NAME",_get_module_title(d))}if(g)var i="_gel('popup_iframe').contentWindow.prepareEmail(_gel('share_userprefs') ? _gel('share_userprefs').checked : false)";
else var i="_gel('popup_iframe').contentWindow.prepareEmail();";var j=['<input type="button" id="send_btn" disabled="true" onclick="'+i+'" value="'+e+'"></input>',_IG_PU_MakeDialogButton(f)],k="titlebar userprefs userprefs_border",l=_get_userprefs_checkbox_html(g,h,k);_IG_PU_openURL(a,l,b,c,j,d?_finish_sharing_gadget:null);_IG_PU_disable_hide_for_button(0)}function _share_this_gadget(a,b,c){if(c){_hide_sent_content_messages();if(!ig_2)ig_2=_gel("sent_gadget_box").innerHTML;_gel("sent_gadget_box").innerHTML=
ig_2.replace("GADGET_NAME",_get_module_title(c))}var d=_gel("ext_css");if(d){var e="ext_css="+_esc(d.href);if(b.match("\\?"))b+="&";else b+="?";b+=e}_IG_PU_openURL('<img src="/ig/images/sharegadget.gif"> '+a,null,b,"555px",null,c?_finish_sharing_gadget:null);_IG_PU_disable_hide_for_button(0)}function _share_tab_with_gadget_checkboxes(a,b,c,d,e,f,g){var h='<iframe id="popup_iframe" width="100%" height="0px" src="'+_hesc(b)+'" onload="_ResizeIframeHeight();" scrolling="no"></iframe>',i="_gel('popup_iframe').contentWindow.storeTabAndPrepareEmail(_find_unshared_gadgets(), _gel('share_userprefs') ? _gel('share_userprefs').checked : false);",
j=['<input type="button" id="send_btn" disabled="true" onclick="'+_hesc(i)+'" value="'+_hesc(f)+'"></input>',_IG_PU_MakeDialogButton(g)];if(!_uli){_IG_PU_open(a,h,j);_gel("buttons").className+=" colored_background";return}var k=_get_all_modules(),l=Math.max(k.length*160,400),n=7,p=0;for(var o=0;o<k.length;o++)if(k[o].length>p)p=k[o].length;var q=p>n&&c!="NO_TRANSLATION",m=[a];m.push('<form id="module_list">');m.push('<table class="titlebar module_list_table" ','cols="',k.length,'"',' width="',l,'px">');
if(q)m.push('<tr class="zipped_modules" id="module_list_zipper">');else m.push('<tr class="unzipped_modules">');for(var s=0;s<k.length;s++){m.push('<td width="',100/k.length,'%" ','valign="top">');for(var r=0;r<k[s].length;r++){var u=_hesc(k[s][r].id.replace("m_","")),t=_hesc(_get_module_title(k[s][r]));m.push('<div class="module_item');if(r>=n&&q)m.push(" extra_items");m.push('">');m.push('<input id="share_',u,'" type="checkbox"'," checked ></input>");m.push('<label for="share_',u,'">',t,"</label>");
m.push("</div>")}m.push("</td>")}m.push("</tr>");if(q){m.push('<tr class="zipped_module_list">');m.push('<td id="show_all_modules" colspan="',k.length,'" style="font-size:80%;text-align:center;">');m.push('<a href="javascript:void(0);" id="zipper_text"',' onclick="_modules_zipper();">');m.push(c,"</a>");m.push("</td></tr>")}m.push("</table>");m.push(_get_userprefs_checkbox_html(d,e,"userprefs"));m.push("</form>");_IG_PU_open(m.join(""),h,j);_IG_PU_disable_hide_for_button(0);_gel("dialogcontent").className+=
" url";_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(true)}else{_gel("share_userprefs_alert").style.display="none";_gel("popup_iframe").contentWindow.shouldShareUserprefs(false)}}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"');
if(b!="")d.push(' onclick="_show_shared_userprefs_alert();"');d.push("></input>");d.push('<label for="share_userprefs">',a,"</label>");if(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(){var a=
_gel("module_list").elements,b=[];for(var c=0;c<a.length;c++)if(!ig_3a(a[c]))b[b.length]=a[c].id.replace("share_","");return b}function ig_3a(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 false}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"}};var ig_3=(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,h,i;if(c instanceof Array){d[0]=
"[";h=c.length;for(g=0;g<h;g+=1){i=c[g];f=b[typeof i];if(f){i=f(i);if(typeof i=="string"){if(e)d[d.length]=",";d[d.length]=i;e=true}}}d[d.length]="]"}else if(typeof c.hasOwnProperty==="function"){d[0]="{";for(g in c)if(c.hasOwnProperty(g)){i=c[g];f=b[typeof i];if(f){i=f(i);if(typeof i=="string"){if(e)d[d.length]=",";d.push(b.string(g),":",i);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 ig_4a(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 ig_5a(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.Qa(true);c.src=a;document.body.appendChild(c)},0)}function ig_6a(){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 ig_7a(){this.g=[];this.Qa=ig_4a;this.iframe=ig_5a;this.clear=ig_6a}function ig_8a(a,b){_IFPC.C[a]=b}function ig_9a(a){delete _IFPC.C[a]}function ig_$a(a,b,c,d,e,f,g){c=c.slice(0);c.unshift(_IFPC.mb(e));
c.unshift(f);c.unshift(b);c.unshift(a);var h=4095-d.length;h=parseInt(h/3,10);if(typeof g=="undefined")g=true;var i=_IFPC.ta(c),j=parseInt(i.length/h,10);if(i.length%h>0)j+=1;for(var k=0;k<j;k++){var l=i.substr(k*h,h),n=[a,_IFPC.pa,j,k,l,g];_IFPC.va.iframe(d+"#"+_IFPC.ta(n))}_IFPC.pa++}function ig_ab(){_IFPC.C={};_IFPC.o={};_IFPC.va.clear()}function ig_4(a){var b=_IFPC.S(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 ig_bb(a){var a=_IFPC.S(a),b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),g=a.shift(),h=b+"_"+c;if(!_IFPC.m[h])_IFPC.m[h]=[];_IFPC.m[h].push([e,f]);if(_IFPC.m[h].length==d){_IFPC.m[h].sort(function(q,m){return parseInt(q[0],10)-parseInt(m[0],10)});f="";for(var i=0;i<d;i++)f+=_IFPC.m[h][i][1];_IFPC.m[h]=null;var j=
_IFPC.S(f),b=j.shift(),k=j.shift(),l=j.shift(),n=j.shift(),p=_IFPC.ab(k);if(p){var o=p.apply(null,j);if(_IFPC.db(n)){o.unshift(n);_IFPC.call(b,_IFPC.la,o,l,null,"")}}else if(g)throw new Error("Service "+k+" not registered.");}}function ig_cb(a){if(_IFPC.C.hasOwnProperty(a))return _IFPC.C[a];else return null}function ig_db(a){var b="";if(a&&typeof a=="function"){b=_IFPC.$a();_IFPC.o[b]=a}return b}function ig_eb(a){if(_IFPC.o.hasOwnProperty(a))_IFPC.o[a]=null}function ig_fb(a){if(a&&_IFPC.o.hasOwnProperty(a))return _IFPC.o[a];
return null}function ig_gb(){return _IFPC.ka+_IFPC.Ma++}function ig_hb(a){return(a+"").indexOf(_IFPC.ka)==0}function ig_ib(a){var b=a.split("&");for(var c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);try{d=ig_3.parse(d)}catch(e){}b[c]=d}return b}function ig_jb(a){var b=[];for(var c=0;c<a.length;c++){var d=ig_3.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function ig_kb(a){var b=_IFPC.Ya(a);if(b){var c=[];for(var d=1;d<arguments.length;d++)c[c.length]=arguments[d];b.apply(null,
c);_IFPC.rb(a)}else throw new Error("Invalid callbackId");}var _IFPC={registerService:ig_8a,unregisterService:ig_9a,call:ig_$a,clear:ig_ab,relayRequest:ig_4,processRequest:ig_4,handleRequest:ig_bb,ka:"cbid",la:"ifpc_callback",va:new ig_7a,m:{},C:{},o:{},Ma:0,pa:0,ab:ig_cb,mb:ig_db,rb:ig_eb,Ya:ig_fb,$a:ig_gb,db:ig_hb,S:ig_ib,ta:ig_jb,Na:ig_kb};_IFPC.registerService(_IFPC.la,_IFPC.Na);var ig_5={obj:null,init:function(a,b){a.onmousedown=ig_5.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.Ca);a.onmousedown=null;a.obj=null;b.onDragStart=null;b.onDragEnd=null;b.onDrag=null},start:function(a){var b=ig_5.obj=this.obj;a=ig_5.fixE(a);if(a.which!=1)return true;b.onDragStart(a);var c=a.clientY;if(!ig_.xa)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.Ca=window.setInterval(ig_lb(b,ig_mb()),10);document.onmouseup=ig_5.end;document.onmousemove=ig_5.drag;return false},drag:function(a){a=ig_5.fixE(a);if(a.which==0)return ig_5.end();var b=ig_5.obj,c=a.clientY;if(!ig_.xa)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=ig_5.fixE(a);document.onmousemove=null;document.onmouseup=null;window.clearInterval(ig_5.obj.Ca);var b=ig_5.obj.onDragEnd();ig_5.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 ig_nb(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 h=0;h<d.length;h++){g=d[h];if(f.test(g.className))e.push(g)}return e}var _IG_initDrag=function(a,b){ig_.D=a;ig_.z=b;ig_.q=ig_nb(ig_.D,"div","yui-u");if(_old_html){ig_.Ba=ig_.D.tBodies[0].rows[0];ig_.q=ig_.Ba.cells}ig_.h=[];var c=0;for(var d=0;d<ig_.q.length;d++){var e=ig_.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"){ig_.h[c]=g.className!="dm"?new ig_ob(g):new ig_pb(g);c++}}}_IG_AddEventHandler("unload",ig_6)};function ig_6(){if(ig_.h)for(var a=0;a<ig_.h.length;a++){ig_.h[a].sa();ig_.h[a]=null}ig_.h=null;ig_.q=null;if(_old_html)ig_.Ba=null;ig_.D=null}var ig_={};ig_.ja=navigator.userAgent;ig_.eb=ig_.ja.indexOf("Gecko")!=-1;ig_.wa=ig_.ja.indexOf("Opera")!=-1;ig_.xa=ig_.ja.indexOf("Safari")!=-1;ig_.na="IG_pageDivMaskId";ig_.ma="IG_moduleDivMaskId";
ig_.sb=function(){ig_.D.style.display="none"};ig_.tb=function(){ig_.D.style.display=""};ig_.n=null;ig_.G=function(){if(!ig_.n){ig_.n=document.createElement("DIV");ig_.n.className="modbox";ig_.n.backgroundColor="";ig_.n.style.border="2px dashed #aaa";ig_.n.innerHTML="&nbsp;"}return ig_.n};ig_.p=function(a,b){return function(){return a[b].apply(a,arguments)}};ig_.La=function(){if(ig_.z){var a=ig_.z.getElementsByTagName("LI");if(_old_html)a=ig_.z.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=ig_.t(c,true);c.pagePosRight=c.pagePosLeft+c.offsetWidth;c.pagePosTop=ig_.t(c,false);c.pagePosBottom=c.pagePosTop+c.offsetHeight}}};ig_.Ka=function(a){for(var b=0;b<ig_.h.length;b++){var c=ig_.h[b];c.a.pagePosLeft=ig_.t(c.a,true);c.a.pagePosTop=ig_.t(c.a,false)}var d=a.a.nextSibling;while(d){d.pagePosTop-=a.a.offsetHeight;d=d.nextSibling}};ig_.t=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};ig_.Ha=function(a){ig_.Aa();var b=document.createElement("DIV");b.id=ig_.na;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.bb){b=b.cloneNode(true);b.id=ig_.ma;b.style.height=a.a.offsetHeight-a.i.offsetHeight+"px";b.style.top=a.i.offsetHeight+"px";a.a.appendChild(b)}};ig_.Aa=function(){var a=[ig_.ma,ig_.na];for(var b=0;b<a.length;b++){var c=_gel(a[b]);if(c){c.parentNode.removeChild(c);c=null}}};ig_.nb=function(){var a="";for(var b=0;b<ig_.q.length;b++){var c=ig_.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 ig_pb(a){this.sa=ig_qb;this.a=a;this.a.innerHTML="<br />"}function ig_qb(){this.a=null}function ig_ob(a){this._urlMouseUp=ig_rb;this._urlMouseDown=ig_sb;this._urlClick=ig_tb;this._dragStart=ig_ub;this._drag=ig_vb;this._dragEnd=ig_wb;this.Xa=ig_xb;this.M=ig_yb;this.sa=ig_zb;this.A=false;this.a=a;this.i=_gel(a.id+"_h");this.d=_gel(a.id+"_url");this.bb=this.a.getElementsByTagName("IFRAME").length>0;this.a.DND_Module=this;
if(this.i){this.i.style.cursor="move";ig_5.init(this.i,this.a);this.a.onDragStart=ig_.p(this,"_dragStart");this.a.onDrag=ig_.p(this,"_drag");this.a.onDragEnd=ig_.p(this,"_dragEnd");if(this.d){this.d.style.cursor="pointer";if(ig_.eb){this.d.onmousedown=ig_.p(this,"_urlMouseDown");this.d.onclick=ig_.p(this,"_urlClick")}else this.d.onmouseup=ig_.p(this,"_urlMouseUp")}}}function ig_zb(){if(this.i){if(this.d){this.d.onclick=null;this.d.onmouseup=null;this.d=null}ig_5.uninit(this.i,this.a);this.a.onDragStart=
null;this.a.onDrag=null;this.a.onDragEnd=null;this.i=null}this.a=null}function ig_rb(a){a=ig_5.fixE(a);if(this.A||!this.d||!this.d.href||a.which!=1)return true;this.M("titleclick");if(this.d.target||a.shiftKey)window.open(this.d.href,this.d.target);else document.location=this.d.href;return false}function ig_sb(a){a=ig_5.fixE(a);a.stopPropagation();return true}function ig_tb(){if(!this.A&&this.d&&this.d.href){this.M("titleclick");return true}return false}function ig_ub(){ig_.Ka(this);ig_.La();this.origNextSibling=
this.a.nextSibling;var a=ig_.G(),b=this.a.offsetHeight;b-=parseInt(a.style.borderTopWidth,10)*2;var c=this.a.offsetWidth,d=ig_.t(this.a,true),e=ig_.t(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";ig_.Ha(this);this.A=false;return false}function ig_7(){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_vb(a,b){if(!this.A){this.a.style.filter="alpha(opacity=50)";this.a.style.opacity=0.5;this.A=true;this.M("dragstart")}var c=null,d=100000000;for(var e=
0;e<ig_.h.length;e++){var f=ig_.h[e],g=a;if(document.body.dir=="rtl"&&f.a.offsetWidth==1)g+=this.a.offsetWidth;var h=Math.sqrt(Math.pow(g-f.a.pagePosLeft,2)+Math.pow(b-f.a.pagePosTop,2));if(f==this)continue;if(isNaN(h))continue;if(h<d){d=h;c=f}}this.l=null;if(ig_.z){var i=ig_.z.getElementsByTagName("LI");if(_old_html)i=ig_.z.tBodies[0].rows[0].cells;for(var e=0;e<i.length;e++){var f=i[e];if(!f.isDraggableTo)continue;var j=ig_7();if(this.a.lastMouseX>=f.pagePosLeft&&this.a.lastMouseX<=f.pagePosRight&&
this.a.lastMouseY+j[1]>=f.pagePosTop&&this.a.lastMouseY+j[1]<=f.pagePosBottom){this.l=f;var k=ig_.G();if(k.parentNode!=null)k.parentNode.removeChild(k);break}}for(var e=0;e<i.length;e++){var f=i[e];if(f.id.indexOf("view")>=0)if(f==this.l){if(f.className.indexOf(" tab_hover")<0)f.className+=" tab_hover"}else f.className=f.className.replace(/ tab_hover/g,"")}}var k=ig_.G();if(this.l==null&&c!=null&&k.nextSibling!=c.a){c.a.parentNode.insertBefore(k,c.a);if(ig_.wa){document.body.style.display="none";
document.body.style.display=""}}}function ig_wb(){ig_.Aa();if(this.Xa())ig_.nb();if(this.l){var a=this.l.id.match(/tab(\d+)_/)[1],b=this.a.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.a.style.display="none";this.l.className=this.l.className.replace(/ tab_hover/g,"")}_hideNewUserTip();if(this.A)this.M("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 ig_xb(){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=ig_.G();if(b.parentNode!=null){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.a,b.nextSibling);a=true}b.parentNode.removeChild(b)}if(ig_.wa){document.body.style.display="none";document.body.style.display=""}return a}function ig_yb(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 ig_lb(a,b){return function(){var c=ig_Ab(),d=ig_7(),e=d[1],f=4,g=0.05*c,h=e,i=a.offsetTop;if(a.lastMouseY<=g){i=a.offsetTop-f;h=e-f}else if(a.lastMouseY>=c-g){i=Math.min(b-a.offsetHeight,a.offsetTop+f);h=Math.min(b-c,e+f)}var j=h-e;if(j!=0){window.scrollBy(0,j);a.style.top=i+"px"}}}function ig_Ab(){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 ig_mb(){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)});var ig_8={BG_Z_INDEX:100,MODULE_Z_INDEX:101,PADDING_HEIGHT:50,PADDING_WIDTH:50},ig_Bb=0;function ig_9(a,b){var c=_gel("modules"),d=_gel("footerwrap"),e=_gel("IG_max_div_dummy").previousSibling;switch(b){case "cover":var f=window.innerHeight||document.documentElement.offsetHeight,g=f-c.offsetTop,h=c.offsetHeight+d.offsetHeight,i=g>h?g:h;a.style.width=c.offsetWidth-2*ig_8.PADDING_WIDTH+"px";a.style.height=i-2*ig_8.PADDING_HEIGHT+"px";a.style.top=c.offsetTop+"px";a.style.left=c.offsetLeft+"px";break;
case "iframe":a.style.width=c.offsetWidth-2*ig_8.PADDING_WIDTH+"px";a.style.height=e.offsetHeight+"px";a.style.top=c.offsetTop+"px";a.style.left=c.offsetLeft+"px";break;case "modSelf":a.style.width=c.offsetWidth-2*ig_8.PADDING_WIDTH+"px";a.style.top=c.offsetTop+ig_8.PADDING_HEIGHT+"px";a.style.left=c.offsetLeft+ig_8.PADDING_WIDTH+"px";break}}function _maxm_relocate(){var a=_gel("IG_max_bg"),b=_gel("IG_max_iframe_cover"),c=_gel("IG_max_div_dummy").previousSibling;if(a&&b){ig_9(a,"cover");ig_9(b,"iframe");
ig_9(c,"modSelf")}}function _maxm(a){var b=_gel("m_"+a),c=_gel("m_"+a+"_maximize"),d=_gel("IG_max_bg"),e=_gel("IG_max_iframe_cover"),f=_gel("IG_max_div_container"),g=_gel("IG_max_div_dummy");if(b&&c&&d&&e&&f&&g){var h=c.className=="shrinkbox";if(h)b.style.width=ig_Bb;else ig_Bb=b.style.width;d.style.zIndex=h?"":ig_8.BG_Z_INDEX;b.style.zIndex=h?"":ig_8.MODULE_Z_INDEX;if(!h){ig_Q(d,true);ig_Q(g,true)}if(h){b.style.position="";f.appendChild(g);f.appendChild(d);g.style.display="none"}else{b.parentNode.insertBefore(d,
b.nextSibling);b.parentNode.insertBefore(g,b.nextSibling);b.style.position="absolute";g.style.height=b.offsetHeight+"px";g.style.display="block"}if(h)_IG_RemoveEventHandler("resize",_maxm_relocate);else{_IG_AddEventHandler("resize",_maxm_relocate);_maxm_relocate()}var i=_gel("remote_iframe_"+a);if(i)i.style.display=h?"":"none";if(i&&!h)setTimeout(function(){i.style.display="block"},0);d.style.display=h?"none":"block";e.style.display=h?"none":"";if(h){b.parentNode.className=b.parentNode.className.replace(/ ig_dnd_fixed_col/,
"");_IG_initDrag(_table,_tabs)}var j=_gel("m_"+a+"_h"),k=b.parentNode.className.match("ig_dnd_fixed_col")==null;if(j&&k)j.style.cursor=h?"move":"default";if(!h){b.parentNode.className+=" ig_dnd_fixed_col";ig_6()}if(h)c.className=c.className.replace(/shrinkbox/,"enlargebox");else c.className=c.className.replace(/enlargebox/,"shrinkbox");var l=_gel("m_"+a+"_zippy");if(l)l.style.display=h?"":"none";var n=b.childNodes[0].childNodes[0];if(n&&n.className&&n.className=="delbox")n.style.display=h?"":"none";
ig_n(h?"unmaximize":"maximize",a)}return false}function _IG_MaximizeGadget(a,b){var c=_gel("m_"+a+"_maximize");if(c){var d=c.className=="shrinkbox",e=_gel("IG_max_div_container"),f=_gel("IG_max_div_dummy"),g=e.firstChild&&e.firstChild.id==f.id;if(b&&!d&&g||!b&&d)_maxm(a)}};var _IG_iFrameTransitionStrategy=function(a,b){this.e=a;this.$=b;this.ra="";this.j=false};_IG_iFrameTransitionStrategy.prototype._onPreDetachDashboard=function(){var a=_gel("remote_iframe_"+this.e);this.ra=a.src;var b=_gel("m_"+this.e+"_b");if(b&&b.style.display=="none")this.j=true};_IG_iFrameTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel("remote_iframe_"+this.e);a.src=this.$;var b=_gel("m_"+this.e+"_b");b.style.display="block"};_IG_iFrameTransitionStrategy.prototype._onPostAttachDashboard=
function(){var a=_gel("remote_iframe_"+this.e);a.src=this.ra;var b=_gel("m_"+this.e+"_b");b.style.display=this.j?"none":"block"};var _IG_inlinedTransitionStrategy=function(a,b,c){this.e=a;this.j=false;this.$=b;this.X="max_iframe";this.Ra=c||"400px"};_IG_inlinedTransitionStrategy.prototype._onPostDetachDashboard=function(){var a=_gel("m_"+this.e+"_b");if(a.style.display=="none")this.j=true;a.style.display="none"};_IG_inlinedTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel(this.X),
b=_gel("m_"+this.e+"_b");if(!a){a=document.createElement("IFRAME");a.id=this.X}b.parentNode.appendChild(a);a.style.display="";a.style.width="100%";a.style.height=this.Ra;a.style.padding="0px";a.style.margin="0px";a.style.overflow="hidden";a.src=this.$};_IG_inlinedTransitionStrategy.prototype._onPostAttachDashboard=function(){var a=_gel(this.X);a.style.display="none";var b=_gel("m_"+this.e+"_b");b.style.display=this.j?"none":"block"};var _IG_noMaxSupportTransitionStrategy=function(a){this.e=a;this.j=
false};_IG_noMaxSupportTransitionStrategy.prototype._onPreDetachDashboard=function(){var a=_gel("m_"+this.e+"_b");if(a&&a.style.display=="none")this.j=true};_IG_noMaxSupportTransitionStrategy.prototype._onPostAttachMaximized=function(){var a=_gel("m_"+this.e),b=_gel("mu_table"),c=_gel("m_"+this.e+"_b");c.style.display="block";if(b==null){b=document.createElement("TABLE");b.id="mu_table";b.style.width="100%";var d=b.insertRow(0),e=d.insertCell(0);e.id="muph";e.width="450";e=d.insertCell(1);e.id="musph";
e.style.paddingLeft="15px";e.innerHTML="<div id='musph'></div>"}a.parentNode.replaceChild(b,a);var f=_gel("muph"),g=_gel("musph");f.appendChild(a);b.style.display="";a.style.minWidth="300px";g.innerHTML="<h2 class='modtitle' style='min-width:150px'>Hello Canvas View</h2><div class='modboxin' style='min-width:150px'>Welcome to the iGoogle Sandbox.<hr />This section is displayed when maximized gadgets do not support canvas-view.<hr />In the future, this section will display relevant information about the current gadget.</div>"};
_IG_noMaxSupportTransitionStrategy.prototype._onPreDetachMaximized=function(){var a=_gel("m_"+this.e),b=_gel("mu_table");if(b){b.parentNode.replaceChild(a,b);b.style.display="none"}a.style.minWidth="";var c=_gel("m_"+this.e+"_b");c.style.display=this.j?"none":"block"};var ig_$=new function(){this.ia="modules";this.ha="dash_ph";this.aa="max_ph";this.s=null};ig_$.swapMaximizedModule=function(a){if(this.s==a){}else if(this.s){this.restoreModule(this.s);this.maximizeModule(a);this.setPersistentMaximizedModule(a)}else{this.maximizeModule(a);this.setPersistentMaximizedModule(a)}};ig_$.isModuleMaximized=function(a){return this.s==a};ig_$.getStrategy=function(a){var b=_max_strategies[a];if(b==null){b=new _IG_noMaxSupportTransitionStrategy(a);_max_strategies[a]=b}return b};
ig_$.maximizeModule=function(a){var b=this.getStrategy(a);if(b._onPreDetachDashboard)b._onPreDetachDashboard();this.Ta(a);if(b._onPostDetachDashboard)b._onPostDetachDashboard();if(b._onPreAttachMaximized)b._onPreAttachMaximized();this.Ja(a);if(b._onPostAttachMaximized)b._onPostAttachMaximized();this.s=a};ig_$.restoreModule=function(a){var b=this.getStrategy(a);if(b._onPreDetachMaximized)b._onPreDetachMaximized();this.Ua(a);if(b._onPostDetachMaximized)b._onPostDetachMaximized();if(b._onPreAttachDashboard)b._onPreAttachDashboard();
this.Ia(a);if(b._onPostAttachDashboard)b._onPostAttachDashboard();this.s=null};ig_$.setPersistentMaximizedModule=function(a){_xsetp("maxm="+a)};ig_$.clearPersistentMaximizedModule=function(){_xsetp("maxm=-1")};ig_$.ob=function(a){this.ga=function(){_IG_minimize_view(a)};_IG_AddModuleEventHandler(a,"delete",this.ga)};ig_$.Oa=function(a){if(this.ga)_IG_RemoveModuleEventHandler(a,"delete",this.ga)};ig_$.Ta=function(a){var b=_gel(this.ha);if(b==null){b=document.createElement("DIV");b.id=this.ha;b.style.display=
"none"}var c=_gel("m_"+a),d=_gel(this.ia).parentNode;c.parentNode.replaceChild(b,c);d.appendChild(c);b.style.display="block";b.style.height=c.clientHeight+"px";var e=_gel("m_"+a+"_home_menu");if(e)e.style.display="none"};ig_$.Ja=function(a){var b=_gel(this.aa);if(b==null){b=document.createElement("DIV");b.id=this.aa;b.style.display="none"}var c=_gel("m_"+a),d=_gel(this.ia);b.appendChild(c);d.parentNode.appendChild(b);d.style.display="none";b.style.display="block";b.style.padding="10px 10px 0px";var e=
_gel("m_"+a+"_canvas_menu");if(e)e.style.display="block";this.Va(a);this.ob(a)};ig_$.Ua=function(a){var b=_gel(this.ia),c=_gel(this.aa);c.style.display="";b.style.display="";var d=_gel("m_"+a+"_canvas_menu");if(d)d.style.display="none"};ig_$.Ia=function(a){var b=_gel(this.ha),c=_gel("m_"+a);c.style.height=b.clientHeight;b.parentNode.replaceChild(c,b);b.style.display="none";var d=_gel("m_"+a+"_home_menu");if(d)d.style.display="block";this.Wa(a);this.Oa(a)};ig_$.Va=function(a){var b=_gel("m_"+a),c=
_gel("m_"+a+"_h");b.parentNode.className+=" ig_dnd_fixed_col";c.style.cursor="default";ig_6()};ig_$.Wa=function(a){var b=_gel("m_"+a),c=_gel("m_"+a+"_h");b.parentNode.className.replace(/ ig_dnd_fixed_col/,"");c.style.cursor="move";_IG_initDrag(_table,_tabs)};var _IG_toggle_view=function(a){ig_$.swapMaximizedModule(a)},_IG_is_maximized_module=function(a){return ig_$.isModuleMaximized(a)},_IG_maximize_view=function(a){if(!ig_$.isModuleMaximized(a))ig_$.swapMaximizedModule(a)},_IG_minimize_view=function(a){if(ig_$.isModuleMaximized(a)){ig_$.restoreModule(a);
ig_$.clearPersistentMaximizedModule()}};var _IG_Json=ig_3;var _IG_ViewType={FULL_PAGE:"canvas",DASHBOARD:"home",POPUP:"POPUP"},_IG_View=function(a,b){this.hb=a;this.fb=!(!b)};_IG_View.prototype.U=function(){return this.hb};_IG_View.prototype.Z=function(){return this.fb};var _IG_SupportedViews={};_IG_SupportedViews.FULL_PAGE=new _IG_View(_IG_ViewType.FULL_PAGE,true);_IG_SupportedViews.canvas=new _IG_View(_IG_ViewType.FULL_PAGE,true);_IG_SupportedViews.DASHBOARD=new _IG_View(_IG_ViewType.DASHBOARD,false);_IG_SupportedViews.home=new _IG_View(_IG_ViewType.DASHBOARD,
false);function _navigateto(a,b,c){if(b==_IG_ViewType.FULL_PAGE){if(!_IG_is_maximized_module(a))_IG_maximize_view(a)}else if(_IG_is_maximized_module(a))_IG_minimize_view(a);if(c){var d=_IG_Json.stringify(c);_gel("remote_iframe_"+a).src+="&view-params="+_esc(d)}return true}function _IG_NavigateToGadget(a,b,c){_navigateto(a,b,c)}function _getCurrentView(a){if(_IG_is_maximized_module(a))return _IG_SupportedViews.FULL_PAGE;else return _IG_SupportedViews.DASHBOARD}function _IG_GetCurrentView(a){return _getCurrentView(a)}
function _getParams(a){var b=_gel("remote_iframe_"+a).src,c=_argsUrl(b),d=_IG_Json.parse(_unesc(c["view-params"]));return d}function _IG_GetViewParams(a){return _getParams(a)}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.U,
"isOnlyVisibleGadget",_IG_View.prototype.Z]);

