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 _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";var _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(){var a;{var b=document.location.href,c=b.indexOf("?"),d=b.indexOf("#");if(d==-1){a=b.substr(c+1)}else{a=b.substr(c+1,d-c-1)+"&"+b.substr(d+1)}}return a.split("&")}function _args(){var a={},b=ig_f();for(var c=0;c<b.length;c++){var d=b[c].indexOf("=");if(d==-1)continue;var e=b[c].substring(0,d),f=b[c].substring(d+1);f=f.replace(/\+/g," ");a[e]=_unesc(f)}return a}
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 _editedTabName(){return _gel("tab"+_cet+"_title").value}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;var _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 m=k/j,n=f+(g-f)*m;b.style.width=n+"px";k++;if(m>=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)}}var _cet=-1,ig_t;function _editTab(a){if(_cet!=-1)return;_cet=a;_gel("tab"+_cet+"_view").style.display="none";_gel("tab"+_cet+"_edit").style.display=
"";ig_t=_gel("tab"+_cet+"_title").value;_gel("tab"+_cet+"_title").select();_gel("tab"+_cet+"_title").focus()}function _renameTab(){if(_cet==-1)return;var a=_editedTabName();if(!a||a==ig_t){_gel("tab"+_cet+"_title").value=ig_t;ig_u();return false}_xsetp("rt_"+_cet+"="+_esc(a));_gel("tab"+_cet+"_view_title").innerHTML=_hesc(a);var b=_gel("tip_tabtitle");if(b){b.innerHTML=_hesc(a)}ig_u();return false}function ig_u(){if(_cet==-1)return;_gel("tab"+_cet+"_edit").style.display="none";_gel("tab"+_cet+"_view").style.display=
"";_cet=-1}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.p(b)};_ListApp.prototype.na=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].w()+'</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].w()+"<br>"}if(parseInt(c[d]._uid,10)<0){b+=c[d].i(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.S(b,f);return a};_ListApp.prototype.S=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.na()+"</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.s())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.ma(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.S=_PrefListApp_get_tail}function _PrefListApp_get_tail(a,b){var c="</table>";_gel("m_"+this.module_id+"_"+this.prefidx).value=this.ra();return c}_PrefListApp.prototype.ma=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.ra=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.s=function(){return this._n!=""};_ListItem.prototype.p=function(a){return 0};_ListItem.prototype.w=function(){return _hesc(this._n)};_ListItem.prototype.i=function(a){return"&"+_esc(this._n)+"="+_esc(this._v)};function _BMListItem(a,b,c){_ListItem.call(this,a,b,c)}ig_a(_ListItem,_BMListItem);_BMListItem.prototype.s=function(){return _ListItem.prototype.s.call(this)&&
this._n!="http://"};_BMListItem.prototype.D=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.w=function(){return'<a href="'+this._n+'" target=bmwindow>'+_hesc(this.D())+"</a>"};_BMListItem.prototype.i=function(a){return"&b"+a+"="+_esc(this._n)+"&t"+a+"="+_esc(this._v)};_BMListItem.prototype.p=function(a){var b=_uc(this.D()),c=_uc(a.D());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.i=function(a){var b="&"+_esc(this._n);if(this._v){b+="="+_esc(this._v)}return b};function _FListItem(a,b,c,d){_ListItem.call(this,a,b,c);this._s=d||0}ig_a(_ListItem,_FListItem);_FListItem.prototype.i=function(a){return"&"+_esc(this._n)};_FListItem.prototype.p=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_v={Q:0,sa:1800,W:null,V:null,da:true,F:null,H:function(){ig_v.Q=(new Date).getTime()+ig_v.sa*1000},Oa:function(){if((new Date).getTime()>ig_v.Q){_testConnection(function(){_reload(ig_v.Q)},ig_v.H)}},Y:function(a){ig_v.H();if(ig_v.W){ig_v.W(a)}},X:function(a){ig_v.H();if(ig_v.V){ig_v.V(a)}}};function _IG_disable_refresh_cycle(){ig_v.da=false;if(ig_v.F!=null){clearInterval(ig_v.F);ig_v.F=null}}function _IG_start_refresh_cycle(a,b){if(ig_v.da){ig_v.W=document.onmousedown;ig_v.V=document.onkeyup;ig_v.sa=a;if(document.addEventListener){document.addEventListener("keyup",ig_v.X,false);document.addEventListener("mousedown",ig_v.Y,false)}else if(document.attachEvent){document.attachEvent("onkeyup",ig_v.X);document.attachEvent("onmousedown",ig_v.Y)}else{document.onkeyup=ig_v.X;document.onmousedown=ig_v.Y}ig_v.H();ig_v.F=setInterval(ig_v.Oa,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_w(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_x()?1:0),null,false,null)}function ig_x(){var a=_gel("shp"),b=_gel("hp_url").innerHTML;return a.isHomePage(b)}function _maybeShowSetHPMsg(){if(!ig_x()){_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_x()){_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,b,c,d,e,f){var g=arguments;return function(){var h=[];for(var i=0;i<arguments.length;i++){h[h.length]=arguments[i]}for(var i=1;i<g.length;i++){h[h.length]=g[i]}a.apply(null,h)}};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_y.Ja}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_y.Fa(a)+"_"+b}function ig_qa(a){return"custom_"+a}function ig_ra(){for(var a in ig_y.b){for(var b=0;b<ig_y.b[a].length;b++){ig_y.b[a][b]=null}if(a in ig_y.B){var c=ig_y.B[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_y.B[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_y.b){for(var c=0;c<ig_y.b[a].length;c++){if(ig_y.b[a][c]===b){ig_y.b[a][c]=null;return true}}}return false}function ig_ua(a,b){if(a in ig_y.b){for(var c=0;c<ig_y.b[a].length;c++){if(ig_y.b[a][c]){var d=[];for(var e=1;e<arguments.length;e++){d[d.length]=arguments[e]}ig_y.b[a][c].apply(this,d)}}}}function ig_va(a,b){if(!(a in ig_y.Ta)){throw Error("Unsupported event type: "+a);}var c=ig_y.N(a);if(!(c in ig_y.b)){ig_y.b[c]=[]}ig_y.b[c][ig_y.b[c].length]=b}
function ig_wa(a,b,c){if(!(b in ig_y.Ua)){throw Error("Unsupported module event type: "+b);}var d=ig_y.O(a,b);if(!(d in ig_y.b)){ig_y.b[d]=[]}ig_y.b[d][ig_y.b[d].length]=c}function ig_xa(a,b,c){var d=ig_y.fa(a,b);if(!(d in ig_y.b)){ig_y.b[d]=[];var e=function(g){if(!g)g=window.event;ig_y.I.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_y.B[d]=[a,b,e]}var f=ig_y.b[d].length;if(a===window&&b=="unload"&&f>0){ig_y.b[d][f]=ig_y.b[d][f-1];ig_y.b[d][f-1]=c}else{ig_y.b[d][f]=c}}function ig_ya(a,b){var c=ig_y.M(a);if(!(c in ig_y.b)){ig_y.b[c]=[]}ig_y.b[c][ig_y.b[c].length]=b}function ig_za(a,b){var c=ig_y.N(a);return ig_y.G(c,b)}function ig_Aa(a,b,c){var d=ig_y.O(a,b);return ig_y.G(d,c)}function ig_Ba(a,b,c){var d=ig_y.fa(a,b);return ig_y.G(d,c)}function ig_Ca(a,b){var c=ig_y.M(a);return ig_y.G(c,b)}function ig_Da(a,b){var c=ig_y.t([ig_y.N(a)],arguments,1);ig_y.I.apply(window,
c)}function ig_Ea(a,b){var c=ig_y.t([],arguments,0);setTimeout(function(){ig_y.triggerEvent.apply(window,c)},0)}function ig_Fa(a,b,c){var d=ig_y.t([ig_y.O(a,b)],arguments,2);ig_y.I.apply(window,d)}function ig_Ga(a,b,c){var d=ig_y.t([],arguments,0);setTimeout(function(){ig_y.triggerModuleEvent.apply(window,d)},0)}function ig_Ha(a,b){var c=ig_y.t([ig_y.M(a)],arguments,1);ig_y.I.apply(window,c)}function ig_Ia(a,b){var c=ig_y.t([],arguments,0);setTimeout(function(){ig_y.triggerCustomEvent.apply(window,
c)},0)}var ig_y={Ja:0,b:{},B:{},Ta:ig_ka,Ua:ig_la,Fa:ig_ma,N:ig_na,O:ig_oa,fa:ig_pa,M:ig_qa,Ca:ig_ra,t:ig_sa,G:ig_ta,I: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_y.addEventHandler,_IG_AddModuleEventHandler=ig_y.addModuleEventHandler,_IG_AddGadgetEventHandler=ig_y.addModuleEventHandler,_IG_AddDOMEventHandler=ig_y.addDOMEventHandler,_IG_AddCustomEventHandler=ig_y.addCustomEventHandler,_IG_RemoveEventHandler=ig_y.removeEventHandler,_IG_RemoveModuleEventHandler=ig_y.removeModuleEventHandler,_IG_RemoveGadgetEventHandler=ig_y.removeModuleEventHandler,_IG_RemoveDOMEventHandler=ig_y.removeDOMEventHandler,_IG_RemoveCustomEventHandler=ig_y.removeCustomEventHandler,
_IG_TriggerEvent=ig_y.triggerEvent,_IG_TriggerModuleEvent=ig_y.triggerModuleEvent,_IG_TriggerGadgetEvent=ig_y.triggerModuleEvent,_IG_TriggerCustomEvent=ig_y.triggerCustomEvent,_IG_TriggerDelayedEvent=ig_y.triggerDelayedEvent,_IG_TriggerDelayedModuleEvent=ig_y.triggerDelayedModuleEvent,_IG_TriggerDelayedGadgetEvent=ig_y.triggerDelayedModuleEvent,_IG_TriggerDelayedCustomEvent=ig_y.triggerDelayedCustomEvent;_IG_AddDOMEventHandler(window,"unload",ig_y.Ca);_IG_AddDOMEventHandler(window,"load",function(){_IG_TriggerEvent("load")});_IG_AddDOMEventHandler(window,"unload",function(){_IG_TriggerEvent("unload")});_IG_AddDOMEventHandler(window,"resize",function(){_IG_TriggerEvent("resize")});function _IG_RegisterOnloadHandler(a){_IG_AddEventHandler("domload",a)}function _IG_LoadLibraryDeferred(a,b){_IG_RegisterOnloadHandler(function(){_IG_LoadScript(a,b)})}_exportSymbols("google.gadgets.Events",["addHandler",_IG_AddEventHandler,"removeHandler",_IG_RemoveEventHandler,"addOnloadHandler",_IG_RegisterOnloadHandler]);function _IG_RegisterMaximizeHandler(a,
b){_IG_AddModuleEventHandler(a,"unmaximize",function(){b(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 m=0;for(var g=0;g<i.length;g++){b[m].insertBefore(_gel(i[g]),b[m].lastChild);do{m++;if(m>=b.length){m=0}}while(b[m].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 m=h[j].childNodes[k];if(m.tagName=="DIV"&&m.id.indexOf("m_")!=-1){i+=i==""?"":":";i+=m.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_z(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_A(a){var b="",c=this.R(a,b);return c!=null?c+"":b}function ig_B(a){var b=0,c=parseInt(this.R(a,b),10);return isNaN(c)?b:c}function ig_C(a){var b=this.getString(a);return b=="true"||!(!parseInt(b,10))}function ig_D(a){return _IG_Prefs._strToArray(this.R(a,""))}function ig_E(a,b){this.set(a,_IG_Prefs._arrayToStr(b))}function ig_Ja(){return parseInt(this.r(_IG_Prefs.ta,"0"),
10)}function ig_Ka(){return parseInt(this.r(_IG_Prefs.ua,"0"),10)}function ig_F(){return this.getString(".lang")}function ig_G(){return this.getString(".country")}function ig_La(a,b){return this.r(_IG_Prefs.e+a,b)}function ig_H(a){return this.r(_IG_Prefs.K+a,"")}var ig_Ma=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/;function ig_Na(a,b){var c=this.r(_IG_Prefs.K+a,""),d=c.match(this.Ma);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_I(){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.T){b.push("m_"+this.U+"_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.Qa(arguments);if(_IG_Prefs.T){_xsetp(b.join("&"))}else{if(_args().synd=="open"){return}_IFPC_SetPref(b)}}}function ig_Oa(a){this.Na(a);var b=a.length%2?a[a.length-1]:true;if(b){this.Pa(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.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 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.e+e];if(f.publish){if(!(ig_z(c,e)%2==0)){c.push(e,this.ia(e))}if(f.group){for(var g in this.c){var h=this.c[g];g=g.substring(_IG_Prefs.e.length);if(g!=e&&h.publish&&h.group&&h.group==
f.group){if(!(ig_z(c,g)%2==0)){c.push(g,this.ia(g))}}}}}}if(typeof _IG_PubSub!="undefined"&&c.length>0){var i=new _IG_PubSub(this.U);i.publishMultiple(c)}}function ig_Ra(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 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.r(a,null))}document.write("</pre>")}function ig_J(){var a=["__module_id__="+this.U];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_A;this.getInt=ig_B;this.getBool=ig_C;this.getArray=ig_D;this.setArray=ig_E;this.getCountry=ig_G;this.getLang=ig_F;this.getMsg=ig_H;this.getMsgFormatted=ig_Na;this.set=ig_I;this.getPreloadedString=ig_J;this.dump=ig_Ua;this.Aa=ig_Sa;this.ia=ig_Ra;this.Na=ig_Pa;this.Pa=ig_Qa;this.Qa=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.L+a]||{};this.r=ig_Ta;this.R=ig_La;this.U=a;this.Ma=ig_Ma}_IG_Prefs.ta="h";_IG_Prefs.ua="w";_IG_Prefs.L="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.K="msg_";_IG_Prefs._parseURL=function(a){_IG_Prefs.T=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.e+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.K)==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.L+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.L+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],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.e.length))}}if(h.length>0){e.unsubscribeMultiple(h);f=f.concat(h)}}var j=function(m,n,r){var o=new _IG_Prefs(a),p=[];for(var l=0;l<m.length;++l){var s=o.c[_IG_Prefs.e+n[l]],q=s.datatype,t=n[l],v=m[l],
u=o.Aa(v,q);if(q=="location"){p.push(t+".long",u[1]);p.push(t+".lat",u[2]);p.push(t,u[0])}else{p.push(t,u)}}p.push(false);o.set.apply(o,p)},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.T=true;_exportClass("google.gadgets","Prefs",_IG_Prefs,["getString",ig_A,"getInt",ig_B,"getBool",ig_C,"getArray",ig_D,"getLang",ig_F,"getCountry",ig_G,"getMsg",ig_H,"getPreloadedString",ig_J,"set",ig_I,"setArray",ig_E]);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_K(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_K(_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_L(a){return a.className.match("reverse_directionality$")=="reverse_directionality"}function ig_K(a,b,c){a.className=ig_L(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_L(a)?"uftl_reverse_directionality":"uftl"}function ig_Wa(a,b,c){a.className=ig_L(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_L(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_M='<table class="dialog" cellspacing="0" cellpadding="0"><tr><td>',ig_N="</td></tr></table>",ig_O,_DI_button_type={Close:-1,OK:0,Cancel:1},ig_P=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_P=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_M,'<div class="outerborder"><div class="border titlebar">',a,"</div>"];f.push('<div class="border body" id="',"dialogcontent",'">');if(ig_P){f.push(b)}f.push(ig_Q(c));f.push("</div>");f.push(ig_N);ig_R(f.join(""),d,ig_P?null:b)}}function ig_Q(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_R(a,b,c){if(b){if(typeof b!="function"){b=_IG_PU_IGNORE}ig_O=b}else{ig_O=_IG_PU_IGNORE}var d=_gel("IG_PU_bg");d.style.zIndex=3000;d.style.background="#000";ig_S(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_P&&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_T();e.style.visibility="visible";f.style.display="";d.style.display=
"block";if(_gel("popup_iframe")){_IG_AddEventHandler("resize",_ResizeIframeHeight)}else{_IG_AddEventHandler("resize",ig_T)}window.onscroll=ig_T;var h=e.getElementsByTagName("input");if(h.length>0&&!h[0].disabled){h[0].focus()}}function _IG_PU_openURL(a,b,c,d,e,f){var g=[ig_M,'<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_Q(e,"colored_background"))}g.push("</div></div>");g.push(ig_N);ig_R(g.join(""),f)}function ig_T(){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_w(),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_w(_gel("popup_iframe").contentWindow.document.body)+"px";_gel("popup_iframe").style.display=
"block";_gel("popup_iframe").style.display=""}ig_T()}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_P){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_T)}window.onscroll=null;ig_O(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_S(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);" class="delbox">');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("")};var ig_U,ig_V,ig_W={};function ig_X(a){return ig_W[a]}function _IG_AddDropDownEventHandler(a,b){ig_W[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;var d="";for(var e=0,f;f=b[e];e++){d+=ig_Ya(f[0],f[1],f[2])}c.innerHTML=d;_gel("IG_DD_div").appendChild(c)}function ig_Ya(a,b,c){if(b==""){b="javascript:void(0)"}var d="<a class=dd_item href='"+b+"' onblur='IG_DD_restoreFocus=false;return true;' onmouseover='return _IG_DD_select(this);'";if(c){d+=" onclick='"+c+";_IG_DD_hide();return false;'"}d+=">"+a+"</div>";return d}function _IG_DD_open(a,b){var c=_gel("DD_"+b);if(c.style.display=="none"){ig_U=b;var d=_gel("IG_DD_div");d.className="dd_layer";_IG_AddEventHandler("resize",_IG_DD_position);_IG_DD_position();ig_V=false;if(c.hasChildNodes()){var e=c.childNodes[0];_IG_DD_select(e)}var f=ig_X(ig_U);if(f){f(true)}}}function _IG_DD_position(){var a=_gel("DD_"+ig_U),b=_gel("DD_tg_"+ig_U),c=_gel("IG_DD_div");a.style.display="block";var d=_findPos(b),e=a.offsetWidth,f=d[0]+b.offsetWidth/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_w()+"px";c.style.width=document.body.clientWidth+"px"}function _IG_DD_hide(){var a=_gel("IG_DD_div");if(a.className=="dd_layer"){_IG_RemoveEventHandler("resize",_IG_DD_position);if(ig_U){var b=_gel("DD_"+ig_U);b.style.display="none";_gel("IG_DD_iframe_cover").style.display="none";var c=ig_X(ig_U);if(c){c(false)}if(ig_V){var d=_gel("DD_tg_"+
ig_U);if(d){d.focus()}}ig_V=false;ig_U=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_V=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_V=true;b=ig_U==null&&e==9;_IG_DD_hide();break}return b};function ig_Za(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_Y(f):f)}}function ig__a(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_Y(a){var b=ig__a(a),c=b.documentElement;if(c&&c.nodeName=="parsererror"||navigator.userAgent.indexOf("Safari")>=0&&b.getElementsByTagName("parsererror")[0]){return a}return b}
var ig_0a=(new Date).getTime();function ig_Z(a){if(!a.post_data&&!a.headers&&window._pl_data&&_pl_data[a.url]&&!(!isNaN(a.refreshInterval)&&a.refreshInterval>=0&&(new Date).getTime()>ig_0a+a.refreshInterval*1000)){if(a.asXml){var b=ig_Y(_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_Za(f,a.url,a.callback,a.asXml)},false,a.post_data)}function ig__(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__(c):{};d.url=a;d.callback=b;d.asXml=false;ig_Z(d)}function _IG_FetchXmlContent(a,b,c){var d;d=c!=null&&typeof c=="object"?ig__(c):{};d.url=a;d.callback=
b;d.asXml=true;ig_Z(d)}function ig_1a(a,b,c){_IG_FetchContent(a,function(d){if(d){var e=ig_Y(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_0(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_1=false,ig_2a=0,ig_2="",ig_3={};function _IG_FetchFeedAsJSON(a,b,c,d,e){if(typeof e!=
"object"){e={}}var f="fr_"+ig_2a++,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_1){var i={};i[f]=b;ig_0(h,i)}else{if(ig_2!="")ig_2+="&";ig_2+=h;ig_3[f]=b}}function ig_3a(){ig_1=true;if(ig_2!=""){ig_0(ig_2,ig_3)}ig_2="";ig_3=null}_IG_AddEventHandler("domload",ig_3a);_exportSymbols("google.gadgets.Fetchers",["getContent",_IG_FetchContent,"getXMLContent",ig_1a,"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_4=null;function _share_gadget(a,b,c,d,e,f,g,h){if(d){_hide_sent_content_messages();if(!ig_4){ig_4=_gel("sent_gadget_box").innerHTML}_gel("sent_gadget_box").innerHTML=ig_4.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",m=_get_userprefs_checkbox_html(g,h,k);_IG_PU_openURL(a,m,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_4){ig_4=_gel("sent_gadget_box").innerHTML}_gel("sent_gadget_box").innerHTML=
ig_4.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(),m=Math.max(k.length*160,400),n=7,r=0;for(var o=0;o<k.length;o++){if(k[o].length>r){r=k[o].length}}var p=r>n&&c!="NO_TRANSLATION",l=[a];l.push('<form id="module_list">');l.push('<table class="titlebar module_list_table" ','cols="',k.length,'"',' width="',
m,'px">');if(p){l.push('<tr class="zipped_modules" id="module_list_zipper">')}else{l.push('<tr class="unzipped_modules">')}for(var s=0;s<k.length;s++){l.push('<td width="',100/k.length,'%" ','valign="top">');for(var q=0;q<k[s].length;q++){var t=_hesc(k[s][q].id.replace("m_","")),v=_hesc(_get_module_title(k[s][q]));l.push('<div class="module_item');if(q>=n&&p){l.push(" extra_items")}l.push('">');l.push('<input id="share_',t,'" type="checkbox"'," checked ></input>");l.push('<label for="share_',t,'">',
v,"</label>");l.push("</div>")}l.push("</td>")}l.push("</tr>");if(p){l.push('<tr class="zipped_module_list">');l.push('<td id="show_all_modules" colspan="',k.length,'" style="font-size:80%;text-align:center;">');l.push('<a href="javascript:void(0);" id="zipper_text"',' onclick="_modules_zipper();">');l.push(c,"</a>");l.push("</td></tr>")}l.push("</table>");l.push(_get_userprefs_checkbox_html(d,e,"userprefs"));l.push("</form>");_IG_PU_open(l.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_4a(a[c])){b[b.length]=a[c].id.replace("share_","")}}return b}function ig_4a(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_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,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_5a(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.f[this.f.length]=c;b.removeChild(c);b=null;return c}function ig_6a(a){if(!a.match(/^http[s]?:\/\//)){return}var b=this;window.setTimeout(function(){var c=null;for(var d=b.f.length-1;d>=0;d--){var e=b.f[d];if(e&&
!e.pool_locked){e.parentNode.removeChild(e);if(window.ActiveXObject){e=null;b.f[d]=null;b.f.splice(d,1)}else{e.pool_locked=true;c=e;break}}}c=c?c:b.Ba(true);c.src=a;document.body.appendChild(c)},0)}function ig_7a(){for(var a=0;a<this.f.length;a++){this.f[a].onload=null;this.f[a]=null}this.f.length=0;this.f=[]}function ig_8a(){this.f=[];this.Ba=ig_5a;this.iframe=ig_6a;this.clear=ig_7a}function ig_9a(a,b){_IFPC.z[a]=b}function ig_$a(a){delete _IFPC.z[a]}function ig_ab(a,b,c,d,e,f,g){c=c.slice(0);c.unshift(_IFPC.Ra(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.ha(c),j=parseInt(i.length/h,10);if(i.length%h>0){j+=1}for(var k=0;k<j;k++){var m=i.substr(k*h,h),n=[a,_IFPC.ea,j,k,m,g];_IFPC.ja.iframe(d+"#"+_IFPC.ha(n))}_IFPC.ea++}function ig_bb(){_IFPC.z={};_IFPC.m={};_IFPC.ja.clear()}function ig_6(a){var b=_IFPC.P(a)[0],c=null;try{c=window.parent.frames[b]}catch(d){}try{if(!c&&window.parent.parent.frames[b]!=window.parent){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_cb(a){var a=_IFPC.P(a),b=a.shift(),c=a.shift(),d=a.shift(),e=a.shift(),f=a.shift(),g=a.shift(),h=b+"_"+c;if(!_IFPC.k[h])_IFPC.k[h]=[];_IFPC.k[h].push([e,f]);if(_IFPC.k[h].length==d){_IFPC.k[h].sort(function(p,l){return parseInt(p[0],10)-parseInt(l[0],10)});f="";for(var i=0;i<d;i++){f+=_IFPC.k[h][i][1]}_IFPC.k[h]=null;var j=_IFPC.P(f),b=j.shift(),k=j.shift(),m=j.shift(),
n=j.shift(),r=_IFPC.Ha(k);if(r){var o=r.apply(null,j);if(_IFPC.Ka(n)){o.unshift(n);_IFPC.call(b,_IFPC.aa,o,m,null,"")}}else if(g){throw new Error("Service "+k+" not registered.");}}}function ig_db(a){if(_IFPC.z.hasOwnProperty(a)){return _IFPC.z[a]}else{return null}}function ig_eb(a){var b="";if(a&&typeof a=="function"){b=_IFPC.Ga();_IFPC.m[b]=a}return b}function ig_fb(a){if(_IFPC.m.hasOwnProperty(a)){_IFPC.m[a]=null}}function ig_gb(a){if(a&&_IFPC.m.hasOwnProperty(a)){return _IFPC.m[a]}return null}
function ig_hb(){return _IFPC.$+_IFPC.ya++}function ig_ib(a){return(a+"").indexOf(_IFPC.$)==0}function ig_jb(a){var b=a.split("&");for(var c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);try{d=ig_5.parse(d)}catch(e){}b[c]=d}return b}function ig_kb(a){var b=[];for(var c=0;c<a.length;c++){var d=ig_5.stringify(a[c]);b.push(encodeURIComponent(d))}return b.join("&")}function ig_lb(a){var b=_IFPC.Ea(a);if(b){var c=[];for(var d=1;d<arguments.length;d++){c[c.length]=arguments[d]}b.apply(null,c);_IFPC.Va(a)}else{throw new Error("Invalid callbackId");}}var _IFPC={registerService:ig_9a,unregisterService:ig_$a,call:ig_ab,clear:ig_bb,relayRequest:ig_6,processRequest:ig_6,handleRequest:ig_cb,$:"cbid",aa:"ifpc_callback",ja:new ig_8a,k:{},z:{},m:{},ya:0,ea:0,Ha:ig_db,Ra:ig_eb,Va:ig_fb,Ea:ig_gb,Ga:ig_hb,Ka:ig_ib,P:ig_jb,ha:ig_kb,za:ig_lb};_IFPC.registerService(_IFPC.aa,_IFPC.za);var ig_7={obj:null,init:function(a,b){a.onmousedown=ig_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.qa);a.onmousedown=null;a.obj=null;b.onDragStart=null;b.onDragEnd=null;b.onDrag=null},start:function(a){var b=ig_7.obj=this.obj;a=ig_7.fixE(a);if(a.which!=1){return true}b.onDragStart(a);var c=a.clientY;if(!ig_.la){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.qa=window.setInterval(ig_mb(b,ig_nb()),10);document.onmouseup=ig_7.end;document.onmousemove=ig_7.drag;return false},drag:function(a){a=ig_7.fixE(a);if(a.which==0){return ig_7.end()}var b=ig_7.obj,c=a.clientY;if(!ig_.la){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_7.fixE(a);document.onmousemove=null;document.onmouseup=null;window.clearInterval(ig_7.obj.qa);var b=ig_7.obj.onDragEnd();ig_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 ig_ob(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_.A=a;ig_.u=b;ig_.o=ig_ob(ig_.A,"div","yui-u");if(_old_html){ig_.pa=ig_.A.tBodies[0].rows[0];ig_.o=ig_.pa.cells}ig_.g=[];var c=0;for(var d=0;d<ig_.o.length;d++){var e=ig_.o[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_.g[c]=g.className!="dm"?new ig_pb(g):new ig_qb(g);c++}}}_IG_AddEventHandler("unload",ig_8)};function ig_8(){for(var a=0;a<ig_.g.length;a++){ig_.g[a].ga();ig_.g[a]=null}ig_.g=null;ig_.o=null;if(_old_html){ig_.pa=null}ig_.A=null}var ig_={};ig_.Z=navigator.userAgent;ig_.La=ig_.Z.indexOf("Gecko")!=-1;ig_.ka=ig_.Z.indexOf("Opera")!=-1;ig_.la=ig_.Z.indexOf("Safari")!=-1;ig_.ca="IG_pageDivMaskId";ig_.ba="IG_moduleDivMaskId";ig_.Wa=function(){ig_.A.style.display=
"none"};ig_.Xa=function(){ig_.A.style.display=""};ig_.l=null;ig_.C=function(){if(!ig_.l){ig_.l=document.createElement("DIV");ig_.l.className="modbox";ig_.l.backgroundColor="";ig_.l.style.border="2px dashed #aaa";ig_.l.innerHTML="&nbsp;"}return ig_.l};ig_.n=function(a,b){return function(){return a[b].apply(a,arguments)}};ig_.xa=function(){if(ig_.u){var a=ig_.u.getElementsByTagName("LI");if(_old_html){a=ig_.u.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_.q(c,true);c.pagePosRight=c.pagePosLeft+c.offsetWidth;c.pagePosTop=ig_.q(c,false);c.pagePosBottom=c.pagePosTop+c.offsetHeight}}};ig_.wa=function(a){for(var b=0;b<ig_.g.length;b++){var c=ig_.g[b];c.a.pagePosLeft=ig_.q(c.a,true);c.a.pagePosTop=ig_.q(c.a,false)}var d=a.a.nextSibling;while(d){d.pagePosTop-=a.a.offsetHeight;d=d.nextSibling}};ig_.q=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_.va=function(a){ig_.oa();var b=document.createElement("DIV");b.id=ig_.ca;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()";b.style.zIndex="9999";document.body.appendChild(b);if(a.Ia){b=b.cloneNode(true);b.id=ig_.ba;b.style.height=a.a.offsetHeight-a.h.offsetHeight+"px";b.style.top=a.h.offsetHeight+"px";a.a.appendChild(b)}};ig_.oa=function(){var a=[ig_.ba,ig_.ca];for(var b=0;b<a.length;b++){var c=_gel(a[b]);if(c){c.parentNode.removeChild(c);c=null}}};ig_.Sa=function(){var a="";for(var b=0;b<ig_.o.length;b++){var c=ig_.o[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_qb(a){this.ga=ig_rb;this.a=a;this.a.innerHTML="<br />"}function ig_rb(){this.a=null}function ig_pb(a){this._urlMouseUp=ig_sb;this._urlMouseDown=ig_tb;this._urlClick=ig_ub;this._dragStart=ig_vb;this._drag=ig_wb;this._dragEnd=ig_xb;this.Da=ig_yb;this.J=ig_zb;this.ga=ig_Ab;this.v=false;this.a=a;this.h=_gel(a.id+"_h");this.d=_gel(a.id+"_url");this.Ia=this.a.getElementsByTagName("IFRAME").length>0;this.a.DND_Module=this;if(this.h){this.h.style.cursor="move";ig_7.init(this.h,this.a);this.a.onDragStart=ig_.n(this,"_dragStart");this.a.onDrag=ig_.n(this,"_drag");this.a.onDragEnd=ig_.n(this,"_dragEnd");if(this.d){this.d.style.cursor="pointer";if(ig_.La){this.d.onmousedown=ig_.n(this,"_urlMouseDown");this.d.onclick=ig_.n(this,"_urlClick")}else{this.d.onmouseup=ig_.n(this,"_urlMouseUp")}}}}function ig_Ab(){if(this.h){if(this.d){this.d.onclick=null;this.d.onmouseup=null;this.d=null}ig_7.uninit(this.h,this.a);this.a.onDragStart=null;this.a.onDrag=null;this.a.onDragEnd=null;this.h=null}this.a=
null}function ig_sb(a){a=ig_7.fixE(a);if(this.v||!this.d||!this.d.href||a.which!=1){return true}this.J("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_tb(a){a=ig_7.fixE(a);a.stopPropagation();return true}function ig_ub(a){if(!this.v&&this.d&&this.d.href){this.J("titleclick");return true}return false}function ig_vb(a){ig_.wa(this);ig_.xa();this.origNextSibling=this.a.nextSibling;var b=ig_.C(),c=this.a.offsetHeight;c-=parseInt(b.style.borderTopWidth,10)*2;var d=this.a.offsetWidth,e=ig_.q(this.a,true),f=ig_.q(this.a,false);this.a.style.width=d+"px";b.style.height=c+"px";this.a.parentNode.insertBefore(b,this.a.nextSibling);this.a.style.position="absolute";this.a.style.zIndex=10000;this.a.style.left=e+"px";this.a.style.top=f+"px";ig_.va(this);this.v=false;return false}function ig_Bb(){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_wb(a,b){if(!this.v){this.a.style.filter="alpha(opacity=50)";this.a.style.opacity=0.5;this.v=true;this.J("dragstart")}var c=null,d=100000000;for(var e=0;e<ig_.g.length;e++){var f=ig_.g[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.j=null;if(ig_.u){var i=ig_.u.getElementsByTagName("LI");if(_old_html){i=ig_.u.tBodies[0].rows[0].cells}for(var e=0;e<i.length;e++){var f=i[e];if(!f.isDraggableTo)continue;var j=ig_Bb();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.j=
f;var k=ig_.C();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.j){if(f.className.indexOf(" tab_hover")<0){f.className+=" tab_hover"}}else{f.className=f.className.replace(/ tab_hover/g,"")}}}}var k=ig_.C();if(this.j==null&&c!=null&&k.nextSibling!=c.a){c.a.parentNode.insertBefore(k,c.a);if(ig_.ka){document.body.style.display="none";document.body.style.display=""}}}function ig_xb(){ig_.oa();if(this.Da()){ig_.Sa()}if(this.j){var a=
this.j.id.match(/tab(\d+)_/)[1],b=this.a.id.match(/m_(\d+)/)[1];_xsetp("mt="+b+":"+a);this.a.style.display="none";this.j.className=this.j.className.replace(/ tab_hover/g,"")}_hideNewUserTip();if(this.v){this.J("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_yb(){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_.C();if(b.parentNode!=null){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.a,b.nextSibling);a=true}b.parentNode.removeChild(b)}if(ig_.ka){document.body.style.display="none";document.body.style.display=""}return a}function ig_zb(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_mb(a,b){return function(){var c=ig_Cb(),d=ig_Bb(),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_Cb(){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_nb(){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_9={BG_Z_INDEX:100,MODULE_Z_INDEX:101,PADDING_HEIGHT:50,PADDING_WIDTH:50},ig_Db=0;function ig_$(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_9.PADDING_WIDTH+"px";a.style.height=i-2*ig_9.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_9.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_9.PADDING_WIDTH+"px";a.style.top=c.offsetTop+ig_9.PADDING_HEIGHT+"px";a.style.left=c.offsetLeft+ig_9.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_$(a,"cover");ig_$(b,"iframe");ig_$(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_Db}else{ig_Db=b.style.width}d.style.zIndex=h?"":ig_9.BG_Z_INDEX;b.style.zIndex=h?"":ig_9.MODULE_Z_INDEX;if(!h){ig_S(d,true);ig_S(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_8()}if(h){c.className=c.className.replace(/shrinkbox/,"enlargebox")}else{c.className=c.className.replace(/enlargebox/,"shrinkbox")}var m=_gel("m_"+a+"_zippy");if(m){m.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)}}};