var DragUtil=new Object();DragUtil.getUserAgent=navigator.userAgent;DragUtil.isGecko=DragUtil.getUserAgent.indexOf("Gecko")!=-1;DragUtil.isOpera=DragUtil.getUserAgent.indexOf("Opera")!=-1;DragUtil.isSafari=DragUtil.getUserAgent.indexOf("Safari")!=-1;DragUtil.isIE=DragUtil.getUserAgent.indexOf("MSIE")!=-1;DragUtil.qa="DS_pageDivMaskId";DragUtil.oa="DS_moduleDivMaskId";DragUtil.getOffset=function(a,g){var f=0,c=0;if(a&&a.offsetParent&&a.offsetParent.id){if(g){a=a.offsetParent}else{var b=a.offsetParent.getElementsByTagName(a.tagName);if(b&&b[0]){c=b[0].offsetTop}}}while(a){f+=a["offset"+(g?"Left":"Top")];a=a.offsetParent}return f-c};DragUtil.ghostElement=null;DragUtil.getGhostElement=function(){if(!DragUtil.ghostElement){DragUtil.ghostElement=document.createElement("DIV");DragUtil.ghostElement.className="modbox";DragUtil.ghostElement.backgroundColor="";DragUtil.ghostElement.style.border="2px dashed #aaa";DragUtil.ghostElement.innerHTML="&nbsp;"}return DragUtil.ghostElement};DragUtil.bindFunction=function(a,b){return function(){return a[b].apply(a,arguments)}};DragUtil.Qa=function(){if(DragUtil.tabs){var e=DragUtil.tabs.getElementsByTagName("LI");if(false){e=DragUtil.tabs.tBodies[0].rows[0].cells}for(var d=0;d<e.length;d++){var f=e[d];if(f.className.indexOf("unselectedtab")<0){continue}if(f.style.display=="none"){continue}f.isDraggableTo=true;f.pagePosLeft=DragUtil.getOffset(f,true);f.pagePosRight=f.pagePosLeft+f.offsetWidth;f.pagePosTop=DragUtil.getOffset(f,false);f.pagePosBottom=f.pagePosTop+f.offsetHeight}}};DragUtil.re_calcOff=function(b){for(var a=0;a<DragUtil.dragArray.length;a++){var c=DragUtil.dragArray[a];c.elm.pagePosLeft=DragUtil.getOffset(c.elm,true);c.elm.pagePosTop=DragUtil.getOffset(c.elm,false)}var d=b.elm.nextSibling;while(d){d.pagePosTop-=b.elm.offsetHeight;d=d.nextSibling}};DragUtil.hide=function(){DragUtil.rootElement.style.display="none"};DragUtil.show=function(){DragUtil.rootElement.style.display=""};DragUtil.getSortIndex=function(){var a=["col_1","col_2","col_3","col_4"];var d="";for(var c=0;c<a.length;c++){d+=a[c]+":";var b=_gel(a[c]);if(b==null){continue}d+=getColElements;d+="\n"}return d};DragUtil.getColElements=function(b){var e="";var d=b.childNodes;for(var a=0;a<d.length;a++){var c=d[a].getAttribute("id");if(c!=null&&c.indexOf("m_")!=-1&&c.lastIndexOf("_")==1){var f=c.substring(2);if(a!=0){e+=","}e+=f}}return e};DragUtil.sa=function(d){DragUtil.ha();var c=document.createElement("DIV");c.id=DragUtil.qa;c.innerHTML="&nbsp;";c.style.position="absolute";c.style.width="100%";c.style.height=document.body.offsetHeight+"px";c.style.left="0px";c.style.top="0px";c.style.backgroundImage="url(images/cleardot.gif)";c.style.zIndex="9999";document.body.appendChild(c);if(d.ab){c=c.cloneNode(true);c.id=DragUtil.oa;c.style.height=d.elm.offsetHeight-d.header.offsetHeight+"px";c.style.top=d.header.offsetHeight+"px";d.elm.appendChild(c)}};DragUtil.ha=function(){var e=[DragUtil.oa,DragUtil.qa];for(var d=0;d<e.length;d++){var f=_gel(e[d]);if(f){f.parentNode.removeChild(f);f=null}}};DragUtil.gb=function(){var g="";for(var f=0;f<DragUtil.column.length;f++){var j=DragUtil.column[f];for(var i=0;i<j.childNodes.length-1;i++){var h=j.childNodes[i];if(h.tagName=="DIV"){g+=g!=""?":":"";g+=h.id.substring(2)+"_"+j.id.substring(2)}}}_xsetp("mp="+_esc(g))};DragUtil.ia=function(f,e){var d="pane"+f.id.substring(4);var g=DragUtil.getColElements(f);_xsetp("panename="+_esc(d)+"&modules_mp="+g+"&action="+_esc(e))};function undraggable(a){this.E=function(){this.elm=null};this.elm=a;this.elm.innerHTML="<br />"}function draggable(a){this._urlMouseUp=ds__;this._urlMouseDown=ds_Z;this._urlClick=ds_Y;this._dragStart=start_Drag;this._drag=when_Drag;this._dragEnd=end_Drag;this._afterDrag=after_Drag;this.M=ds_X;this.E=ds_v;this.isDragging=false;this.elm=a;this.header=_gel(a.id+"_h");this.url=_gel(a.id+"_url");this.hasIFrame=this.elm.getElementsByTagName("IFRAME").length>0;this.elm.DND_Module=this;if(this.header){this.header.style.cursor="move";Drag.init(this.header,this.elm);this.elm.onDragStart=DragUtil.bindFunction(this,"_dragStart");this.elm.onDrag=DragUtil.bindFunction(this,"_drag");this.elm.onDragEnd=DragUtil.bindFunction(this,"_dragEnd");if(this.url){this.url.style.cursor="pointer";if(DragUtil.isGecko){this.url.onmousedown=DragUtil.bindFunction(this,"_urlMouseDown");this.url.onclick=DragUtil.bindFunction(this,"_urlClick")}else{this.url.onmouseup=DragUtil.bindFunction(this,"_urlMouseUp")}}}}function ds_v(){if(this.header){if(this.url){this.url.onclick=null;this.url.onmouseup=null;this.url=null}Drag.uninit(this.header,this.elm);this.elm.onDragStart=null;this.elm.onDrag=null;this.elm.onDragEnd=null;this.header=null}this.elm=null}function ds__(b){b=Drag.fixE(b);if(this.i||!this.url||!this.url.href||b.which!=1){return true}this.M("titleclick");if(this.url.target||b.shiftKey){window.open(this.url.href,this.url.target)}else{document.location=this.url.href}return false}function ds_Z(b){b=Drag.fixE(b);b.stopPropagation();return true}function ds_Y(b){if(!this.isDragging&&this.url&&this.url.href){this.M("titleclick");return true}return false}function start_Drag(){DragUtil.re_calcOff(this);DragUtil.Qa();this.origNextSibling=this.elm.nextSibling;var c=DragUtil.getGhostElement();var e=this.elm.offsetHeight;e-=parseInt(c.style.borderTopWidth)*2;var a=this.elm.offsetWidth;var d=DragUtil.getOffset(this.elm,true);var b=DragUtil.getOffset(this.elm,false);if(DragUtil.isIE){}DragUtil.hide();this.elm.style.width=a+"px";c.style.height=e+"px";this.elm.parentNode.insertBefore(c,this.elm.nextSibling);this.elm.style.position="absolute";this.elm.style.zIndex=10000;this.elm.style.left=d+"px";this.elm.style.top=b+"px";DragUtil.show();DragUtil.sa(this);this.isDragging=false;return false}function when_Drag(c,b){if(!this.isDragging){this.elm.style.filter="alpha(opacity=50)";this.elm.style.opacity=0.5;this.isDragging=true}var p=null;var l=100000000;for(var g=0;g<DragUtil.dragArray.length;g++){var q=DragUtil.dragArray[g];var a=Math.sqrt(Math.pow(c-q.elm.pagePosLeft,2)+Math.pow(b-q.elm.pagePosTop,2));if(q==this){continue}if(isNaN(a)){continue}if(a<l){l=a;p=q}}this.n=null;if(DragUtil.tabs){var k=DragUtil.tabs.getElementsByTagName("LI");for(var o=0;o<k.length;o++){var n=k[o];if(!n.isDraggableTo){continue}var g=ds_getSrollXY();if(this.elm.lastMouseX>=n.pagePosLeft&&this.elm.lastMouseX<=n.pagePosRight&&this.elm.lastMouseY+g[1]>=n.pagePosTop&&this.elm.lastMouseY+g[1]<=n.pagePosBottom){this.n=n;var d=DragUtil.getGhostElement();if(d.parentNode!=null){d.parentNode.removeChild(d)}break}}for(var o=0;o<k.length;o++){var n=k[o];if(n.id.indexOf("view")>=0){if(n==this.n){if(n.className.indexOf(" tab_hover")<0){n.className+=" tab_hover"}}else{n.className=n.className.replace(/ tab_hover/g,"")}}}}var m=DragUtil.getGhostElement();if(this.n==null&&p!=null&&m.nextSibling!=p.elm){p.elm.parentNode.insertBefore(m,p.elm);this.elm.style.width=m.offsetWidth+"px";if(DragUtil.isOpera){document.body.style.display="none";document.body.style.display=""}}}function end_Drag(){DragUtil.ha();if(this.n){var f=this.n.id.match(/tab(\d+)_/)[1],e=this.elm.id.match(/m_(\d+)/)[1];_xsetp("mt="+e+":"+f);this.elm.style.display="none";this.n.className=this.n.className.replace(/ tab_hover/g,"")}else{if(this._afterDrag()){var g=_gel(this.elm.parentNode.id);DragUtil.ia(g,"move")}}if(!_uli){var i=_gel("new_user_tip");if(i){i.style.display="none"}var h=_gel("new_user_save");if(h){h.style.display="block"}}if(this.isDragging){this.M("dragend")}return true}function after_Drag(){var a=false;this.elm.style.position="";this.elm.style.width="";this.elm.style.zIndex="";this.elm.style.filter="";this.elm.style.opacity="";window.scrollBy(0,0);var b=DragUtil.getGhostElement();if(b.parentNode!=null){if(b.nextSibling!=this.origNextSibling){b.parentNode.insertBefore(this.elm,b.nextSibling);a=true}b.parentNode.removeChild(b)}if(DragUtil.isOpera){document.body.style.display="none";document.body.style.display=""}return a}var Drag={obj:null,init:function(b,a){b.onmousedown=Drag.start;b.obj=a;if(isNaN(parseInt(a.style.left))){a.style.left="0px"}if(isNaN(parseInt(a.style.top))){a.style.top="0px"}a.onDragStart=new Function();a.onDragEnd=new Function();a.onDrag=new Function()},uninit:function(b,a){window.clearInterval(a.Ja);b.onmousedown=null;b.obj=null;a.onDragStart=null;a.onDragEnd=null;a.onDrag=null},start:function(b){var a=Drag.obj=this.obj;b=Drag.fixE(b);if(b.which!=1){return true}a.onDragStart();a.lastMouseX=b.clientX;a.lastMouseY=b.clientY;if(DragUtil.isSafari){a.lastMouseY-=document.body.scrollTop}a.Ja=window.setInterval(ds_windowScroll(a,ds_getScrollHeight()),10);document.onmouseup=Drag.end;document.onmousemove=Drag.drag;return false},drag:function(f){f=Drag.fixE(f);if(f.which==0){return Drag.end()}var e=Drag.obj;var c=f.clientY;if(DragUtil.isSafari){c-=document.body.scrollTop}var d=f.clientX;if(e.lastMouseX==d&&e.lastMouseY==c){return false}var a=parseInt(e.style.top);var b=parseInt(e.style.left);var h,g;h=b+d-e.lastMouseX;g=a+c-e.lastMouseY;e.style.left=h+"px";e.style.top=g+"px";e.lastMouseX=d;e.lastMouseY=c;e.onDrag(h,g);return false},end:function(b){b=Drag.fixE(b);document.onmousemove=null;document.onmouseup=null;window.clearInterval(Drag.obj.Ja);var a=Drag.obj.onDragEnd();Drag.obj=null;return a},fixE:function(a){if(typeof a=="undefined"){a=window.event}if(typeof a.layerX=="undefined"){a.layerX=a.offsetX}if(typeof a.layerY=="undefined"){a.layerY=a.offsetY}if(typeof a.which=="undefined"){a.which=a.button}return a}};function ds_X(b){switch(b){case"titleclick":_DS_TriggerModuleEvent(this.elm.id,b,this.url.href);_DS_TriggerEvent("module"+b,this.elm.id,this.url.href);break;case"dragstart":case"dragend":_DS_TriggerDelayedModuleEvent(this.elm.id,b);_DS_TriggerDelayedEvent("module"+b,this.elm.id);break}}function ds_windowScroll(b,a){return function(){var r=ds_getClientHeight(),q=ds_getSrollXY(),p=q[1],o=4,n=0.05*r,m=p,l=b.offsetTop;if(b.lastMouseY<=n){l=b.offsetTop-o;m=p-o}else{if(b.lastMouseY>=r-n){l=Math.min(a-b.offsetHeight,b.offsetTop+o);m=Math.min(a-r,p+o)}}var k=m-p;if(k!=0){window.scrollBy(0,k);b.style.top=l+"px"}}}function ds_getSrollXY(){var d=0,c=0;if(typeof window.pageYOffset=="number"){d=window.pageXOffset;c=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){d=document.body.scrollLeft;c=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){d=document.documentElement.scrollLeft;c=document.documentElement.scrollTop}}}return[d,c]}function ds_getClientHeight(){var b;if(window.innerHeight){b=window.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){b=document.documentElement.clientHeight}else{b=document.body.offsetHeight}}if(b<document.body.clientHeight){return b}return document.body.clientHeight}function ds_getScrollHeight(){if(document.body.scrollHeight>document.documentElement.clientHeight){return document.body.scrollHeight}else{return document.documentElement.clientHeight}}function ds_gb(j,i,p){var o=i=="*"&&j.all?j.all:j.getElementsByTagName(i),n=[];p=p.replace(/\-/g,"\\-");var m=new RegExp("(^|\\s)"+p+"(\\s|$)"),l;for(var k=0;k<o.length;k++){l=o[k];if(m.test(l.className)){n.push(l)}}return n}var _DS_initDrag=function(f,e){DragUtil.rootElement=f;DragUtil.tabs=e;DragUtil.column=ds_gb(DragUtil.rootElement,"div","yui-u");DragUtil._rows=DragUtil.rootElement.tBodies[0].rows[0];DragUtil.column=DragUtil._rows.cells;DragUtil.dragArray=[];var b=0;for(var d=0;d<DragUtil.column.length;d++){var g=DragUtil.column[d];if(g.className.indexOf("ds_dnd_fixex_col")!=-1){continue}for(var c=0;c<g.childNodes.length;c++){var a=g.childNodes[c];if(a.tagName=="DIV"){DragUtil.dragArray[b]=a.className!="dm"?new draggable(a):new undraggable(a);b++}}}};function ds_s(e,d){var f=function(){};f.prototype=e.prototype;d.prototype=new f}function _gel(b){return document.getElementById?document.getElementById(b):null}function _gelstn(b){if(b=="*"&&document.all){return document.all}return document.getElementsByTagName?document.getElementsByTagName(b):[]}function _uc(b){return b.toUpperCase()}function _trim(b){return b.replace(/^\s*|\s*$/g,"")}function _esc(b){return window.encodeURIComponent?encodeURIComponent(b):escape(b)}var ds_rb=function(b){return window.decodeURIComponent?decodeURIComponent(b):unescape(b)},_unesc=ds_rb;function _toggle(b){if(b.style.display==""||b.style.display=="block"){b.style.display="none"}else{if(b.style.display=="none"){b.style.display="block"}}}function _hesc(b){b=b.replace(/</g,"&lt;").replace(/>/g,"&gt;");b=b.replace(/"/g,"&quot;").replace(/'/g,"&#39;");return b}function _striptags(b){return b.replace(/<\/?[^>]+>/gi,"")}var ds_qb=0;function _uid(){return"obj"+ds_qb++}function _min(d,c){return d<c?d:c}function _max(d,c){return d>c?d:c}function _editedTabName(){return _gel("tab"+_cet+"_title").value}function _sendx(g,f,j,i){var h=ds_sb();if(!i){i=null}h.open(i?"POST":"GET",g,true);if(i){h.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}if(f){h.onreadystatechange=function(){if(h.readyState==4){f(j&&h.responseXML?h.responseXML:h.responseText)}}}h.send(i)}function _uhc(g,f,j){var i="m_"+g+"_"+f,h=_gel(i);if(!h){h=document.createElement("INPUT");h.type="hidden";h.disabled=true;h.name=i;_gel("m_"+g+"_form").appendChild(h)}h.value=j;h.disabled=false}function ds_sb(){var b=null;if(window.ActiveXObject){b=new ActiveXObject("Msxml2.XMLHTTP");if(!b){b=new ActiveXObject("Microsoft.XMLHTTP")}}else{if(window.XMLHttpRequest){b=new XMLHttpRequest}}return b}var _et="",_source="",_pid="",_authpath="",_prefid="",_setp_url=forumpath+"setp.aspx",_old_html=true,ds_l=null,ds_m=null;var ds_b={T:0,La:1800,da:null,ca:null,ka:function(){ds_b.T=(new Date).getTime()+ds_b.La*1000},eb:function(){if((new Date).getTime()>ds_b.T){_reload(ds_b.T)}},fa:function(b){ds_b.ka();if(ds_b.da){ds_b.da(b)}},ea:function(b){ds_b.ka();if(ds_b.ca){ds_b.ca(b)}}};function _DS_start_refresh_cycle(d,c){ds_b.da=document.onmousedown;ds_b.ca=document.onkeyup;ds_b.La=d;if(document.addEventListener){document.addEventListener("keyup",ds_b.ea,false);document.addEventListener("mousedown",ds_b.fa,false)}else{if(document.attachEvent){document.attachEvent("onkeyup",ds_b.ea);document.attachEvent("onmousedown",ds_b.fa)}else{document.onkeyup=ds_b.ea;document.onmousedown=ds_b.fa}}ds_b.ka();setInterval(ds_b.eb,c*1000)}function _DS_GetImageUrl(d){var c=forumpath+"proxy.aspx?url="+_esc(d);return _et!=""?c+"&et="+_et:c}function _DS_GetImage(d){var c=new Image;c.src=_DS_GetImageUrl(d);return c}function _findPos(e){var d=0,f=0;while(e!=null){d+=e.offsetLeft;f+=e.offsetTop;e=e.offsetParent}return[d,f]}function _getGadgetContainer(d){var c=_gel("m_"+d+"_b");if(!c){c=_gel("remote_"+d);if(!c){c=document.body}}return c}function _zm(g,f){var j=_gel("m_"+g+"_b");if(j){var i=j.style.display!="none";j.style.display=i?"none":"block";var h=_gel("m_"+g+"_zippy");if(h){if(i){h.className=h.className.replace(/minbox/,"maxbox")}else{h.className=h.className.replace(/maxbox/,"minbox")}}_xsetp("mz="+g+":"+(i?"1":"0")+"&t="+f);ds_j(i?"zip":"unzip",g)}return false}function ds_O(){_DS_TriggerDelayedEvent("xsetpdone");ds_N()}function _xsetp(b){ds_t.push(b);if(!ds_u){ds_N()}}function _dlsetp(d,c){if(!c){c=_esc(document.location)}document.location=_setp_url+ds_i()+"et="+_et+"&source="+_source+"&pid="+_pid+"&ap="+_authpath+"&prefid="+_prefid+"&url="+c+"&"+d}function _ssbc(g,f,j){var i=_gelstn("*");for(var h=0;h<i.length;h++){if(i[h].className==g){i[h].style[f]=j}}}function ds_kb(f){var e=_gelstn("*");for(var h=0;h<e.length;h++){for(var g=0;g<f.length;g++){if(e[h].className==f[g][0]){e[h].style[f[g][1]]=f[g][2]}}}}function ds_d(b,e,a){var c=document.createElement("input");c.type="hidden";c.name=e;c.value=a;b.appendChild(c)}function _args(){var i={},h=document.location.search.substring(1),n=h.split("&");for(var m=0;m<n.length;m++){var l=n[m].indexOf("=");if(l==-1){continue}var k=n[m].substring(0,l),j=n[m].substring(l+1);j=j.replace(/\+/g," ");i[k]=_unesc(j)}return i}function ds_i(){var f={pid:1,host:1,hl:1,uid:1},e=_args(),h="?";for(var g in e){if(g=="extend"){continue}if(f[g]){h+=g+"="+_esc(e[g])+"&"}}return h}function _fsetp(c,a,b){c.action=_setp_url;c.method="get";ds_d(c,"url",document.location);ds_d(c,"et",_et);ds_d(c,"source",_source);ds_d(c,"pid",_pid);ds_d(c,"ap",_authpath);ds_d(c,"prefid",_prefid);ds_d(c,"m_"+a+"_t",b);ds_d(c,"mid",a);var i=_args(),h=i.host,g=i.hl;if(typeof h!="undefined"){ds_d(c,"host",h)}if(typeof g!="undefined"){ds_d(c,"hl",g)}return true}var ds_t=[],ds_u=false;function ds_N(){if(ds_t.length==0){ds_u=false;return}ds_u=true;var e=_setp_url+ds_i()+"et="+_et+"&pid="+_pid+"&ap="+_authpath+"&source="+_source+"&prefid="+_prefid,d=ds_t.shift(),f=e.length+d.length>=1800;if(f){_sendx(e,ds_O,false,d)}else{e+="&"+d;_sendx(e,ds_O,false,null)}}function _edit(d,c){_gel("m_"+d).className="modbox_e";if(c){c()}ds_j("edit","m_"+d);return false}function _cedit(d){_gel("m_"+d).className="modbox";var c=_gel("m_"+d+"_form");c.reset();ds_j("canceledit","m_"+d);return false}function _confirmDel(g,f,j,i){var h=_gel("m_"+g+"_title").innerHTML;i=i.replace(/MODULE_TITLE/,'"'+h+'"');if(confirm(i)){_del(g,f,j)}}function _del(i,h,n){_xsetp("action=delmodule&m="+i+"&m_"+i+"_t="+h);var m=_gel("undel_msg");if(m){_gel("undel_title").innerHTML=_striptags(_gel("m_"+i+"_h").innerHTML)+" ";m.style.display="block";var l=_gel("undo_msg");if(l){l.style.display="none"}}var k=_gel("m_"+i);if(k){k.style.display="none"}ds_l=i;ds_m=n;var j=_gel(n);if(j){j.style.display=""}_mod=true;ds_j("delete","m_"+i);return false}function _reload(d){var c=d-(new Date).getTime();if(c>1000){setTimeout("_reload("+d+")",c);return}document.cookie="IGREL=1";document.location.reload()}function ds_j(d,c){switch(d){case"delete":case"undelete":case"edit":case"canceledit":case"zip":case"unzip":break}}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=false,ds_J=false,ds_K=false,_table=null,_tabs=null,_insert_to_col=1;function _upc(){var b=[];if(!_cbp){b[b.length]=["medit","display",_uli?"":"none"]}b[b.length]=["panelo","display",_pnlo?"":"none"];b[b.length]=["panelc","display",_pnlo?"none":""];if(_mod){b[b.length]=["unmod","display","none"];b[b.length]=["mod","display",""]}else{b[b.length]=["mod","display","none"];b[b.length]=["unmod","display",""]}ds_kb(b);if(_pl){if(_cbp||_uli){if(!ds_J&&!_mpnlo){_DS_initDrag(_table,_tabs);ds_J=true}}}}function _add_m(d,c){_dlsetp(d+"&col="+_insert_to_col,c)}function _add_m_confirm(e,d,f){if(confirm(d)){_add_m(e,f)}}var ds_D=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/;function _add_remote_module(e,d,f){_sendx(forumpath+"feeds.aspx"+ds_i()+"module=1&url="+_esc(e)+"&tab="+_esc(f),function(a){d();ds_5a(a)},false,null);return false}function ds_5a(a){var b=/^alert\(\"[^"]+\"\)$/;if(a.match(ds_D)!=null||a.match(b)!=null){eval(a)}}var _cet=-1;function _editTab(b){if(_cet!=-1){return}_renameTab();_cet=b;_gel("tab"+_cet+"_view").style.display="none";_gel("tab"+_cet+"_edit").style.display="";_gel("tab"+_cet+"_title").select();_gel("tab"+_cet+"_title").focus()}function _renameTab(){if(_cet==-1){return}var d=_editedTabName();_xsetp("action=renametab&t="+_cet+"&rt_"+_cet+"="+_esc(d));_gel("tab"+_cet+"_view_title").innerHTML=_hesc(d);var c=_gel("tip_tabtitle");if(c){c.innerHTML=_hesc(d)}_gel("tab"+_cet+"_edit").style.display="none";_gel("tab"+_cet+"_view").style.display="";_cet=-1;return false}function _DS_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"){ds_fmax(c,d,e)}else{var f=eval("FEED"+a);if(!f.has_entries&&!f.is_fetching){f.is_fetching=true;ds_showfdetail(a,b)}else{for(var g=0;g<f.items.length;g++){var h=_gel("ftl_"+a+"_"+g);if(h){ds_fmax(_gel("ft_"+a+"_"+g),_gel("fb_"+a+"_"+g),h)}}ds_fmin(c,d,e)}}}function ds_showfdetail(a,b){var c=eval("FEED"+a);c.is_fetching=false;if(c&&c.items){for(var e=0;e<c.items.length;e++){var f=_gel("fb_"+a+"_"+e);if(f){f.innerHTML=c.items[e].description}}c.has_entries=true;_DS_FR_toggle(a,b)}}function ds_fgtp(a,b){var feed=eval("FEED"+a);var min=(b-1)*feed.num_items;var max=min+feed.num_items;for(var i=0;i<feed.items.length;i++){var disp=_gel("ftl_"+a+"_"+i).style;if(i>=min&&i<max){disp.display="block"}else{disp.display="none"}}var c=_gel("FEED_"+a+"pages");c.innerHTML="";if(b>1){c.innerHTML+="<a class='prev' onclick='ds_fgtp("+a+", "+(b-1)+");'>上一页</a>"}if(b<feed.page_count){c.innerHTML+="<a class='next' onclick='ds_fgtp("+a+", "+(b+1)+");'>下一页</a>"}feed.current_page=b}function ds_fmax(e,d,f){e.className="fmaxbox";d.style.display="none";f.className="uftl"}function ds_fmin(e,d,f){e.className="fminbox";d.style.display="block";f.className="sftl"}function ds_Ia(f,e){var h=document.createElement("div");h.style.left=-screen.width;h.style.top=-screen.height;h.style.width=f;h.innerHTML=e.innerHTML;document.body.appendChild(h);var g=h.clientHeight;document.body.removeChild(h);return g}function _DS_DD_init(){document.write("<div id=DS_DD_div></div>")}function _DS_DD_create(g,f){var j=document.createElement("div");j.setAttribute("id","DD_"+g);j.onblur=_DS_DD_hide;j.className="dd dd_border";j.style.display="none";var i="";for(var h=0;h<f.length;h++){i+=ds_ia(f[h][0],f[h][1],f[h][2])}j.innerHTML=i;_gel("DS_DD_div").appendChild(j)}function ds_ia(f,e,h){if(e==""){e="javascript:void(0)"}var g="<div class=dd_item onclick='_DS_DD_hide();"+h+";'><a href='"+e+"'>"+f+"</a></div>";return g}function _DS_DD_open(i,h){var n=_gel("DD_"+h),m=_gel("DD_tg_"+h),l=_gel("DS_DD_div");if(n.style.display=="none"){var k=_findPos(m);n.style.display="block";var j=n.offsetWidth;n.style.left=k[0]+m.offsetWidth/2-j/2+"px";n.style.top=k[1]+m.offsetHeight+"px";ds_p=h;l.className="dd_layer";l.onclick=_DS_DD_hide;l.style.height=document.body.clientHeight+document.body.scrollTop+"px";l.style.width=document.body.clientWidth+document.body.scrollLeft+"px"}}function _DS_DD_hide(){if(ds_p){var d=_gel("DD_"+ds_p);d.style.display="none"}var c=_gel("DS_DD_div");c.className="";c.style.height="";c.style.width="";c.onclick=""}function ds__a(){var g=Math.floor(arguments.length/2),f=[];f.push("mid="+this.Fa);for(var j=0;j<g;j++){var i=arguments[j*2],h=arguments[j*2+1];if(_DS_Prefs.$){f.push("m_"+this.Fa+"_up_"+i+"="+_esc(h))}else{f.push(i,h)}this.h[_DS_Prefs.D+i]=h}if(_DS_Prefs.$){_xsetp(f.join("&"))}else{if(_args()["synd"]=="open"){return}_IFPC_SetPref(f)}}function _DS_Prefs(d){this.getString=ds_Wa;this.getInt=ds_Pa;this.getBool=ds_Na;this.getArray=ds_Ma;this.setArray=ds_0a;this.getCountry=ds_Oa;this.getLang=ds_Qa;this.getMsg=ds_Ta;this.getMsgFormatted=ds_Ua;this.set=ds__a;this.getPreloadedString=ds_Va;this.dump=ds_La;if(typeof d=="undefined"){var c=_args()["mid"];if(c){d=c}else{d=0}_DS_Prefs._parseURL(d)}this.getModuleHeight=ds_Ra;this.getModuleWidth=ds_Sa;this.h=_DS_Prefs.h[_DS_Prefs.pa+d]||{};this.v=ds_Ya;this.X=ds_Xa;this.Fa=d;this.db=ds_Za}_DS_Prefs.Ma="h";_DS_Prefs.Na="w";_DS_Prefs.pa="m_";_DS_Prefs.D="up_";_DS_Prefs.N="msg_";_DS_Prefs._parseURL=function(h){_DS_Prefs.$=false;var g=window.location.search.substring(1).split("&");for(var l=0;l<g.length;l++){var k=g[l].indexOf("=");if(k==-1){continue}var j=g[l].substring(0,k);j=j.replace(/\+/g," ");var i=g[l].substring(k+1);i=i.replace(/\+/g," ");i=_unesc(i);if(j.indexOf(_DS_Prefs.D)==0||j.indexOf(_DS_Prefs.N)==0){_DS_Prefs._add(h,j,i)}else{if(j==".lang"||j==".country"){_DS_Prefs._add(h,_DS_Prefs.D+j,i)}}}};_DS_Prefs._add=function(f,e,h){var g=_DS_Prefs.pa+f;if(typeof _DS_Prefs.h[g]!="object"){_DS_Prefs.h[g]={}}_DS_Prefs.h[g][e]=h};_DS_Prefs._arrayToStr=function(f){var e=f.length&&f.join;if(e){var h=[];for(var g=0;g<f.length;g++){h.push(f[g].replace(/\|/g,"%7C"))}return h.join("|")}else{return new String(f)}};_DS_Prefs._strToArray=function(e){var d=e.length>0?e.split("|"):[];for(var f=0;f<d.length;f++){d[f]=d[f].replace(/%7C/g,"|")}return d};_DS_Prefs.h={};_DS_Prefs.$=true;function _PrefListApp(j,i,p,o,n){var m=typeof p=="string"?[]:p,l=new _ListApp(m,o,n);for(var k in l){this[k]=l[k]}if(typeof p=="string"){this.Ga(p)}this.prefidx=j;this.prefname=i;this.app_name="m_"+n+"_"+j+"_App";this.display_area=_gel("m_"+n+"_"+j+"_disp");this.value_input_field=_gel("m_"+n+"_"+j+"_val");this.name_input_field=this.value_input_field;this.default_name="";this.default_value="";this.Y=_PrefListApp_get_tail}function _PrefListApp_get_tail(e,d){var f="</table>";_gel("m_"+this.module_id+"_"+this.prefidx).value=this.Ka();return f}_PrefListApp.prototype.Ga=function(g){if(g.length==0){return}var f=_DS_Prefs._strToArray(g),j=[];for(var i=0;i<f.length;i++){var h=new this.item_constructor(f[i],f[i],-1);j[j.length]=h}this.items=j;this.prev_items=[].concat(j)};_PrefListApp.prototype.Ka=function(){var d=[];for(var c=0;c<this.items.length;c++){d[d.length]=this.items[c]._v}return _DS_Prefs._arrayToStr(d)};function _ListItem(e,d,f){this._n=e;this._v=d;this._uid=f}_ListItem.prototype.w=function(){return this._n!=""};_ListItem.prototype.t=function(b){return 0};_ListItem.prototype.C=function(){return _hesc(this._n)};_ListItem.prototype.m=function(b){return"&"+_esc(this._n)+"="+_esc(this._v)};function _ListApp(e,d,f){this.items=e;this.deleted=[];this.item_constructor=d;this.module_id=f;this.app_name="m_"+f+"_App";this.display_area=_gel("m_"+f+"_disp");this.value_input_field=_gel("m_"+f+"_val");this.name_input_field=_gel("m_"+f+"_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(d,c){return d.t(c)};_ListApp.prototype.Ha=function(){var h="";if(_old_html){h="<table cellspacing=0 cellpadding=0 border=0>"}var g="",l=this.items;for(var k=0;k<l.length;k++){if(!l[k]){this.items.splice(k,1);k--}else{if(_old_html){h+='<tr><td><a href="###" onclick="'+this.app_name+'".del("'+k+')"><img src="images/x.gif" width=16 height=13 border=0></a></td><td nowrap><font size=-1>"'+l[k].C()+"</font></td></tr>"}else{h+='<a href="###" onclick="'+this.app_name+".del("+k+')" class="delbox" style="float:left;margin:1px 3px 0px 0px;"></a>'+l[k].C()+"<br />"}if(parseInt(l[k]._uid)<0){g+=l[k].m(k)}}}var j=this.deleted,i="";for(var k=0;k<j.length;k++){if(parseInt(j[k]._uid)>=0){i+=","+j[k]._uid}}h+=this.Y(g,i);return h};_ListApp.prototype.Y=function(e,d){var f="<input type=hidden name=m_"+this.module_id+'_add value="'+e+'"><input type=hidden name=m_'+this.module_id+'_del value="'+d+'">';if(_old_html){f="</table><input type=hidden name=m_"+this.module_id+'_add value="'+e+'"><input type=hidden name=m_'+this.module_id+'_del value="'+d+'">'}return f};_ListApp.prototype.refresh=function(){this.items.sort(this.sort);this.display_area.innerHTML="<font size=-1>"+this.Ha()+"</font>"};_ListApp.prototype.add=function(e,d){if(!e){e=_trim(this.name_input_field.value)}if(!d){d=_trim(this.value_input_field.value)}var f=new this.item_constructor(e,d,-1);if(!f.w()){return}this.items[this.items.length]=f;this.refresh();this.name_input_field.value=this.default_name;this.value_input_field.value=this.default_value};_ListApp.prototype.del=function(b){this.deleted[this.deleted.length]=this.items[b];this.items.splice(b,1);this.refresh()};var _DS_time={times:{epoch:(new Date).getTime()},set_epoch:function(b){_DS_time.times.epoch=b},epoch:function(){return _DS_time.times.epoch},start:function(b){_DS_time.times[b]=(new Date).getTime()},stop:function(d){var c=_DS_time.times[d]?_DS_time.times[d]:_DS_time.epoch();_DS_time.times[d]=(new Date).getTime()-c},get:function(b){return _DS_time.times[b]},print:function(b){document.write("<div style='color:#999999;font-size:75%'>"+b+" : "+_DS_time.get(b)+"ms</div>")},stop_and_print:function(b){_DS_time.stop(b);_DS_time.print(b)}};if(window._DS_time_epoch){_DS_time.set_epoch(window._DS_time_epoch)}function ds_Wa(e){var d="",f=this.X(e,d);return f!=null?f+"":d}function ds_Pa(e){var d=0,f=parseInt(this.X(e,d));return isNaN(f)?d:f}function ds_Na(b){return this.getInt(b)?true:false}function ds_Ma(b){return _DS_Prefs._strToArray(this.X(b,""))}function ds_0a(d,c){this.set(d,_DS_Prefs._arrayToStr(c))}function ds_Oa(){return this.getString(".country")}function ds_Qa(){return this.getString(".lang")}function ds_Ta(b){return this.v(_DS_Prefs.N+b,"")}function ds_Ua(g,f){var j=this.v(_DS_Prefs.N+g,""),i=j.match(this.db);if(!i||!i[0]){return j}if(!f){var h=i[4]||"";return i[1]+h+i[5]}return i[1]+f+i[5]}function ds_Va(){var d=["__module_id__="+this.Fa];for(var c in this.h){d.push(encodeURIComponent(c)+"="+encodeURIComponent(this.h[c]))}return d.join("&")}function ds_La(){document.write("<pre>");for(var b in this.h){document.writeln(b+" = "+this.v(b,null))}document.write("</pre>")}function ds_Ra(){return parseInt(this.v(_DS_Prefs.Ma,"0"))}function ds_Sa(){return parseInt(this.v(_DS_Prefs.Na,"0"))}function ds_Ya(e,d){if(typeof d=="undefined"){d=null}var f=this.h[e];return typeof f!="undefined"?f:d}function ds_Xa(d,c){return this.v(_DS_Prefs.D+d,c)}var ds_Za=/(.*)(\<ph.*?\>\s*(\<ex\>(.*?)\<\/ex\>)?\s*%1\s*\<\/ph\>)(.*)/;function _DS_RegisterOnloadHandler(b){_DS_AddEventHandler("domload",b)}function ds_Ga(g,f){if(g in ds_a.b){for(var j=0;j<ds_a.b[g].length;j++){if(ds_a.b[g][j]){var i=[];for(var h=1;h<arguments.length;h++){i[i.length]=arguments[h]}ds_a.b[g][j].apply(this,i)}}}}function ds_la(e,d){if(!(e in ds_a.jb)){throwError("Unsupported event type: "+e)}var f=ds_a.Q(e);if(!(f in ds_a.b)){ds_a.b[f]=[]}ds_a.b[f][ds_a.b[f].length]=d}function ds_ma(f,e,h){if(!(e in ds_a.kb)){throwError("Unsupported module event type: "+e)}var g=ds_a.R(f,e);if(!(g in ds_a.b)){ds_a.b[g]=[]}ds_a.b[g][ds_a.b[g].length]=h}function ds_ka(h,g,l){var k=ds_a.xa(h,g);if(!(k in ds_a.b)){ds_a.b[k]=[];var j=function(a){if(!a){a=window.event}ds_a.L.apply(h,[k,a])};if(h.addEventListener){h.addEventListener(g,j,false)}else{if(h.attachEvent){h.attachEvent("on"+g,j)}else{throwError("Object {"+h+"} does not support DOM events.")}}ds_a.F[k]=[h,g,j]}var i=ds_a.b[k].length;if(h===window&&g=="unload"&&i>0){ds_a.b[k][i]=ds_a.b[k][i-1];ds_a.b[k][i-1]=l}else{ds_a.b[k][i]=l}}function ds_ja(e,d){var f=ds_a.P(e);if(!(f in ds_a.b)){ds_a.b[f]=[]}ds_a.b[f][ds_a.b[f].length]=d}function ds_wa(e,d){var f=ds_a.Q(e);return ds_a.H(f,d)}function ds_ya(f,e,h){var g=ds_a.R(f,e);return ds_a.H(g,h)}function ds_va(f,e,h){var g=ds_a.xa(f,e);return ds_a.H(g,h)}function ds_ua(e,d){var f=ds_a.P(e);return ds_a.H(f,d)}function ds_Fa(e,d){var f=ds_a.x([ds_a.Q(e)],arguments,1);ds_a.L.apply(window,f)}function ds_Da(e,d){var f=ds_a.x([],arguments,0);setTimeout(function(){ds_a.triggerEvent.apply(window,f)},0)}function ds_Ha(f,e,h){var g=ds_a.x([ds_a.R(f,e)],arguments,2);ds_a.L.apply(window,g)}function ds_Ea(f,e,h){var g=ds_a.x([],arguments,0);setTimeout(function(){ds_a.triggerModuleEvent.apply(window,g)},0)}function ds_Ba(e,d){var f=ds_a.x([ds_a.P(e)],arguments,1);ds_a.L.apply(window,f)}function ds_Ca(e,d){var f=ds_a.x([],arguments,0);setTimeout(function(){ds_a.triggerCustomEvent.apply(window,f)},0)}var ds_za={domload:1,xsetpdone:1,moduledragstart:1,moduledragend:1,moduletitleclick:1,moduleedit:1,modulecanceledit:1,moduledelete:1,moduleundelete:1,modulezip:1,moduleunzip:1,load:1,unload:1,resize:1},ds_Aa={dragstart:1,dragend:1,titleclick:1,edit:1,canceledit:1,"delete":1,undelete:1,zip:1,unzip:1};function ds_sa(d){var c="ds_event_hashcode_";if(d.hasOwnProperty&&d.hasOwnProperty(c)){return d[c]}if(!d[c]){d[c]=++ds_a.bb}return d[c]}function ds_pa(b){return"builtin_"+b}function ds_qa(d,c){if(d.indexOf&&d.indexOf("m_")==0){d=d.substring(2)}return"builtin_m"+d+"_"+c}function ds_oa(d,c){return"builtin_"+ds_a.Ya(d)+"_"+c}function ds_na(b){return"custom_"+b}function ds_ra(){for(var h in ds_a.b){for(var g=0;g<ds_a.b[h].length;g++){ds_a.b[h][g]=null}if(h in ds_a.F){var l=ds_a.F[h],k=l[0],j=l[1],i=l[2];if(k.removeEventListener){k.removeEventListener(j,i,false)}else{if(k.detachEvent){k.detachEvent("on"+j,i)}}ds_a.F[h]=null}}}function ds_ta(f,e,h){for(var g=h;g<e.length;g++){f[f.length]=e[g]}return f}function ds_xa(e,d){if(e in ds_a.b){for(var f=0;f<ds_a.b[e].length;f++){if(ds_a.b[e][f]===d){ds_a.b[e][f]=null;return true}}}return false}var ds_a={bb:0,b:{},F:{},jb:ds_za,kb:ds_Aa,Ya:ds_sa,Q:ds_pa,R:ds_qa,xa:ds_oa,P:ds_na,Ua:ds_ra,x:ds_ta,H:ds_xa,L:ds_Ga,addEventHandler:ds_la,addModuleEventHandler:ds_ma,addDOMEventHandler:ds_ka,addCustomEventHandler:ds_ja,removeEventHandler:ds_wa,removeModuleEventHandler:ds_ya,removeDOMEventHandler:ds_va,removeCustomEventHandler:ds_ua,triggerEvent:ds_Fa,triggerModuleEvent:ds_Ha,triggerCustomEvent:ds_Ba,triggerDelayedEvent:ds_Da,triggerDelayedModuleEvent:ds_Ea,triggerDelayedCustomEvent:ds_Ca},_DS_AddEventHandler=ds_a.addEventHandler,_DS_AddModuleEventHandler=ds_a.addModuleEventHandler,_DS_AddDOMEventHandler=ds_a.addDOMEventHandler,_DS_AddCustomEventHandler=ds_a.addCustomEventHandler,_DS_RemoveEventHandler=ds_a.removeEventHandler,_DS_RemoveModuleEventHandler=ds_a.removeModuleEventHandler,_DS_RemoveDOMEventHandler=ds_a.removeDOMEventHandler,_DS_RemoveCustomEventHandler=ds_a.removeCustomEventHandler,_DS_TriggerEvent=ds_a.triggerEvent,_DS_TriggerModuleEvent=ds_a.triggerModuleEvent,_DS_TriggerCustomEvent=ds_a.triggerCustomEvent,_DS_TriggerDelayedEvent=ds_a.triggerDelayedEvent,_DS_TriggerDelayedModuleEvent=ds_a.triggerDelayedModuleEvent,_DS_TriggerDelayedCustomEvent=ds_a.triggerDelayedCustomEvent;function ds_y(a,b){var c=forumpath+"feedproxy.aspx?"+a;_sendx(c,function(d){var e={};try{e=eval("("+d+")")}catch(f){e={}}for(var g in b){var h=e?e:null;b[g](h)}e=null;b=null},false,null)}var ds_E=false,ds_cb=0,ds_g="",ds_q={};function ds_C(e){var d={};for(var f in e){d[f]=e[f]}return d}function _DS_FetchContent(f,e,h){var g;g=h!=null&&typeof h=="object"?ds_C(h):{};g.url=f;g.callback=e;g.asXml=false;ds_x(g)}function _DS_FetchXmlContent(f,e,h){var g;g=h!=null&&typeof h=="object"?ds_C(h):{};g.url=f;g.callback=e;g.asXml=true;ds_x(g)}function _DS_FetchFeedAsJSON(j,i,p,o){var n="fr_"+ds_cb++,m="url="+_esc(j);if(p){m+="&val="+_esc(p)}if(o){m+="&sum=1"}var l=m;var k={};k[n]=i;ds_y(l,k)}function imgzoom(b){if(event.ctrlKey){var a=parseInt(b.style.zoom,10)||100;a-=event.wheelDelta/12;if(a>0){b.style.zoom=a+"%"}return false}else{return true}}function _DS_Callback(i,h,n,m,l,k){var j=arguments;return function(){var b=[];for(var a=0;a<arguments.length;a++){b[b.length]=arguments[a]}for(var a=1;a<j.length;a++){b[b.length]=j[a]}i.apply(null,b)}}function ds_x(r){if(!r.post_data&&!r.headers&&window._pl_data&&_pl_data[r.url]){if(r.asXml){var q;if(window.ActiveXObject){q=new ActiveXObject("Microsoft.XMLDOM");q.async=false;q.loadXML(_pl_data[r.url])}else{var p=new DOMParser;q=p.parseFromString(_pl_data[r.url],"text/xml")}r.callback(q)}else{r.callback(_pl_data[r.url])}}if(!isNaN(r.refreshInterval)&&r.refreshInterval>=0){r.url+=(r.url.lastIndexOf("?")>-1?"&":"?")+".cache=";if(r.refreshInterval==0){r.url+=_esc(Math.random())}else{var o=new Date,n=o.getTimezoneOffset()/60,m=Math.floor(o.getTime()/1000);m=Math.floor(m/r.refreshInterval).toString();r.url+=_esc(n+m)}}var l=forumpath+"proxy.aspx?";if(_et!=""){l+="et="+_et+"&"}if(r.encoding){l+="enc="+_esc(r.encoding)+"&"}if(r.headers){var k=[];for(var j=0;j<r.headers.length;j++){k.push(_esc(r.headers[j][0]+":"+r.headers[j][1]))}l+="hdrs="+_esc(k.join(","))+"&"}l+="url="+_esc(r.url);_sendx(l,r.callback,r.asXml,r.post_data)}var ds_B=(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 ds_ga(e){var d=document.createElement("DIV");d.innerHTML="<iframe onload='this.pool_locked=false'></iframe>";var f=d.getElementsByTagName("IFRAME")[0];f.style.visibility="hidden";f.style.width=(f.style.height="0px");f.style.border="0px";f.style.position="absolute";f.pool_locked=e;this.f[this.f.length]=f;d.removeChild(f);d=null;return f}function ds_ha(d){var c=this;window.setTimeout(function(){var f=null;for(var b=c.f.length-1;b>=0;b--){var a=c.f[b];if(a&&!a.pool_locked){a.parentNode.removeChild(a);if(window.ActiveXObject){a=null;c.f[b]=null;c.f.splice(b,1)}else{a.pool_locked=true;f=a;break}}}f=f?f:c.Ta(true);f.src=d;document.body.appendChild(f)},0)}function ds_fa(){for(var b=0;b<this.f.length;b++){this.f[b].onload=null;this.f[b]=null}this.f.length=0;this.f=[]}function ds_ea(){this.f=[];this.Ta=ds_ga;this.iframe=ds_ha;this.clear=ds_fa}function ds_ca(d,c){_IFPC.J[d]=c}function ds_2(x,w,v,u,t,s){v.unshift(_IFPC.fb(t));v.unshift(s);v.unshift(w);v.unshift(x);var r=4095-u.length;r=parseInt(r/3,10);var q=_IFPC.ya(v),p=parseInt(q.length/r,10);if(q.length%r>0){p+=1}for(var o=0;o<p;o++){var n=q.substr(o*r,r),m=[x,_IFPC.ua,p,o,n];_IFPC.Ba.iframe(u+"#"+_IFPC.ya(m))}_IFPC.ua++}function ds_4(){_IFPC.J={};_IFPC.r={};_IFPC.Ba.clear()}function ds_z(f){if(window.parent===window.top){var e=_IFPC.S(f),h=e.shift(),g=window.parent.frames[h];g.setTimeout(function(){try{g._IFPC.handleRequest(f)}catch(a){throw new Error("Unable to relay request to iframe: "+h+", reason: "+a)}},0)}else{var g=window.top;g.setTimeout(function(){g._IFPC.handleRequest(f)},0)}}function ds_$(B){var B=_IFPC.S(B),A=B.shift(),z=B.shift(),y=B.shift(),x=B.shift(),w=B.shift(),v=A+"_"+z;if(!_IFPC.o[v]){_IFPC.o[v]=[]}_IFPC.o[v].push([x,w]);if(_IFPC.o[v].length==y){_IFPC.o[v].sort(function(b,a){return parseInt(b[0],10)-parseInt(a[0],10)});w="";for(var u=0;u<y;u++){w+=_IFPC.o[v][u][1]}_IFPC.o[v]=null;var t=_IFPC.S(w),A=t.shift(),s=t.shift(),r=t.shift(),q=t.shift(),p=_IFPC.$a(s);if(p){var o=p.apply(null,t);if(_IFPC.cb(q)){o.unshift(q);_IFPC.call(A,_IFPC.na,o,r,null,"")}}else{throw new Error("Service "+s+" not registered.")}}}function ds_9(b){if(_IFPC.J.hasOwnProperty(b)){return _IFPC.J[b]}else{return null}}function ds_ba(d){var c="";if(d&&typeof d=="function"){c=_IFPC.Za();_IFPC.r[c]=d}return c}function ds_da(b){if(_IFPC.r.hasOwnProperty(b)){_IFPC.r[b]=null}}function ds_7(b){if(b&&_IFPC.r.hasOwnProperty(b)){return _IFPC.r[b]}return null}function ds_8(){return _IFPC.ma+_IFPC.Ra++}function ds_aa(b){return(b+"").indexOf(_IFPC.ma)==0}function ds_5(g){var f=g.split("&");for(var j=0;j<f.length;j++){var i=decodeURIComponent(f[j]);try{i=ds_B.parse(i)}catch(h){}f[j]=i}return f}function ds_6(f){var e=[];for(var h=0;h<f.length;h++){var g=ds_B.stringify(f[h]);e.push(encodeURIComponent(g))}return e.join("&")}function ds_3(f){var e=_IFPC.Xa(f);if(e){var h=[];for(var g=1;g<arguments.length;g++){h[h.length]=arguments[g]}e.apply(null,h);_IFPC.mb(f)}else{throw new Error("Invalid callbackId")}}var _IFPC={registerService:ds_ca,call:ds_2,clear:ds_4,relayRequest:ds_z,processRequest:ds_z,handleRequest:ds_$,ma:"cbid",na:"ifpc_callback",Ba:new ds_ea,o:{},J:{},r:{},Ra:0,ua:0,$a:ds_9,fb:ds_ba,mb:ds_da,Xa:ds_7,Za:ds_8,cb:ds_aa,S:ds_5,ya:ds_6,Sa:ds_3};_IFPC.registerService(_IFPC.na,_IFPC.Sa);