String.prototype.cJ=function(){return this.replace(K.sf,'');};String.prototype.qD=function(){return this.cJ().replace(K.rH,'');};String.prototype.jw=function(){var cR=0;for(var i=0,l=this.length;i<l;cR+=this.charCodeAt(i)>255?2:1,i++);return cR;};String.prototype.uA=function(bi){if(!bi)return this;for(var i=0,cR=0,l=this.length;i<l;i++){cR+=this.charCodeAt(i)>255?2:1;if(cR>=bi)return this.substr(0,i+(cR==bi?1:0));}return this;};Function.prototype.r=function(){var fI=this,cn=az.hM(arguments),bx=cn.shift();return function(){return fI.apply(bx,cn.concat(az.hM(arguments)));}};Function.prototype.bC=function(){var fI=this,cn=az.hM(arguments),bx=cn.shift();return function(O){return fI.apply(bx,[O||window.event].concat(cn));}};var K={xI:/\s+/,rD:/^[\?\#]/,rC:/\&|\=/,rG:/\=\&/g,sf:/(?:^\s+)|(?:\s+$)/g,rH:/(?:^\;+)|(?:\;+$)/g,qN:/^(.*?)\//,yy:/(\.vip|\.popo|@126|@yeah)$/,rK:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,rJ:/^[\d]*$/,tW:10,kq:1000,hX:1001,fW:1002,gM:1003,pZ: -1,kg:0,pY:1,uf:2,lI:'e_m',qA:'e_k',lG:'e_x_i_f_k_e_y',eW:'photo-163-com-layer',qt:'_f_2l_c_a_b_6_z_o_',ql:function(){return false;},tT:37,tQ:39,tP:32};var I={fz:function(lg){if(!lg|| !lg.length)return null;var kc=window;for(var a=lg.split('.'),l=a.length,i=(a[0]=='window')?1:0;i<l;kc=kc[a[i]]=kc[a[i]]||{},i++);return kc;},an:function(){var ev=arguments[0];return ev?function(){ev.apply(this,arguments);}:function(){if(arguments[0]==K.qt)return;this.cx.apply(this,arguments);};},ar:function(fl,ev,tc){if(!fl|| !ev)return;fl.prototype=new ev(K.qt);fl.prototype.dh=ev;fl.prototype.constructor=fl;if(tc)for(var as in ev){if(as=='prototype')continue;if(ev[as].constructor==Array){fl[as]=[];continue;}if(ev[as].constructor==Object){fl[as]={};continue;}fl[as]=ev[as];}fl.dh=function(){var cn=az.hM(arguments),bx=cn.shift();ev.prototype.cx.apply(bx,cn);};},ia:function(aB){if(!aB)return;if(!window.K)window.K={};for(var as in aB)K[as]=aB[as];}};var ay={pd:window.navigator.appName,mo:window.navigator.userAgent,pv:function(){var cI=ay.qJ?'opera':(ay.qK?'version':'firefox'),fQ=ay.aR?/msie\s(.*?)\;/i:new RegExp(cI+'\/(.*?)(?:\\s|$)','i');fQ.test(this.mo);return RegExp.$1;}};(function(){ay.aR=ay.pd=='Microsoft Internet Explorer';ay.hK= !ay.aR&&ay.mo.indexOf('Firefox')>=0;ay.qJ= !ay.aR&& !ay.hK&&ay.pd=='Opera';ay.qK= !ay.aR&& !ay.hK&& !ay.qJ&&ay.mo.indexOf('Safari')>=0;ay.jA=ay.pv();delete ay.pv;ay.xH=ay.aR&&ay.jA<='6.0';if(ay.aR)document.execCommand('BackgroundImageCache',false,true);ay.rQ=(function(){try{return(ay.aR&&external.max_language_id);}catch(e){return false;}})();ay.rR=(function(){try{return(ay.aR&&external.gbGetVersion);}catch(e){return false;}})();})();var jy={ir:{},qm:function(ab){return this.ir[ab]||'';},sF:function(ab,aO,jL,yr,yu){this.ir[ab]=aO;jL=jL?('domain='+jL+';'):'';yr=yr?('path='+yr+';'):'';var ys=new Date();if(yu){ys.setDate(ys.getDate()+yu);}else{ys.setFullYear(2100);}document.cookie=ab+'='+aO+';expires='+ys.toGMTString()+';'+jL+';'+yr;},xW:function(ab){this.dK.setFullYear(1900);document.cookie=ab+'='+this.qm(ab)+';expires='+this.dK.toGMTString();delete this.ir[ab];}};(function(){for(var i=0,R=document.cookie.split(';'),l=R.length,fL;i<l;i++){R[i]=R[i].cJ();fL=R[i].indexOf('=');jy.ir[R[i].substring(0,fL)]=R[i].substr(fL+1);}})();var az={mn:function(R,da,g){if(!R|| !R.push|| !da)return;if(g==null){R.push(da+'=null:null');return;}switch(typeof g){case "number":R.push(da+"=number:"+g);break;case "boolean":R.push(da+"=boolean:"+g);break;case "string":R.push(da+"=string:"+encodeURIComponent(g));break;case "object":if(g instanceof String)R.push(da+"=String:"+encodeURIComponent(g));else if(g instanceof Boolean)R.push(da+"=Boolean:"+g);else if(g instanceof Number)R.push(da+"=Number:"+g);else if(g instanceof Date)R.push(da+"=Date:"+g.getTime());else if(g.constructor==Array){var dN=[];for(var i=0,l=g.length,cI;i<l;i++){cI=this.gC+'e'+this.jH;this.jH++;this.mn(R,cI,g[i]);dN.push('reference:'+cI);}R.push(da+'=Array:['+dN.join(',')+']');}else{var cI,dN=[];for(var as in g){cI=this.gC+'e'+this.jH;this.jH++;this.mn(R,cI,g[as]);dN.push(encodeURIComponent(as)+':reference:'+cI);}R.push(da+'=Object_Object:{'+dN.join(',')+'}');}}},hM:function(jX){if(!jX|| !jX.length)return[];return Array.prototype.splice.call(jX,0,jX.length);},qM:function(aF){if(!aF)return{};aF=decodeURIComponent(aF).cJ().replace(K.rG,'= &')+' ';aF=K.rD.test(aF)?aF.substr(1):aF;var bx={},R=aF.split(K.rC);if(R.length%2!=0)return{};for(var i=0,l=R.length;i<l;bx[R[i]]=R[i+1].cJ(),i+=2);return bx;},jU:function(bx){if(!bx)return '';var R=[];for(var as in bx)R.push(as+'='+encodeURIComponent(bx[as]));return R.join('&');},qL:function(bt,bx,to){if(!this.gC)this.gC='c0-';this.jH=1;if(!bx)return null;var R=['callCount=1','batchId='+bt,'scriptSessionId='+bt,this.gC+'id=0',this.gC+'scriptName='+bx.script,this.gC+'methodName='+bx.method];if(bx.params)for(var i=0,l=bx.params.length;i<l;this.mn(R,this.gC+'param'+i,bx.params[i]),i++);return R.join(to||'\n');},rA:function(hI,kZ){return Math.floor(Math.random()*(kZ-hI)+hI);},bw:function(bi){bi=bi||K.tW;var hI=Math.pow(10,bi-1),kZ=hI*10;return this.rA(hI,kZ).toString();},lo:function(dn,at,bd,dW){var oy=0;if(bd[dn]!=dW[dn])oy=bd[dn]<dW[dn]? -1:1;return oy*at;},zi:function(dn,at,bd,dW){var oy=0;if(bd[dn].localeCompare(dW[dn])!=0)oy=bd[dn].localeCompare(dW[dn]);return oy*at;},ih:function(bh){bh=parseInt(bh)||0;return(bh>9?'':'0')+bh;},iP:function(lc,tN){if(!this.dK)this.dK=new Date();this.dK.setTime(lc);var tE=tN?' '+this.ih(this.dK.getHours())+':'+this.ih(this.dK.getMinutes())+':'+this.ih(this.dK.getSeconds()):'';return this.dK.getFullYear()+'-'+this.ih(this.dK.getMonth()+1)+'-'+this.ih(this.dK.getDate())+tE;},tK:function(lc){return this.iP(lc,true);},dL:function(aB,jR){if(!aB|| !jR)return;try{aB[jR]=null;delete aB[jR];}catch(e){aB[jR]=null;}},tI:function(el){if(window.clipboardData&&clipboardData.setData){clipboardData.setData("Text",el);}else{try{netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');var ob=Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);if(!ob)return false;var jr=Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);if(!jr)return false;jr.addDataFlavor('text/unicode');var cI=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);if(!cI)return false;cI.data=el;jr.setTransferData("text/unicode",cI,el.length*2);var oa=Components.interfaces.nsIClipboard;if(!oa)return false;ob.setData(jr,null,oa.kGlobalClipboard);}catch(e){return false;}}return true;},uo:function(jm,gU){if(!jm|| !gU)return;for(var p in jm)jm[p]=gU[p];return jm;},BK:function(jm,gU){if(!jm|| !gU)return;for(var p in gU)jm[p]=gU[p];return jm;},BH:function(jm,gU){if(!jm|| !gU)return;for(var p in gU){if(!jm[p])jm[p]=gU[p];}return jm;},uy:function(gU){if(!gU)return null;var aB={};for(var as in gU)aB[as]=gU[as];return aB;},mD:function(){var nI='0';if((ay.rQ)||(ay.rR))nI=new Date().getTime();return '&t='+nI;},mX:function(H){return(ay.aR)?window[H]:document[H];}};var qC={pj:'0123456789abcdef',ie:8,sb:function(gQ){return this.wT(this.xa(this.xD(gQ),gQ.length*this.ie));},xa:function(x,y){x[y>>5]|=0x80<<((y)%32);x[(((y+64)>>>9)<<4)+14]=y;var a=1732584193,b= -271733879,c= -1732584194,d=271733878;for(var i=0,l=x.length,ox,ov,ou,on;i<l;i+=16){ox=a;ov=b;ou=c;on=d;a=this.cT(a,b,c,d,x[i+0],7,-680876936);d=this.cT(d,a,b,c,x[i+1],12,-389564586);c=this.cT(c,d,a,b,x[i+2],17,606105819);b=this.cT(b,c,d,a,x[i+3],22,-1044525330);a=this.cT(a,b,c,d,x[i+4],7,-176418897);d=this.cT(d,a,b,c,x[i+5],12,1200080426);c=this.cT(c,d,a,b,x[i+6],17,-1473231341);b=this.cT(b,c,d,a,x[i+7],22,-45705983);a=this.cT(a,b,c,d,x[i+8],7,1770035416);d=this.cT(d,a,b,c,x[i+9],12,-1958414417);c=this.cT(c,d,a,b,x[i+10],17,-42063);b=this.cT(b,c,d,a,x[i+11],22,-1990404162);a=this.cT(a,b,c,d,x[i+12],7,1804603682);d=this.cT(d,a,b,c,x[i+13],12,-40341101);c=this.cT(c,d,a,b,x[i+14],17,-1502002290);b=this.cT(b,c,d,a,x[i+15],22,1236535329);a=this.cS(a,b,c,d,x[i+1],5,-165796510);d=this.cS(d,a,b,c,x[i+6],9,-1069501632);c=this.cS(c,d,a,b,x[i+11],14,643717713);b=this.cS(b,c,d,a,x[i+0],20,-373897302);a=this.cS(a,b,c,d,x[i+5],5,-701558691);d=this.cS(d,a,b,c,x[i+10],9,38016083);c=this.cS(c,d,a,b,x[i+15],14,-660478335);b=this.cS(b,c,d,a,x[i+4],20,-405537848);a=this.cS(a,b,c,d,x[i+9],5,568446438);d=this.cS(d,a,b,c,x[i+14],9,-1019803690);c=this.cS(c,d,a,b,x[i+3],14,-187363961);b=this.cS(b,c,d,a,x[i+8],20,1163531501);a=this.cS(a,b,c,d,x[i+13],5,-1444681467);d=this.cS(d,a,b,c,x[i+2],9,-51403784);c=this.cS(c,d,a,b,x[i+7],14,1735328473);b=this.cS(b,c,d,a,x[i+12],20,-1926607734);a=this.cP(a,b,c,d,x[i+5],4,-378558);d=this.cP(d,a,b,c,x[i+8],11,-2022574463);c=this.cP(c,d,a,b,x[i+11],16,1839030562);b=this.cP(b,c,d,a,x[i+14],23,-35309556);a=this.cP(a,b,c,d,x[i+1],4,-1530992060);d=this.cP(d,a,b,c,x[i+4],11,1272893353);c=this.cP(c,d,a,b,x[i+7],16,-155497632);b=this.cP(b,c,d,a,x[i+10],23,-1094730640);a=this.cP(a,b,c,d,x[i+13],4,681279174);d=this.cP(d,a,b,c,x[i+0],11,-358537222);c=this.cP(c,d,a,b,x[i+3],16,-722521979);b=this.cP(b,c,d,a,x[i+6],23,76029189);a=this.cP(a,b,c,d,x[i+9],4,-640364487);d=this.cP(d,a,b,c,x[i+12],11,-421815835);c=this.cP(c,d,a,b,x[i+15],16,530742520);b=this.cP(b,c,d,a,x[i+2],23,-995338651);a=this.cL(a,b,c,d,x[i+0],6,-198630844);d=this.cL(d,a,b,c,x[i+7],10,1126891415);c=this.cL(c,d,a,b,x[i+14],15,-1416354905);b=this.cL(b,c,d,a,x[i+5],21,-57434055);a=this.cL(a,b,c,d,x[i+12],6,1700485571);d=this.cL(d,a,b,c,x[i+3],10,-1894986606);c=this.cL(c,d,a,b,x[i+10],15,-1051523);b=this.cL(b,c,d,a,x[i+1],21,-2054922799);a=this.cL(a,b,c,d,x[i+8],6,1873313359);d=this.cL(d,a,b,c,x[i+15],10,-30611744);c=this.cL(c,d,a,b,x[i+6],15,-1560198380);b=this.cL(b,c,d,a,x[i+13],21,1309151649);a=this.cL(a,b,c,d,x[i+4],6,-145523070);d=this.cL(d,a,b,c,x[i+11],10,-1120210379);c=this.cL(c,d,a,b,x[i+2],15,718787259);b=this.cL(b,c,d,a,x[i+9],21,-343485551);a=this.fJ(a,ox);b=this.fJ(b,ov);c=this.fJ(c,ou);d=this.fJ(d,on);}return[a,b,c,d];},wT:function(b){var R=[];for(var i=0,l=b.length*4;i<l;R.push(this.pj.charAt((b[i>>2]>>((i%4)*8+4))&0xF)+this.pj.charAt((b[i>>2]>>((i%4)*8))&0xF)),i++);return R.join('');},xD:function(s){var nM=[],rF=(1<<this.ie)-1;for(var i=0,l=s.length*this.ie;i<l;nM[i>>5]|=(s.charCodeAt(i/this.ie)&rF)<<(i%32),i+=this.ie);return nM;},fJ:function(x,y){var nH=(x&0xFFFF)+(y&0xFFFF),rx=(x>>16)+(y>>16)+(nH>>16);return(rx<<16)|(nH&0xFFFF);},wW:function(x,y){return(x<<y)|(x>>>(32-y));},jg:function(q,a,b,x,s,t){return this.fJ(this.wW(this.fJ(this.fJ(a,q),this.fJ(x,t)),s),b);},cT:function(a,b,c,d,x,s,t){return this.jg((b&c)|((~b)&d),a,b,x,s,t);},cS:function(a,b,c,d,x,s,t){return this.jg((b&d)|(c&(~d)),a,b,x,s,t);},cP:function(a,b,c,d,x,s,t){return this.jg(b^c^d,a,b,x,s,t);},cL:function(a,b,c,d,x,s,t){return this.jg(c^(b|(~d)),a,b,x,s,t);}};var o={mS:function(el){if(!this.hq){this.hq=document.createTextNode('');}var G=this.hq.cloneNode(true);G.nodeValue=el||'';return G;},ji:function(){if(!this.oP){this.oP=document.createElement('div');}return this.oP.cloneNode(true);},gG:function(){if(!this.nm){this.nm=document.createElement('span');}return this.nm.cloneNode(true);},xT:function(){if(!this.ks){this.ks=document.createElement('br');this.ks.className='space';}return this.ks.cloneNode(true);},sZ:function(){if(!this.pJ)this.pJ=document.createDocumentFragment();return this.pJ.cloneNode(true);},aE:function(){var cR=arguments.length;if(cR==0)return null;if(cR==1){var kh=arguments[0];return typeof(kh)=='string'?document.getElementById(kh):kh;}var R=[];for(var i=0;i<cR;R.push(this.aE(arguments[i])),i++);return R;},lU:function(F,dH){F=this.aE(F);if(!F|| !dH)return '';if(F==document)return F[dH]||'';if(typeof(dH)=='string')return F.getAttribute(dH)||'';if(dH.constructor!=Array)return '';var R=[];for(var i=0,l=dH.length;i<l;R.push(this.lU(F,dH[i])),i++);return R;},xM:function(F,bx){F=this.aE(F);if(!F|| !bx)return;for(var as in bx)F[as]=bx[as];},qp:function(F,dH){F=this.aE(F);if(!F|| !dH)return;if(dH.constructor!=Array){F.removeAttribute(dH);return;}for(var i=0,l=dH.length;i<l;this.qp(F,dH[i++]));},ui:function(F,eK){F=this.aE(F);if(!F|| !eK)return '';if(typeof(eK)=='string')return o.ma(F,eK);if(eK.constructor!=Array)return '';var R=[];for(var i=0,l=eK.length;i<l;R.push(this.ui(F,eK[i])),i++);return R;},BJ:function(){if(!this.AJ){this.AJ=document.createElement('thead');}return this.AJ.cloneNode(true);},BG:function(){if(!this.AN){this.AN=document.createElement('tbody');}return this.AN.cloneNode(true);},Ab:function(){if(!this.AI){this.AI=document.createElement('tr');}return this.AI.cloneNode(true);},zE:function(){if(!this.AP){this.AP=document.createElement('td');}return this.AP.cloneNode(true);},xQ:function(F,bx){F=this.aE(F);if(!F|| !bx)return;F=F.style;for(var as in bx){try{F[as]=bx[as];}catch(e){}}},sP:function(F,lu){F=this.aE(F);if(!F)return;lu=lu||'none';F.style[ay.aR?'styleFloat':'cssFloat']=lu;},xR:function(F,jP){F=this.aE(F);if(!F)return;jP=jP||0;if(!ay.aR){F.style.opacity=jP;return;}F.style.filter='alpha(opacity='+(jP*100)+')';},fM:function(F,mj){F=this.aE(F);if(!F)return;var cz=mj=='none';if(ay.aR){document.ondrag=document.onselectstart=cz?K.ql:null;return;}cz?this.bn(F,'unselect'):this.be(F,'unselect');},lF:function(kz){if(!kz)return;if(!this.mU){this.mU=document.createElement('style');this.mU.type='text/css';}var aa=this.mU.cloneNode(true);this.qb(aa);ay.aR?aa.styleSheet.cssText=kz:this.aI(aa,kz);},gn:function(F,eE,eb){F=this.aE(F);eE=(eE||'');eb=(eb||'');if(!F||(!eE&& !eb)||eE.indexOf(' ')>0||eb.indexOf(' ')>0)return;var jZ=F.className;if(!jZ&& !eb)return;eE=eE?(eE+(eb?('|'+eb):'')):eb;var fQ=new RegExp('(?:^|\\s+)(?:'+eE+'\\s*)(?=$|\\s)','g');jZ=jZ.replace(fQ,'').cJ();F.className=jZ+(eb?(' '+eb):'');},bn:function(F,eb){this.gn(F,'',eb);},be:function(F,eE){this.gn(F,eE,'');},pR:function(F,ea){F=this.aE(F);if(!F|| !ea)return false;var fQ=typeof(ea)=='string'?new RegExp('\\b'+ea+'\\b'):ea;return fQ.test(F.className);},cU:function(dI,dS,ug){dI=this.aE(dI);dS=this.aE(dS);if(!dI|| !dS)return;switch(ug){case K.kq:dI.parentNode.insertBefore(dS,dI);break;case K.hX:if(!ay.hK){dI.insertAdjacentElement('afterBegin',dS);return;}var nU=dI.firstChild;nU?dI.insertBefore(dS,nU):dI.appendChild(dS);break;case K.fW:dI.appendChild(dS);break;case K.gM:if(!ay.hK&&(ay.aR&&dS.nodeType!=11)){dI.insertAdjacentElement('afterEnd',dS);return;}var nf=dI.nextSibling,bb=dI.parentNode;nf?bb.insertBefore(dS,nf):bb.appendChild(dS);break;}},qb:function(G){if(!this.mA)this.mA=document.getElementsByTagName('head')[0];if(!this.mA|| !G)return;this.mA.appendChild(G);},aw:function(F){F=this.aE(F);if(!F)return null;var R=[];for(var i=0,bl=F.childNodes,l=bl.length;i<l;bl[i].nodeType==1&&R.push(bl[i]),i++);return R;},kp:function(F,ea){F=this.aE(F);if(!F)return null;if(!ea)return this.aw(F);var R=[],fQ=new RegExp('\\b'+ea+'\\b');for(var i=0,bl=F.childNodes,l=bl.length;i<l;(bl[i].nodeType==1&&this.pR(bl[i],fQ))&&R.push(bl[i]),i++);return R;},iM:function(F){F=this.aE(F);if(!F)return;for(var bl=F.childNodes,i=bl.length-1;i>=0;this.sL(bl[i--]));},jK:function(G){if(!this.ph)this.ph=this.ji();G=this.aE(G);if(!G)return;this.ph.appendChild(G);},qi:function(F){F=this.aE(F);if(!F)return[0,0];var eT=0,fv=0;do{eT+=F.offsetTop||0;fv+=F.offsetLeft||0;F=F.offsetParent;}while(F);return[fv,eT];},aI:function(F,el){F=this.aE(F);if(!F)return;F[ay.hK?'textContent':'innerText']=el;},bj:function(lA){if(typeof(lA)!='string')return lA;var jD=this.ji();jD.innerHTML=lA;var bh=0,G;for(var i=0,bl=jD.childNodes,l=bl.length,bA;i<l;i++){if(bh>1)return jD;bA=bl[i];if(bA.nodeType==1){G=bA;bh++;}}return bh==1?G:jD;},sL:function(G){G=this.aE(G);if(!G|| !G.parentNode)return;return G.parentNode.removeChild(G);},aq:function(){if(!arguments.length)return;for(var i=0,l=arguments.length,F;i<l;i++){F=this.aE(arguments[i]);F&&(F.style.display='');}},aL:function(){if(!arguments.length)return;for(var i=0,l=arguments.length,F;i<l;i++){F=this.aE(arguments[i]);F&&(F.style.display='none');}},gX:function(F,dB,ea){dB?this.bn(F,ea):this.be(F,ea);}};(function(){o.ma=function(){return '';};if(ay.aR){o.ma=function(F,eK){return F.currentStyle[eK];};}else if(window.getComputedStyle){o.ma=function(F,eK){return document.defaultView.getComputedStyle(F,null)[eK];};}})();var B={hv:{},wA:function(F,af,bS){var bt=az.bw(13),aB={};F[K.qA]=bt;aB=this.hv[bt]={};aB[K.lI]=F;aB[af]=bS;return bt;},wC:function(bt,af,bS){var aB=this.hv[bt],fI=aB[af];if(!fI){aB[af]=bS;}else if(!fI.push){aB[af]=[fI,bS];}else{fI.push(bS);}return bt;},wz:function(F,af,bS){if(F==window)return;var bt=F[K.qA];return bt?this.wC(bt,af,bS):this.wA(F,af,bS);},we:function(){try{var O,F,hW,od=K.lI;for(var bt in this.hv){O=this.hv[bt];F=O[od];for(var af in O){if(af==K.lI)continue;hW=O[af];if(hW.constructor!=Array){this.gB(F,af,hW);continue;}for(var i=0,l=hW.length;i<l;this.gB(F,af,hW[i]),i++);delete O[af];}delete O[od];delete this.hv[bt];}}catch(e){}},L:function(F,af,bS){F=o.aE(F);if(!F|| !af|| !bS)return '';this.qy(F,af,bS);return this.wz(F,af,bS);},aK:function(F,cj){for(var ij in cj)this.L(F,ij,cj[ij]);},gB:function(F,af,bS){F=o.aE(F);if(!F|| !af|| !bS)return;this.oW(F,af,bS);},fG:function(O){return O.pageX||(O.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));},gF:function(O){return O.pageY||(O.clientY+(document.documentElement.scrollTop||document.body.scrollTop));},aN:function(O){if(!O)return;if(O.preventDefault){O.preventDefault();O.stopPropagation();}else{O.returnValue=false;O.cancelBubble=true;}},rv:function(O){if(!O)return K.pZ;var ab=O.button;switch(ab){case 0:return K.kg;case 1:return ay.aR?K.kg:K.pY;case 2:return K.uf;case 4:return K.pY;}return K.pZ;},aE:function(O){return O.target||O.srcElement;},rP:function(O){if(!O)return 0;return(ay.aR)?O.keyCode:O.which;}};(function(){if(document.addEventListener){B.qy=function(F,af,bS){F.addEventListener(af,bS,false);};B.oW=function(F,af,bS){F.removeEventListener(af,bS,false);};}else if(document.attachEvent){B.qy=function(F,af,bS){F.attachEvent('on'+af,bS);};B.oW=function(F,af,bS){F.detachEvent('on'+af,bS);};}B.L(window,'unload',B.we);})();var qS={ImageWidth:'X维度像素',ImageHeight:'Y维度像素',ColorSpace:'色彩空间',XResolution:'X分辨率',YResolution:'Y分辨率',ResolutionUnit:'分辨率单位',DateTime:'日期/时间',Make:'设备制造商',Model:'型号',Software:'软件',ExifVersion:'Exif版本',FlashpixVersion:'FlashPix版本',DateTimeOriginal:'原始时间',DateTimeDigitized:'数码时间',ExposureTime:'曝光时间',FNumber:'光圈系数',ExposureProgram:'曝光程序',ISOSpeedRatings:'ISO速率',ShutterSpeedValue:'快门速度',ApertureValue:'光圈',BrightnessValue:'亮度值',ExposureBiasValue:'曝光补偿',MaxApertureValue:'最大光圈',SubjectDistance:'目标距离',MeteringMode:'测光模式',LightSource:'光源',Flash:'闪光灯',FocalLength:'焦距',FocalPlaneXResolution:'焦平面X分辨率',FocalPlaneYResolution:'焦平面Y分辨率',FocalPlaneResolutionUnit:'焦平面分辨率单位',SensingMethod:'感应方式',FileSource:'源文件',SceneType:'场景类型',CustomRendered:'自定义渲染',ExposureMode:'曝光模式',WhiteBalance:'白平衡',FocalLengthIn35mmFilm:'等价35mm焦距',SceneCaptureType:'镜头捕捉类型',GainControl:'增益控制',Contrast:'对比度',Saturation:'饱和度',Sharpness:'锐度',um:function(g){if(!g)return '';if(!g[K.lG]){var R=['<span style="cursor:pointer;"><a>显示EXIF信息 <img src="'+K.eA+'right.gif"/></a></span><div>'];for(var p in g)R.push('<label>'+(this[p]||p)+'：</label>'+g[p]+'<br/>');R.push('</div>');g[K.lG]=R.join('');}return g[K.lG];}};  I.fz('p');p.ag=I.an();p.ag.prototype={cx:function(){this.iB={};},L:function(af,O){if(!af|| !O)return;this.iB[af.toLowerCase()]=O;},aK:function(cj){for(var ij in cj)this.L(ij,cj[ij]);},gB:function(af){if(!af)return;af=af.toLowerCase();delete this.iB[af];},pU:function(af){return this.iB[af]||null;},D:function(){if(!arguments.length)return;var cn=az.hM(arguments),O=this.iB[cn.shift().toLowerCase()];if(O)return O.apply(window,cn);}};  I.fz('p.c');  I.fz('p.u');I.ia({eA:UD.staticRoot126net+'/image/'});p.u.ag=I.an(p.ag);I.ar(p.u.ag,p.ag);p.u.ag.prototype.cx=function(bb,A){p.u.ag.dh(this);A=A||{};this.dR=ay.aR&&ay.jA<='6.0';this.cd=A.editable||false;this.aP(A);o.lF(this.aM());this.fg=o.bj(this.ap());this.gY(bb);this.aQ(A);};p.u.ag.prototype.aq=function(){o.aq(this.fg);};p.u.ag.prototype.aL=function(){o.aL(this.fg);};p.u.ag.prototype.al=function(){return this.fg;};p.u.ag.prototype.gY=function(bb){bb=o.aE(bb);if(!bb)return;if(!this.fg){this.fg=bb;return;}bb.appendChild(this.fg);};p.u.ag.prototype.sh=function(P,gN){P=o.bj(P);o.cU(this.al(),P,gN);return P;};p.u.ag.prototype.aM=function(){return '';};p.u.ag.prototype.ap=function(){return '';};p.u.ag.prototype.aP=function(A){};p.u.ag.prototype.aQ=function(A){};  I.fz('p.m');  I.fz('p.w');p.w.ag=I.an(p.ag);I.ar(p.w.ag,p.ag);p.w.ag.prototype.cx=function(A){p.w.ag.dh(this);this.gK(A||{});};p.w.ag.prototype.gK=function(A){};p.w.ag.prototype.cV=function(){this.D('oncancel');};p.w.ag.prototype.fB=function(){this.dg.aq();};p.w.ag.prototype.yb=function(){this.dg.aL();};  I.fz('p.f');  I.ia({lE:'5_w_h_8_Pp_43',gl:'GET',jN:'POST',xS:1000,ux:1001,tV:1002,pW:1003,qc:1004});var gj={ms:{},qu:function(M,A){if(!M)return;if(!this.fd)this.fd={};A=A||{};var bt=az.bw(8),gP=null;switch(A.proxy){case K.ux:case K.tV:return;case K.pW:this.fd.onload=this.kn.r(this,bt);this.fd.method=K.gl;gP=new p.c.eI(M,this.fd);break;case K.qc:this.fd.method=A.method;gP=new p.c.dG(M,this.fd,bt);break;default:this.fd.onload=this.kn.r(this,bt);gP=new p.c.dG(M,this.fd);break;}this.ms[bt]=A.onload;gP.le(A.data);},kn:function(bt,g){var ka=this.ms[bt];ka&&ka(g);delete this.fd.onload;delete this.ms[bt];},ri:function(bt,H,g){this.kn(bt,g);},rh:function(bt,H,xO){this.ri(bt,H,null);}};p.c.dm=I.an(p.ag);I.ar(p.c.dm,p.ag);p.c.dm.dT=[];p.c.dm.ki=function(){return null;};p.c.dm.qd=function(){return this.dT.length?this.dT.shift():this.ki();};p.c.dm.us=function(gP){this.dT.push(gP);};p.c.dm.prototype.cx=function(M,A){if(!M)return;p.c.dm.dh(this);A=A||{};this.uO(M);this.nA(A.method);this.L('onload',A.onload);};p.c.dm.prototype.uO=function(M){this.mR=M||'';};p.c.dm.prototype.nA=function(gp){gp=gp||K.jN;this.it=gp.toUpperCase()==K.gl?K.gl:K.jN;};p.c.dm.prototype.dQ=function(){};p.c.dm.prototype.le=function(g){};p.c.dG=I.an(p.c.dm);I.ar(p.c.dG,p.c.dm,true);p.c.dG.wG=function(){if(this.wH)return;var oc=I.fz('dwr.engine');oc['_remoteHandleCallback']=gj.ri.r(gj);oc['_remoteHandleException']=gj.rh.r(gj);this.wH=true;};p.c.dG.ki=function(){if(window.XMLHttpRequest)return new window.XMLHttpRequest();if(this.ro)return new ActiveXObject(this.ro);var lb=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.5.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var i=0,l=lb.length,io;i<l;i++){try{io=new ActiveXObject(lb[i]);this.ro=lb[i];return io;}catch(e){}}};p.c.dG.prototype.cx=function(M,A,bt){this.ig=bt;if(this.ig){p.c.dG.wG();M='dwr/call/plaincall/'+M;}p.c.dG.dh(this,M,A);};p.c.dG.prototype.kX=function(){if(this.cv.readyState==4)this.dQ();};p.c.dG.prototype.dQ=function(){try{var eh=this.cv.responseText;if(eh&&this.cv.status==200){this.ig?eval(eh.replace(K.lE,this.ig)):this.D('onload',eh);}else throw e;}catch(e){this.ig?gj.rh(this.ig,'0',null):this.D('onload',null);}if(ay.aR)return;this.cv.onreadystatechange=null;p.c.dG.us(this.cv);delete this.cv;};p.c.dG.prototype.le=function(g){this.cv=p.c.dG.qd();this.cv.onreadystatechange=this.kX.r(this);if(this.it==K.gl&&g){var of=az.qL(K.lE,g,'&');if(of)this.mR+=((this.mR.indexOf('?')<0)?'?':'&')+of;}this.cv.open(this.it,this.mR,true);this.cv.setRequestHeader("Content-Type","text/plain");this.cv.send(this.it==K.gl?null:az.qL(K.lE,g));};p.c.eI=I.an(p.c.dm);I.ar(p.c.eI,p.c.dm,true);p.c.eI.uH=30000;p.c.eI.ki=function(){if(!this.jd){this.jd=document.createElement('script');this.jd.defer='defer';this.jd.type='text/javascript';}return this.jd.cloneNode(true);};p.c.eI.prototype.nA=function(){this.it=K.gl;};p.c.eI.prototype.kX=function(){var hy=this.cv.readyState;if(hy=='loaded'||hy=='complete')this.dQ();};p.c.eI.prototype.dQ=function(){if(this.fq)this.fq=window.clearTimeout(this.fq);this.cv.onload=null;this.cv.onreadystatechange=null;delete this.cv;this.D('onload');};p.c.eI.prototype.le=function(){this.cv=p.c.eI.qd();ay.aR?this.cv.onreadystatechange=this.kX.r(this):this.cv.onload=this.dQ.r(this);var nG=p.c.eI.uH;if(nG)this.fq=window.setTimeout(this.dQ.r(this),nG);this.cv.src=this.mR;o.qb(this.cv);};  p.c.J=I.an(p.ag);I.ar(p.c.J,p.ag);p.c.J.oF={};p.c.J.na={};p.c.J.fh=function(ab){return this.na[ab];};p.c.J.eZ=function(ab,g){if(!ab)return;this.na[ab]=g;};p.c.J.kb=function(ab){if(!ab)return;delete this.na[ab];};p.c.J.iQ=function(ab){return this.oF[ab];};p.c.J.ly=function(ab,g){if(!ab)return;this.oF[ab]=g;return g;};p.c.J.zA=function(g){if(g&&g.list&&g.list.length&&g.list.length>0){for(var i=0;i<g.list.length;i++)if(g.list[i].au&&g.list[i].au==4)return true;}return false;};p.c.J.zs=function(Q){var yU=[];yU.push(Q.id);yU.push(Q.count);yU.push('['+Q.name+']');yU.push(Q.au);return yU.join('&!&')+'&!&#';};p.c.J.za=function(g,ax){var zj=[],zk;if(g&&g.length&&g.length>0)for(var i=0;i<g.length;i++){zj.push(p.c.J.zs(g[i]));if(g[i].id==ax)zk=i;}return[zj.join('&!&'),zk];};p.c.J.CE=50;p.c.J.Cu=[];p.c.J.CC=window.navigator.userAgent;p.c.J.CB=function(){return 'BrowserInfo:'+p.c.J.CC+'\n';};p.c.J.Ct=function(){if(p.c.J.Cu.length>p.c.J.CE){p.c.J.Cu.shift();}p.c.J.Cu.push(p.c.J.CF()+'\t'+az.hM(arguments).join('\t')+'\n');};p.c.J.CD=function(){p.c.J.Cu.unshift(p.c.J.CB());var CA=p.c.J.Cu.join('|');p.c.J.Cu=[];return CA;};p.c.J.CF=function(){var hU=new Date();return hU.getFullYear()+'-'+(hU.getMonth()+1)+'-'+hU.getDate()+' '+hU.getHours()+':'+hU.getMinutes()+':'+hU.getSeconds()+'.'+hU.getMilliseconds();};p.c.J.qa=function(cc){if(this.xK)return;cc=cc||{};this.ad='cache_'+(cc.hostId||'');this.eZ(this.ad,cc);};p.c.J.aC=function(){return this.fh(this.ad);};p.c.J.rS=function(){return this.aC().editable;};p.c.J.rT=function(){return(parseInt(this.aC().visitId)||0)>0;};p.c.J.Af=function(){return this.aC().cookie;};p.c.J.Ar=function(){return this.aC().currentPlanType;};p.c.J.CO=function(){return this.aC().albumCount;};p.c.J.prototype.fh=function(ab){return p.c.J.fh(ab);};p.c.J.prototype.eZ=function(ab,g){p.c.J.eZ(ab,g);};p.c.J.prototype.kb=function(ab){p.c.J.kb(ab);};p.c.J.prototype.iQ=function(ab){return p.c.J.iQ(ab);};p.c.J.prototype.ly=function(ab,g){return p.c.J.ly(ab,g);};p.c.J.prototype.aC=function(){return p.c.J.aC();};p.c.J.prototype.bI=function(M,ka,fx,gp){var g=this.iQ(M);if(!g){gp=gp||K.jN;g={method:gp,data:{}};var R=M.split('.');g.data.script=R[0];g.data.method=R[1];this.ly(M,g);}g.onload=ka;g.data.params=fx;return g;};p.c.J.prototype.yW=function(g){return p.c.J.zA(g);};p.c.J.prototype.za=function(g,ax){return p.c.J.za(g,ax);};p.c.J.prototype.cZ=function(M){return this.iQ(M).data.params;};p.c.J.prototype.ao=function(kL,eG){kL?p.u.bQ.aq(eG):p.u.bQ.aL();};p.c.J.prototype.xw=function(){var g=this.dz();if(!g|| !g.list|| !g.list.length)return;for(var C=g.list,i=C.length-1;i>=0;i--){if(C[i].au==2)C.splice(i,1);}if(g.list.length==0)this.yC=true;};p.c.J.prototype.kr=function(g){if(g.s==undefined)return g;var dc=K.qN,dj='http://img$1.'+(g.s==3?'ph.126.net/':'bimg.126.net/');if(g.curl)g.curl=g.curl.replace(dc,dj);if(g.murl)g.murl=g.murl.replace(dc,dj);if(g.ourl)g.ourl=g.ourl.replace(dc,dj);if(g.qurl)g.qurl=g.qurl.replace(dc,dj);if(g.surl)g.surl=g.surl.replace(dc,dj);if(g.turl)g.turl=g.turl.replace(dc,dj);if(g.av)g.av=g.av.replace(dc,dj);delete g.s;return g;};p.c.J.prototype.dr=function(g){delete g.hash;g.hash={};if(!g.list|| !g.list.length)return;for(var i=0,l=g.list.length,ak;i<l;ak=g.list[i],ak.index=i,g.hash[ak.id]=this.kr(ak),i++);};p.c.J.prototype.nq=function(g,cw){var R=cw.split(';');this.dr(g);for(var i=0,j=0,l=R.length,ak,dN;i<l;i++){ak=g.hash[R[i]];if(!ak|| ! !ak.sflag)continue;dN=g.list[j];if(! !dN){dN.index=ak.index;g.list[ak.index]=dN;}ak.sflag=true;ak.index=j;g.list[j++]=ak;}};p.c.J.prototype.yI=function(g){for(var i=0,l=g.list.length,ak;i<l;i++){ak=g.list[i];if(! !ak)ak.sflag=false;}};p.c.J.prototype.hw=function(){var g=this.dz();if(!g|| !g.list)return;var dn,at,af=g.sort;switch(af){case 8:this.yI(g);this.nq(g,g.seq);return;case 2:case 3:dn='count';at=2.5;break;case 4:case 5:dn='name';at=4.5;break;case 6:case 7:dn='ut';at=6.5;break;default:dn='t';at=0.5;break;}at=2*(at-af);g.list.sort(function(bd,dW){if(dn=='name')return az.zi(dn,at,bd,dW);return az.lo(dn,at,bd,dW);});this.dr(g);};p.c.J.prototype.iC=function(H){var g=this.dE(H);if(!g|| !g.list)return;var dn,at,af=g.sort;switch(af){case 8:this.yI(g);this.nq(g,g.seq);return;case 4:case 5:dn='desc';at=4.5;break;default:dn='t';at=0.5;break;}at=2*(at-af);g.list.sort(function(bd,dW){if(dn=='desc')return az.zi(dn,at,bd,dW);return az.lo(dn,at,bd,dW);});this.dr(g);};p.c.J.prototype.pz=function(af){switch(af){case 2:case 3:return 1;case 4:case 5:return 2;case 6:case 7:return 3;case 8:return 4;default:return 0;}};p.c.J.prototype.zD=function(ax){var g=this.dz();return this.za(g.list,ax);};p.c.J.prototype.jl=function(){var g=this.dz();return this.pz(g.sort);};p.c.J.prototype.tk=function(H){var g=this.dE(H);return this.pz(g.sort);};p.c.J.prototype.hc=function(M,xA){var ab='on$'+az.bw(6)+'$load';this.L(ab,xA);gj.qu(M,{proxy:K.pW,onload:this.wa.r(this,ab)});};p.c.J.prototype.wa=function(ab){this.D(ab);this.gB(ab);};p.c.J.prototype.bK=function(M,A){var ab='on$'+az.bw(6)+'$load';this.L(ab,A.callback);delete A.callback;A.proxy=K.qc;if(A.method==K.jN||A.method==K.gl){var cc=this.aC();if((parseInt(cc.visitId)||0)>0)M+='?u='+encodeURIComponent(cc.visitName);}gj.qu(M,A);};p.c.J.prototype.xU=function(ab,g){this.D(ab,g);this.gB(ab);};p.c.J.prototype.jB=function(nx){this.ao(true,'登录信息验证中...');var M='IndexBean.login.dwr';this.bK(M,this.bI(M,this.kK.r(this),[nx.username,nx.password,false,false]));};p.c.J.prototype.kK=function(bf){this.ao(false);var tY=this.cZ('IndexBean.login.dwr');this.D('onlogin',tY[0],bf);};p.c.J.prototype.kO=function(){this.ao(true,'系统退出登录状态中...');var M='IndexBean.logout.dwr';this.hc('http://photo.163.com/photo/openservlet/clearsession.js',null);this.hc('http://upload.photo.163.com/openservlet/clearsession.js',null);this.hc('http://photo.163.com/api/openservlet/clearsession.js',null);this.hc('http://photo.163.com/papi/openservlet/clearsession.js',null);this.bK(M,this.bI(M,this.jp.r(this),[false,false]));};p.c.J.prototype.jp=function(bf){this.ao(false);this.D('onlogout',bf);};p.c.J.prototype.sA=function(g){this.ao(true,'个人资料更新中...');var M='ProfileBean.updateProfile.dwr';this.bK(M,this.bI(M,this.wc.r(this),[g]));};p.c.J.prototype.wc=function(bf){this.ao(false);if(!bf){this.D('onprofileupdate',null);return;}var g=this.aC().profile;az.uo(g,this.cZ('ProfileBean.updateProfile.dwr')[0]);this.aC().visitNickName=g.nickName;this.D('onprofileupdate',g);};p.c.J.prototype.wx=function(Q){var g=this.dz();if(!g)return null;if(! !g.seq)g.seq=Q.id+";"+g.seq;g.list.unshift(Q);this.hw();return g.list;};p.c.J.prototype.ha=function(Q,cX){var g=this.dz(),bd=g.hash[Q.id];if(!cX){g.list[bd.index]=Q;this.hw();return g.list;}Q.index=bd.index;Q=this.kr(Q);g.hash[Q.id]=Q;g.list[bd.index]=Q;return Q;};p.c.J.prototype.vc=function(H,ae,cX){var g=this.dE(H),bd=g.hash[ae.id];if(!cX){g.list[bd.index]=ae;this.iC(H);return g.list;}ae.index=bd.index;ae=this.kr(ae);g.hash[ae.id]=ae;g.list[bd.index]=ae;return ae;};p.c.J.prototype.xl=function(H){var g=this.dz();g.list.splice(g.hash[H].index,1);this.dr(g);return g.list;};p.c.J.prototype.hC=function(){var g=this.dz();if(g!=undefined){this.D('onalbumlistload',g);return;}p.c.J.Ct(this.aC().hostName,' getAlbumList Begin','[albumUrl='+this.aC().albumUrl+']');this.ao(true,'相册列表加载中...');this.hc(this.aC().albumUrl,this.vJ.r(this));};p.c.J.prototype.CO=function(){var g=this.dz();if(g&&g.list&&g.list.length){return g.list.length;}else{return p.c.J.CO();}};p.c.J.prototype.vJ=function(){this.ao(false);var cc=this.aC(),eJ=cc.hostId,ab='g_a$'+eJ+'d',hU=window[ab];az.dL(window,ab);if(!hU){p.c.J.Ct(this.aC().hostName,' getAlbumList End and failed！！！','[albumUrl='+this.aC().albumUrl+']');this.D('onalbumlistload',null);return;}var g={list:hU};this.eZ('album_list_'+eJ,g);g.sort=cc.albumSort;ab='g_a$'+eJ+'s';g.seq=(window[ab]||'').qD();az.dL(window,ab);if(!this.aC().editable)this.xw();this.hw();p.c.J.Ct(this.aC().hostName,' getAlbumList End and Success','[albumUrl='+this.aC().albumUrl+']');this.D('onalbumlistload',g);};p.c.J.prototype.dz=function(){return this.fh('album_list_'+this.aC().hostId);};p.c.J.prototype.te=function(H){var g=this.cN(H);if(g!=undefined){this.D('onalbumload',g);return;}this.hn=this.pU('onalbumlistload');this.L('onalbumlistload',this.vR.r(this,H));this.hC();};p.c.J.prototype.vR=function(H,g){this.L('onalbumlistload',this.hn);delete this.hn;this.D('onalbumload',this.cN(H));};p.c.J.prototype.cN=function(H){var g=this.dz();return g?(g.hash[H]):null;};p.c.J.prototype.Bk=function(){this.ao(true,'相册列表中...');var M='AlbumBean.getAlbumListByUserId.dwr';var eJ=this.aC().hostId;this.bK(M,this.bI(M,this.Bi.r(this),[eJ]));};p.c.J.prototype.Bi=function(g){this.ao(false);if(!g){this.D('onalbumlistByUserload',null);return;}var g={list:g};this.D('onalbumlistByUserload',g);};p.c.J.prototype.Bj=function(){this.ao(true,'积分兑换页面载入中...');var M='AlbumBean.getPlanDetail.dwr';var eJ=this.aC().hostId;this.bK(M,this.bI(M,this.An.r(this),[eJ]));};p.c.J.prototype.An=function(g){this.ao(false);if(!g){this.D('ongetplandetail',null);return;}var g={list:g};this.D('ongetplandetail',g);};p.c.J.prototype.Bm=function(Al){this.ao(true,'积分兑换中...');var M='AlbumBean.pointExchange.dwr';var eJ=this.aC().hostId;this.bK(M,this.bI(M,this.BC.r(this),[Al,true],K.gl));};p.c.J.prototype.BC=function(bf){this.ao(false);this.D('onpointexchanged',bf);};p.c.J.prototype._$createAlbum=function(Q){p.c.J.Ct(this.aC().visitName,' Create new album Begin and MetaINFO['+'name='+Q.name+', desc='+Q.desc+', au='+Q.au+',password='+(Q.password||'')+']');this.ao(true,'相册创建中...');var M='AlbumBean.create.dwr';this.bK(M,this.bI(M,this.wu.r(this),[Q.name,Q.desc,Q.au,Q.password||'']));};p.c.J.prototype.wu=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' Create new album End And Failed！！！！！');this.D('onalbumcreate',null);return;}if(Q.errorType==2){p.c.J.Ct(this.aC().visitName,' Create new album End And Failed 4 keyword！！！！！');this.D('onalbumcreate',Q.errorType);return;}p.c.J.Ct(this.aC().visitName,' Create new album End And Success albumID='+Q.id);var C=this.wx(Q);this.D('onalbumcreate',C,false,Q.id);};p.c.J.prototype.qx=function(Q){p.c.J.Ct(this.aC().visitName,' update Album Meta Begin ','[albumID='+Q.id+',Name='+Q.name+',Desc='+Q.desc+',au='+Q.au+',password='+(Q.password||'')+']');this.ao(true,'相册更新中...');var M='AlbumBean.updateMeta.dwr';this.bK(M,this.bI(M,this.uY.r(this),[Q.id,Q.name,Q.desc,Q.au,Q.password||'']));};p.c.J.prototype.uY=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' update Album Meta End and failed！！！ ','[albumID='+Q.id+',Name='+Q.name+',Desc='+Q.desc+',au='+Q.au+']');this.D('onalbumupdate',null);return;}if(Q.errorType==2){p.c.J.Ct(this.aC().visitName,' update Album Meta End and failed 4 keyword！！！ ','[albumID='+Q.id+',Name='+Q.name+',Desc='+Q.desc+',au='+Q.au+']');this.D('onalbumupdate',Q.errorType);return;}p.c.J.Ct(this.aC().visitName,' update Album Meta End and Success ','[albumID='+Q.id+',Name='+Q.name+',Desc='+Q.desc+',au='+Q.au+']');var af=this.jl(),cX=af!=2,C=this.ha(Q,cX);this.D('onalbumupdate',C,cX,Q);};p.c.J.prototype._$updateAlbumName=function(H,da){p.c.J.Ct(this.aC().visitName,' update Album Name Begin ','[albumID='+H+',Name='+da+']');this.ao(true,'相册名称更新中...');var M='AlbumBean.updateName.dwr';this.bK(M,this.bI(M,this.uX.r(this),[H,da]));};p.c.J.prototype.uX=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' upate Album Name End and failed！！！');this.D('onalbumnameupdate',null);return;}if(Q.errorType==2){p.c.J.Ct(this.aC().visitName,' upate Album Name End and failed 4 keyword！！！');this.D('onalbumnameupdate',Q.errorType);return;}p.c.J.Ct(this.aC().visitName,' upate Album Name End and Success','[albumID='+Q.id+',Name='+Q.name+']');var af=this.jl(),cX=af!=2,C=this.ha(Q,cX);this.D('onalbumnameupdate',C,cX,cX?null:Q);};p.c.J.prototype._$updateAlbumDesc=function(H,ku){p.c.J.Ct(this.aC().visitName,' update Album Desc Begin','[albumID='+H+',Desc='+ku+']');this.ao(true,'相册描述更新中...');var M='AlbumBean.updateDesc.dwr';this.bK(M,this.bI(M,this.uW.r(this),[H,ku]));};p.c.J.prototype.uW=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' update Album Desc End and failed！！！','[albumID='+Q.id+',Desc='+Q.desc+']');this.D('onalbumdescupdate',null);return;}p.c.J.Ct(this.aC().visitName,' update Album Desc End and Success','[albumID='+Q.id+',Desc='+Q.desc+']');var C=this.ha(Q,true);this.D('onalbumdescupdate',C,true);};p.c.J.prototype.zv=function(H,da,ku){p.c.J.Ct(this.aC().visitName,' update Album NameAndDesc Begin','[albumID='+H+',Name='+da+',Desc='+ku+']');this.ao(true,'相册名称和描述更新中...');var M='AlbumBean.updateNameAndDesc.dwr';this.bK(M,this.bI(M,this.zp.r(this),[H,da,ku]));};p.c.J.prototype.zp=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' update Album NameAndDesc END and  failed！！！','[albumID='+Q.id+'Name='+Q.name+',Desc='+Q.desc+']');this.D('onnameordescupdate',null);return;}if(Q.errorType==2){p.c.J.Ct(this.aC().visitName,' update Album NameAndDesc END and  failed 4 keyword！！！','[albumID='+Q.id+'Name='+Q.name+',Desc='+Q.desc+']');this.D('onnameordescupdate',Q.errorType);return;}p.c.J.Ct(this.aC().visitName,' update Album NameAndDesc END and  Success','[albumID='+Q.id+'Name='+Q.name+',Desc='+Q.desc+']');var af=this.jl(),cX=af!=2,C=this.ha(Q,cX);this.D('onnameordescupdate',C,cX,Q);};p.c.J.prototype._$deleteAlbum=function(H){this.ao(true,'相册删除中...');var M='AlbumBean.delete.dwr';this.bK(M,this.bI(M,this.xs.r(this),[H]));};p.c.J.prototype.xs=function(bf){this.ao(false);if(!bf){this.D('onalbumdelete',null);return;}var C=this.xl(this.cZ('AlbumBean.delete.dwr')[0]);this.D('onalbumdelete',C);};p.c.J.prototype._$changeAlbumSort=function(af,cw){var g=this.dz();if((af!=8&&af==g.sort)||(af==8&&cw==g.seq))return;this.ao(true,'相册序列信息保存中...');var M='UserSpaceBean.updateSeq.dwr';this.bK(M,this.bI(M,this.wQ.r(this),[af,cw||'']));};p.c.J.prototype.wQ=function(bf){this.ao(false);if(!bf){this.D('onalbumsortchange',null);return;}var g=this.dz(),aG=this.cZ('UserSpaceBean.updateSeq.dwr');g.sort=aG[0];g.seq=aG[1];this.hw();this.D('onalbumsortchange',g.list);};p.c.J.prototype._$checkAlbumPassword=function(H,dY,ab){var g=this.cN(H);if(g.purl){this.pk(g.purl);return;}this.ao(true,'相片列表地址获取中...');var M='AlbumBean.getAlbumData.dwr',dN=g.dmt;g.dmt=az.bw(8);p.c.J.Ct(this.aC().hostName,' checkAlbumPassword Begin','[albumID='+H+',password='+dY+',key='+ab+']');this.bK(M,this.bI(M,this.pk.r(this),[H,dY||'',ab||'',g.dmt,false],K.gl));};p.c.J.prototype.pk=function(M){this.ao(false);var H=this.cZ('AlbumBean.getAlbumData.dwr')[0],g=this.cN(H);g.purl=M;p.c.J.Ct(this.aC().hostName,' checkAlbumPassword End','[albumID='+H+',purl='+M+']');this.D('onalbumpasswordcheck',H,M?true:false);};p.c.J.prototype.zu=function(H){var g=this.cN(H);if(g.purl){this.zl(g.purl);return;}this.ao(true,'相片列表地址获取中...');var M='AlbumBean.getAlbumData.dwr',dN=g.dmt;g.dmt=az.bw(8);this.bK(M,this.bI(M,this.zl.r(this),[H,'','',g.dmt,false],K.gl));};p.c.J.prototype.zl=function(M){this.ao(false);var H=this.cZ('AlbumBean.getAlbumData.dwr')[0],g=this.cN(H);g.purl=M;this.D('onalbumblogfriendcheck',H,M?true:false);};p.c.J.prototype._$updateAlbumCover=function(ax,aJ){this.ao(true,'相册封面设置中...');var M='AlbumBean.updateCover.dwr';this.bK(M,this.bI(M,this.uZ.r(this),[ax,aJ]));};p.c.J.prototype.uZ=function(Q){this.ao(false);if(!Q){this.D('onalbumcoverupdate',null);return;}var C=this.ha(Q,true);this.D('onalbumcoverupdate',Q);};p.c.J.prototype.Bl=function(BD){this.ao(true,'相册压缩中...');var M='AlbumBean.addDelOriginFile.dwr';this.bK(M,this.bI(M,this.Bp.r(this),[BD]));};p.c.J.prototype.Bp=function(bf){this.ao(false);if(!bf){this.D('onalbumcompress',null);return;}this.D('onalbumcompress',bf);};p.c.J.prototype.ti=function(H){var g=this.mT(H);if(g!=undefined){this.D('onalbumcommentload',g);return;}g=this.cN(H);if(!g.comm){this.pK(H);return;}this.ao(true,'相册评论列表加载中...');var M='http://'+g.comm+'?t='+g.comdmt;g.comdmt=az.bw(8);this.hc(M,this.pK.r(this,H));};p.c.J.prototype.pK=function(H){this.ao(false);var g={},eJ=this.aC().hostId;this.eZ('comm_list_'+eJ+'_'+H,g);var ab='g_ac$'+H+'d',Q=this.cN(H);if(Q.comm&&window[ab]===undefined&& !this.xN){this.zd(H,eJ);this.xN=true;return;}delete this.xN;g.list=window[ab]||[];az.dL(window,ab);this.dr(g);this.D('onalbumcommentload',g);};p.c.J.prototype.zd=function(ax,eJ){this.ao(true,'相册评论列表加载中...');var M='AlbumBean.getCommentData.dwr';this.bK(M,this.bI(M,this.ze.r(this),[ax,eJ]));};p.c.J.prototype.ze=function(g){this.ao(false);var aG=this.cZ('AlbumBean.getCommentData.dwr');if(!g){this.pK(aG[0]);return;}var M='http://'+g.comm||'';this.ha(g,true);this.hc(M,this.pK.r(this,aG[0]));};p.c.J.prototype.mT=function(H){return this.fh('comm_list_'+this.aC().hostId+'_'+H);};p.c.J.prototype._$createAlbumCom=function(H,_content){this.ao(true,'相册评论发表中...');var cc=this.aC(),M='CommentBean.addAComm.dwr';this.bK(M,this.bI(M,this.wt.r(this),[H,cc.visitName,cc.visitNickName,cc.visitAvatar,0,_content,null,'',false]));};p.c.J.prototype.wt=function(hL){this.ao(false);if(!hL){this.D('onalbumcommentcreate',null);return;}if(hL.errorType==2){this.D('onalbumcommentcreate',hL.errorType);return;}var aG=this.cZ('CommentBean.addAComm.dwr'),g=this.mT(aG[0]);g.list.unshift(hL);this.dr(g);this.D('onalbumcommentcreate',g.list);};p.c.J.prototype._$deleteAlbumCom=function(ax,mN){this.ao(true,'相册评论删除中...');var M='CommentBean.delAComm.dwr';this.bK(M,this.bI(M,this.xm.r(this),[mN,ax]));};p.c.J.prototype.xm=function(bf){this.ao(false);if(!bf){this.D('onalbumcommentdelete',null);return;}var aG=this.cZ('CommentBean.delAComm.dwr'),g=this.mT(aG[1]);for(var i=0,l=aG[0].length;i<l;g.list.splice(g.hash[aG[0][i]].index,1),i++);this.dr(g);this.D('onalbumcommentdelete',g.list);};p.c.J.prototype.Ca=function(af,_content){this.ao(true,'用户反馈中...');var M='UserAdviceBean.addUserAdvice.dwr';_content=_content+p.c.J.CD();this.bK(M,this.bI(M,this.Cb.r(this),[af,_content,false]));};p.c.J.prototype.Cb=function(bf){this.ao(false);if(!bf){this.D('onuseradviceadded',null);return;}this.D('onuseradviceadded',bf);};p.c.J.prototype.Cn=function(){this.ao(true,'验证迁移信息中...');var Aj=this.aC().visitName,M='MigrateBlogUserBean.isMigrateEnd.dwr';this.bK(M,this.bI(M,this.Cj.r(this),[Aj]));};p.c.J.prototype.Cj=function(bf){this.ao(false);if(!bf){this.D('ongetmigrateinfo',null);return;}this.D('ongetmigrateinfo',bf);};p.c.J.prototype.zB=function(H){var g=this.cN(H);var M='AlbumBean.getAlbumData.dwr',dN=g.dmt;g.dmt=az.bw(8);p.c.J.Ct(this.aC().hostName,' getPhotoData (reload Photo from Server) Begin','[albumID='+H+']');this.bK(M,this.bI(M,this.zw.r(this),[H,'','',g.dmt,false],K.gl));};p.c.J.prototype.zw=function(M){this.ao(false);var H=this.cZ('AlbumBean.getAlbumData.dwr')[0],g=this.cN(H);g.purl=M;p.c.J.Ct(this.aC().hostName,' getPhotoData (reload Photo from Server) End','[albumID='+H+'purl='+M+']');this.py(H,M);};p.c.J.prototype.mg=function(H){var g=this.dE(H);if(g!=undefined){this.D('onphotolistload',g);return;}g=this.cN(H);if(g.purl){this.py(H,g.purl);return;}this.hn=this.pU('onalbumpasswordcheck');this.L('onalbumpasswordcheck',this.py.r(this));this._$checkAlbumPassword(H,'','');};p.c.J.prototype.py=function(H,bf){this.ao(false);var g=this.cN(H);var M=bf?g.purl:'';this.L('onalbumpasswordcheck',this.hn);delete this.hn;if(!M){this.D('onphotolistload',null);return;}this.ao(true,'相片列表加载中...');M='http://'+M+'?t='+g.dmt;g.dmt=az.bw(8);p.c.J.Ct(this.aC().hostName,' getPhotoList(getDataByJS) Begin','[albumID='+H+'purl='+M+']');this.hc(M,this.wb.r(this,H));};p.c.J.prototype.wb=function(H){this.ao(false);var ab='g_p$'+H+'d',hU=window[ab];az.dL(window,ab);if(!hU){var Q=this.cN(H);Q.purl='';if(! !Q.try404Flag){p.c.J.Ct(this.aC().hostName,' getPhotoList(getDataByJS ) End and retry failed！！！','[hostId='+this.aC().hostId+',albumID='+H+']');this.D('onphotolistload',null);}else{p.c.J.Ct(this.aC().hostName,' getPhotoList(getDataByJS ) End and 404 retry Begin！！！','[hostId='+this.aC().hostId+',albumID='+H+']');Q.try404Flag=true;this.mg(H);}return;}var g={list:hU};this.eZ('photo_list_'+this.aC().hostId+'_'+H,g);g.sort=this.cN(H).st;ab='g_p$'+H+'s';g.seq=(window[ab]||'').qD();az.dL(window,ab);this.iC(H);p.c.J.Ct(this.aC().hostName,' getPhotoList(getDataByJS) End','[albumID='+H+']');this.D('onphotolistload',g);};p.c.J.prototype.dE=function(H){return this.fh('photo_list_'+this.aC().hostId+'_'+H);};p.c.J.prototype.tx=function(H){this.kb('photo_list_'+this.aC().hostId+'_'+H);};p.c.J.prototype.hp=function(ax,aJ){var g=this.dE(ax);return g?(g.hash[aJ]||null):null;};p.c.J.prototype._$changePhotoSort=function(H,af,cw){var g=this.dE(H);if((af!=8&&af==g.sort)||(af==8&&cw==g.seq))return;this.ao(true,'相片排序信息保存中...');var M='AlbumBean.updateSeq.dwr';this.bK(M,this.bI(M,this.wJ.r(this),[H,af,cw||'']));};p.c.J.prototype.wJ=function(bf){this.ao(false);if(!bf){this.D('onphotosortchange',null);return;}var aG=this.cZ('AlbumBean.updateSeq.dwr'),g=this.dE(aG[0]);g.sort=aG[1];g.seq=aG[2];this.iC(aG[0]);this.D('onphotosortchange',g.list);};p.c.J.prototype._$updatePhotoDesc=function(ax,aJ,ku){p.c.J.Ct(this.aC().visitName,' update Photo Desc Begin ','[albumID='+ax+', pid='+aJ+', desc='+ku+']');this.ao(true,'相片描述保存中...');var M='PhotoBean.updateDesc.dwr';this.bK(M,this.bI(M,this.ve.r(this),[aJ,ax,ku||'']));};p.c.J.prototype.ve=function(ae){this.ao(false);if(!ae){p.c.J.Ct(this.aC().visitName,' update Photo Desc End and failed！！！');this.D('onphotodescupdate',null);return;}if(ae.errorType==2){p.c.J.Ct(this.aC().visitName,' update Photo Desc End and failed 4 keyword！！！');this.D('onphotodescupdate',ae.errorType);return;}var aG=this.cZ('PhotoBean.updateDesc.dwr'),af=this.tk(aG[1]),cX=af!=2,C=this.vc(aG[1],ae,cX);p.c.J.Ct(this.aC().visitName,' update Photo Desc End and Success','[Pid='+ae.id+', desc='+ae.desc+']');this.D('onphotodescupdate',C,cX,ae);};p.c.J.prototype._$deletePhotos=function(ax,hR){p.c.J.Ct(this.aC().visitName,' DeletePhotos Begin','[albumID='+ax+',pids='+hR+']');this.ao(true,'相片数据删除中...');var M='PhotoBean.delete.dwr';this.bK(M,this.bI(M,this.xC.r(this),[hR,ax]));};p.c.J.prototype.xC=function(Q){this.ao(false);if(!Q){p.c.J.Ct(this.aC().visitName,' DeletePhotos End failed！！！','[albumID='+Q.id+']');this.D('onphotodelete',null);return;}p.c.J.Ct(this.aC().visitName,' DeletePhotos End Success','[albumID='+Q.id+']');var aG=this.cZ('PhotoBean.delete.dwr'),g=this.dE(aG[1]),C=g.list;for(var i=0,l=aG[0].length;i<l;C.splice(g.hash[aG[0][i]].index,1),i++);this.dr(g);var ot=this.jl()!=1,wU=this.ha(Q,ot);this.D('onphotodelete',C,ot,Q,wU);};p.c.J.prototype._$movePhotos=function(hR,lT,kJ){this.ao(true,'相片移动中...');var M='AlbumBean.movePhotos.dwr';this.bK(M,this.bI(M,this.xz.r(this),[hR,lT,kJ]));};p.c.J.prototype.xz=function(R){this.ao(false);if(!R|| !R.length){this.D('onphotomove',null);return;}var aG=this.cZ('AlbumBean.movePhotos.dwr'),bd=this.dE(aG[1]),nt=bd.list,dW=this.dE(aG[2]);for(var i=0,l=aG[0].length,aB;i<l;i++){aB=nt.splice(bd.hash[aG[0][i]].index,1)[0];dW&&dW.list.push(aB);}this.dr(bd);dW&&this.iC(aG[2]);bd=this.dz();bd.list[bd.hash[aG[1]].index]=R[0];bd.list[bd.hash[aG[2]].index]=R[1];this.hw();this.D('onphotomove',nt,aG[1],aG[2]);};p.c.J.prototype._$copyPhotos=function(hR,lT,kJ){this.ao(true,'相片复制中...');var M='AlbumBean.copyPhotos.dwr';this.bK(M,this.bI(M,this.wg.r(this),[hR,lT,kJ]));};p.c.J.prototype.wg=function(Q){this.ao(false);if(!Q){this.D('onphotocopy',null);return;}var aG=this.cZ('AlbumBean.copyPhotos.dwr');this.tx(aG[2]);var cX=this.jl()!=1,C=this.ha(Q,cX);this.D('onphotocopy',C,cX,this.cN(aG[1]));};p.c.J.prototype.tu=function(ax,aJ){var g=this.tl(ax,aJ);if(g!=undefined){this.D('onphotoexifload',ax,aJ,g);return;}g=this.hp(ax,aJ);if(!g.exif){this.pw(ax,aJ);return;}this.ao(true,'相片EXIF信息加载中...');this.hc('http://'+g.exif,this.pw.r(this,ax,aJ));};p.c.J.prototype.pw=function(ax,aJ){this.ao(false);var ab='g_pe$'+aJ+'d',g=window[ab]||'';var ae=this.hp(ax,aJ),eJ=this.aC().hostId;if(ae.exif&&window[ab]==undefined&& !this.yV){this.yV=true;this.zf(ax,aJ,eJ);return;}delete this.yV;az.dL(window,ab);this.eZ('photo_exif_'+this.aC().hostId+'_'+ax+'_'+aJ,g);this.D('onphotoexifload',ax,aJ,g);};p.c.J.prototype.zf=function(ax,aJ,eJ){var M='PhotoBean.updatePhotoExif.dwr';this.bK(M,this.bI(M,this.yY.r(this),[aJ,ax,eJ]));};p.c.J.prototype.yY=function(g){var aG=this.cZ('PhotoBean.updatePhotoExif.dwr');if(g)this.vc(aG[0],g,true);this.pw(aG[1],aG[0]);};p.c.J.prototype.tl=function(ax,aJ){return this.fh('photo_exif_'+this.aC().hostId+'_'+ax+'_'+aJ);};p.c.J.prototype.tm=function(ax,aJ){var g=this.hp(ax,aJ);if(g.ourl.split('/').length==g.qurl.split('/').length){g.source=g.ourl;}if(g.source){this.D('onphotosrcload',g.source,aJ);return;}this.ao(true,'相片源文件地址获取中...');var M='PhotoBean.getUrl.dwr';this.bK(M,this.bI(M,this.vS.r(this,ax),[aJ]));};p.c.J.prototype.vS=function(ax,M){this.ao(false);var aG=this.cZ('PhotoBean.getUrl.dwr');if(!M){this.D('onphotosrcload','',aG[0]);return;}var g=this.hp(ax,aG[0]);g.source=M;this.D('onphotosrcload',M,aG[0]);};p.c.J.prototype.tq=function(ax,aJ){var g=this.mx(ax,aJ);if(g!=undefined){this.D('onphotocommentload',g);return;}g=this.hp(ax,aJ);if(!g.comm){this.po(ax,aJ);return;}this.ao(true,'相片评论列表加载中...');var M='http://'+g.comm+'?t='+g.comdmt;g.comdmt=az.bw(8);this.hc(M,this.po.r(this,ax,aJ));};p.c.J.prototype.po=function(ax,aJ){this.ao(false);var g={},eJ=this.aC().hostId;this.eZ('comm_list_'+eJ+'_'+ax+'_'+aJ,g);var ab='g_pc$'+aJ+'d';var ae=this.hp(ax,aJ);if(ae.comm&&window[ab]==undefined&& !this.tD){this.tD=true;this.zc(ax,aJ,eJ);return;}delete this.tD;g.list=window[ab]||[];az.dL(window,ab);this.dr(g);this.D('onphotocommentload',g);};p.c.J.prototype.zc=function(ax,aJ,eJ){this.ao(true,'相片评论列表加载中...');var M='PhotoBean.getCommentData.dwr';this.bK(M,this.bI(M,this.zb.r(this),[ax,aJ,eJ]));};p.c.J.prototype.zb=function(g){this.ao(false);var aG=this.cZ('PhotoBean.getCommentData.dwr');if(!g){this.po(aG[0],aG[1]);return;}M='http://'+g.comm||'',this.vc(aG[0],g,true);this.hc(M,this.po.r(this,aG[0],aG[1]));};p.c.J.prototype.mx=function(ax,aJ){return this.fh('comm_list_'+this.aC().hostId+'_'+ax+'_'+aJ);};p.c.J.prototype._$createPhotoCom=function(ax,aJ,_content){this.ao(true,'相片评论发表中...');var cc=this.aC(),M='CommentBean.addPComm.dwr';this.bK(M,this.bI(M,this.ww.r(this),[aJ,ax,cc.visitName,cc.visitNickName,cc.visitAvatar,0,_content,null,'',false]));};p.c.J.prototype.ww=function(hL){this.ao(false);if(!hL){this.D('onphotocommentcreate',null);return;}if(hL.errorType==2){this.D('onphotocommentcreate',hL.errorType);return;}var aG=this.cZ('CommentBean.addPComm.dwr'),g=this.mx(aG[1],aG[0]);g.list.unshift(hL);this.dr(g);this.D('onphotocommentcreate',g.list);};p.c.J.prototype._$deletePhotoCom=function(ax,aJ,mN){this.ao(true,'相片评论删除中...');var M='CommentBean.delPComm.dwr';this.bK(M,this.bI(M,this.xB.r(this),[mN,aJ,ax]));};p.c.J.prototype.xB=function(bf){this.ao(false);if(!bf){this.D('onphotocommentdelete',null);return;}var aG=this.cZ('CommentBean.delPComm.dwr'),g=this.mx(aG[2],aG[1]);for(var i=0,l=aG[0].length;i<l;g.list.splice(g.hash[aG[0][i]].index,1),i++);this.dr(g);this.D('onphotocommentdelete',g.list);};p.c.J.prototype.pV=function(){var g=this.lN();if(g!=undefined){this.D('onfanslistload',g);return;}this.ao(true,'收藏列表加载中...');this.hc(this.aC().fansUrl,this.vX.r(this));};p.c.J.prototype.vX=function(){this.ao(false);var g={},eJ=this.aC().hostId;this.eZ('fans_list_'+eJ,g);var ab='g_f$'+eJ+'d';g.list=window[ab]||[];az.dL(window,ab);g.list.sort(function(bd,dW){return az.lo('t',-1,bd,dW);});this.dr(g);this.D('onfanslistload',g);};p.c.J.prototype.As=function(){var cc=this.aC();var Ac=cc.visitId,BT=cc.hostId;var M='UserStorageBean.calcUserStorageResult.dwr';if(p.c.J.rS()){this.ao(true);this.bK(M,this.bI(M,this.Bb.r(this),[Ac]));}};p.c.J.prototype.Bb=function(g){this.ao(false);this.D('ongetuserstorageresult',g);};p.c.J.prototype.lN=function(){return this.fh('fans_list_'+this.aC().hostId);};p.c.J.prototype.tM=function(){return this.kb('fans_list_'+this.aC().hostId);};p.c.J.prototype.lB=function(){this.ao(true,'正在加入收藏夹...');var M='FansBean.add.dwr';this.bK(M,this.bI(M,this.lx.r(this),[]));};p.c.J.prototype.lx=function(bf){this.ao(false);if(!bf){this.D('onfansadd',null);return;}this.D('onfansadd',bf);};p.c.J.prototype.tw=function(ga){this.ao(true,'正在从收藏夹移除...');var M='FansBean.del.dwr';this.bK(M,this.bI(M,this.xo.r(this),[ga]));};p.c.J.prototype.xo=function(bf){this.ao(false);if(!bf){this.D('onfansdel',null);return;}var C=this.xn(this.cZ('FansBean.del.dwr')[0]);this.D('onfansdel',C);};p.c.J.prototype.xn=function(H){var g=this.lN();g.list.splice(g.hash[H].index,1);this.dr(g);return g.list;};p.c.J.prototype.sy=function(ga){this.ao(true,'正在更新收藏信息...');var M='FansBean.update.dwr';this.bK(M,this.bI(M,this.va.r(this),[ga]));};p.c.J.prototype.va=function(g){this.ao(false);if(!g){this.D('onfansupdate',null);return;}var bd=this.vd(g);this.D('onfansupdate',bd);};p.c.J.prototype.vd=function(km){var g=this.lN(),bd=g.hash[km.id];bd.av=km.av;bd.s=km.s;bd=this.kr(bd);bd.nkname=km.nkname;return bd;};p.c.J.prototype.rI=function(){this.ao(true,'正在刷新收藏列表...');var M='FansBean.refresh.dwr';this.bK(M,this.bI(M,this.uE.r(this),[]));};p.c.J.prototype.uE=function(nJ){this.ao(false);if(!nJ){this.D('onfanslistrefresh',null);return;}this.tM();this.aC().fansUrl='http://'+nJ;this.pV();};p.c.J.prototype.BF=function(){this.ao(false);var M='TradeItemBean.getDealNo.dwr';this.bK(M,this.bI(M,this.Bd.r(this),[false]));};p.c.J.prototype.Bd=function(By){this.D('ongetdealno',By);};p.c.J.prototype.Af=function(){return p.c.J.Af();};p.c.J.prototype.Ar=function(){return p.c.J.Ar();};p.c.J.prototype.CL=function(){var M='UploadSessionBean.setUploadSetupedFlag.dwr';this.bK(M,this.bI(M,K.ql(),[false]));};p.c.J.prototype.CJ=function(){var M='UploadSessionBean.clearUploadSetupedFlag.dwr';this.bK(M,this.bI(M,K.ql(),[false]));};p.c.J.prototype.CK=function(){var M='UploadSessionBean.getUploadSetupedFlag.dwr';this.bK(M,this.bI(M,this.CH.r(this),[false]));};p.c.J.prototype.CH=function(yo){if(yo&&yo==1){this.D('onuploadtoolwebsetup',yo);}else{this.D('onuploadtoolwebsetup');}};  p.c.eS=I.an(p.ag);I.ar(p.c.eS,p.ag);p.c.eS.prototype.cx=function(C,A){this.ca=C;if(!this.ca|| !this.ca.length)return;p.c.eS.dh(this);A=A||{};this.iF=A['class'];this.L('onchange',A.onchange);for(var i=0,l=this.ca.length;i<l;B.L(this.ca[i],'click',this.jE.r(this,i)),i++);this.jE(A.index);};p.c.eS.prototype.jE=function(U){B.aN(arguments[1]);this.qs(U);this.D('onchange',this.aH);};p.c.eS.prototype.qs=function(U){U=U||0;if(this.aH!=U){o.be(this.ca[this.aH],this.iF);this.aH=U;o.bn(this.ca[this.aH],this.iF);}};p.c.eS.prototype.fi=function(){return this.aH;};  p.c.dC=I.an(p.ag);I.ar(p.c.dC,p.ag);p.c.dC.vv=function(){if(!this.iZ){this.iZ=document.createElement('iframe');var aa=this.iZ.style;aa.visibility='hidden';aa.width='1px';aa.height='1px';aa.display='inline';aa.overflow='hidden';this.iZ.src='about:blank';}return this.iZ.cloneNode(true);};p.c.dC.prototype.pu=function(jc){var nl=this.dZ.location,tn=jc?('?u='+encodeURIComponent(jc)):'';return 'http://'+nl.host+nl.pathname+tn;};p.c.dC.prototype.cx=function(A){p.c.dC.dh(this);A=A||{};this.L('onchange',A.onchange);this.ci=[];this.dZ=A.xF||window;if(ay.aR){this.uS=p.c.J.aC().staticRoot+'/html/blank.html';this.mJ=false;this.vN=500;this.il=p.c.dC.vv();(o.aE(K.eW)||document.body).appendChild(this.il);this.il.onreadystatechange=this.vm.r(this);}this.fq=window.setInterval(this.wn.r(this),A.interval||100);this.ln={};};p.c.dC.prototype.vm=function(){var hy=this.il.readyState;if(hy!='loaded'&&hy!='complete')return;var aF=this.il.contentWindow.location.search.substr(1);var cz=this.ln[aF];this.ln[aF]=null;if(!aF||aF==this.ci[this.ci.length-1])return;this.mJ=true;if(!cz)this.gE(aF);};p.c.dC.prototype.vs=function(M){this.il.src=M;};p.c.dC.prototype.vr=function(aF){this.ci.push(aF);if(!ay.aR)return;if(this.mJ){this.mJ=false;return;}this.ln[aF]=true;window.setTimeout(this.vs.r(this,this.uS+(aF?('?'+aF):'')),this.vN);};p.c.dC.prototype.wn=function(){var bi=this.ci.length,aF=this.dZ.location.hash.substr(1);if(bi>0&&aF==this.ci[bi-1])return;this.vr(aF);this.D('onchange',az.qM(aF));};p.c.dC.prototype.xV=function(ts){return this.ci.join(ts||'\n');};p.c.dC.prototype.gE=function(aO,fX){fX=fX||'_hash';switch(fX){case '_top':top.location.href=aO;return;case '_hash':this.dZ.location.hash=aO;return;case '_self':this.dZ.location.href=aO;return;case '_blank':window.open(aO);return;case '_parent':this.dZ.parent.location.href=aO;return;case '_reload':this.dZ.location.reload();return;case '_search':var M=this.pu(aO)+(arguments[2]||this.dZ.location.hash),cz=M==this.dZ.location.href;cz?this.dZ.location.reload():this.dZ.location.href=M;return;case '_login':this.dZ.location.href='http://photo.163.com/myalbum.php?username='+encodeURIComponent(aO)+'&target='+encodeURIComponent(this.pu(aO)+this.dZ.location.hash);return;case '_index':this.dZ.location.href='http://photo.163.com/photo/'+aO;return;}};  p.c.fN=I.an(p.ag);I.ar(p.c.fN,p.ag);p.c.fN.prototype.cx=function(F,A){this.pH=o.aE(F);if(!this.pH)return;p.c.fN.dh(this);A=A||{};this.er=[-1,-1];this.aK({ondrag:A.ondrag,onmove:A.onmove,ondrop:A.ondrop});B.L(A.handler||this.pH,'mousedown',this.wE.bC(this));B.aK(document,{mouseup:this.ss.bC(this),mousemove:this.lC.bC(this)});};p.c.fN.prototype.wE=function(O){B.aN(O);this.kV=true;this.er[0]=B.fG(O);this.er[1]=B.gF(O);o.fM(document.body,'none');this.D('ondrag',this.er[0],this.er[1]);};p.c.fN.prototype.lC=function(O){if(!this.kV)return;var uv=this.er[0],Bx=this.er[1];this.er[0]=B.fG(O);this.er[1]=B.gF(O);this.D('onmove',this.er[0]-uv,this.er[1]-Bx);};p.c.fN.prototype.ss=function(O){if(!this.kV)return;this.kV=false;o.fM(document.body,'');this.D('ondrop');};p.c.fN.prototype.ye=function(){return this.er;};  p.c.im=I.an(p.ag);I.ar(p.c.im,p.ag);p.c.im.prototype.cx=function(bb,A){this.sO=A.lh;this.vx=A.sp;this.nz=A.dy;this.kB=false;this.dM=o.aE(bb);this.dM.innerHTML+=this.dM.innerHTML;var aa=this.dM.style;aa.width=(A.wh=='auto'?'auto':null)||(A.wh+'px')||'200px';aa.height=(A.ht=='auto'?'auto':null)||(A.ht+'px')||'72px';aa.lineHeight=(A.lh+'px')||'24px';aa.overflow='hidden';B.L(this.dM,'mouseover',(function(){this.kB=true;}).r(this));B.L(this.dM,'mouseout',(function(){this.kB=false;}).r(this));this.dM.scrollTop=0;setTimeout(this.nc.r(this),this.nz);};p.c.im.prototype.nc=function(){this.vA=setInterval(this.vt.r(this),this.vx);if(!this.kB){this.dM.scrollTop+=2;}};p.c.im.prototype.vt=function(){if(this.dM.scrollTop%this.sO!=0){this.dM.scrollTop+=2;if(this.dM.scrollTop>=this.dM.scrollHeight/2){this.dM.scrollTop=0;}}else{clearInterval(this.vA);setTimeout(this.nc.r(this),this.nz);}};  p.u.bQ=I.an(p.u.ag);I.ar(p.u.bQ,p.u.ag);p.u.bQ.aq=function(eG){if(!this.iT){this.iS=0;this.iT=new p.u.bQ(o.aE(K.eW)||document.body);}this.iT.aq(eG);this.iS++;};p.u.bQ.aL=function(){if(!this.iT)return;this.iS--;if(this.iS>0)return;this.iS=0;this.iT.aL();};p.u.bQ.kS=function(eG){this.aq(eG);window.setTimeout(this.aL.r(this),2000);};p.u.bQ.aM=function(){if(this.bL)return '';this.bL=true;return '.w-cover-hit{position:fixed;_position:absolute;top:2px;right:1px;z-index:1000;padding:2px 5px;border:1px solid #ddd;background-color:#ffff66;}  .w-cover{position:absolute;top:0;left:0;z-index:999;cursor:default;}';};p.u.bQ.ap=function(){return '<div class="w-cover blank space">&nbsp;</div><div class="w-cover-hit">&nbsp;</div>';};p.u.bQ.prototype.aM=function(){return p.u.bQ.aM();};p.u.bQ.prototype.ap=function(){return p.u.bQ.ap();};p.u.bQ.prototype.aQ=function(A){var P=o.aw(this.al());this.xc=P[0];this.fj=P[1];};p.u.bQ.prototype.vY=function(eG){if(!eG){this.fj.style.visibility='hidden';return;}o.aI(this.fj,eG);this.fj.style.visibility='visible';};p.u.bQ.prototype.vU=function(){var aa=this.xc.style,gq=document.documentElement;aa.width=Math.max(990,gq.clientWidth)+'px';aa.height=gq.scrollHeight+'px';};p.u.bQ.prototype.aq=function(eG){this.vU();this.vY(eG);o.aq(this.al());};p.u.bQ.prototype.aL=function(){o.aL(this.al());};  I.ia({ua:ay.aR?500:1000,ud:50,lq:100,qq:1,xL:100,ue:101,qI:100,xJ:101});p.u.bm=I.an(p.u.ag);I.ar(p.u.bm,p.u.ag);p.u.bm.ad=az.bw(4);p.u.bm.aM=function(){if(this.bL)return '';this.bL=true;return '.w-pager{float:right;text-align:center;}  .w-pager .brd01{border-color:#aaccef;}  .w-pager a,.w-pager .span2a,.w-pager a:hover,.w-pager .span2a:hover{text-decoration:none;color:#3367cd;}  .w-pager .wp-item{float:left;height:20px;line-height:20px;}  .w-pager .wp-btn{width:50px;overflow:hidden;}  .w-pager .wp-btn span{display:none;}  .w-pager .wp-btn a{padding:2px 3px;}  .w-pager .wp-btn a:hover{padding:1px 2px;border-width:1px;border-style:solid;}  .w-pager .wp-box{position:relative;zoom:1;z-index:50;text-align:left;height:18px;border-width:1px;cursor:pointer;font-family:Courier New;}  .w-pager .wp-box .wp-item{height:18px;line-height:18px;}  .w-pager span.space{width:12px;background-position:3px -70px;}  .w-pager .wp-lst{position:absolute;left:-1px;top:18px;width:100%;max-height:200px;overflow:auto;overflow-x:hidden;text-align:left;border-width:1px;border-style:solid;background-color:#fff;}  .w-pager .wp-lst span{display:block;height:20px;line-height:20px;padding:0 3px;}  .w-pager .js_noused_'+this.ad+' a{display:none;}  .w-pager .js_noused_'+this.ad+' span{display:inline;}  .w-pager .wp-lst span:hover,.w-pager .wp-lst span.js_hover_'+this.ad+',.w-pager .wp-lst span.js_selected_'+this.ad+'{background:#327fcf;}  .w-pager .js_show_'+this.ad+':hover,.w-pager div.js_show_'+this.ad+'.js_hover_'+this.ad+',.w-pager .wp-box{padding:0px 3px;border-style:solid;}  .w-pager .js_show_'+this.ad+'{padding:1px 4px;border-style:none;}  .w-pager .js_show_'+this.ad+' .wp-lst{visibility:hidden;}';};p.u.bm.ap=function(){return '<div class="w-pager">  <div class="wp-item wp-btn js_noused_'+this.ad+'"><a class="brd01" href="#" hidefocus="hidefocus">上一页</a><span>上一页</span></div>  <div class="wp-item wp-box brd01 js_show_'+this.ad+'"><span class="wp-item span2a">-/-</span><span class="wp-item img space">&nbsp;</span><br class="space"/><div class="wp-lst brd01"></div></div>  <div class="wp-item wp-btn js_noused_'+this.ad+'"><a class="brd01" href="#" hidefocus="hidefocus">下一页</a><span>下一页</span></div>  <br class="space"/>  </div>';};p.u.bm.prototype.aM=function(){return p.u.bm.aM();};p.u.bm.prototype.ap=function(){return p.u.bm.ap();};p.u.bm.prototype.aP=function(A){var ab=p.u.bm.ad;this.rW=20;this.pg='js_show_'+ab;this.eB='js_hover_'+ab;this.cY='js_noused_'+ab;this.eg='js_selected_'+ab;this.L('onchange',A.onchange);};p.u.bm.prototype.aQ=function(A){var aD=this.al();if(A.align==K.ue)o.sP(aD,'right');var P=o.aw(aD);this.mE=P[0];this.mb=P[2];B.L(o.aw(this.mE)[0],'click',this.iA.bC(this));B.L(o.aw(this.mb)[0],'click',this.iw.bC(this));if(this.dR)B.aK(P[1],{mouseout:this.mz.r(this,false),mouseover:this.mz.r(this,true)});P=o.aw(P[1]);this.gT=P[0];this.cW=P[3];B.L(P[0],'click',this.nj.bC(this));B.L(P[1],'click',this.nj.bC(this));B.L(document,'click',this.uK.r(this));if(A.valign==K.qI){var aa=this.cW.style;aa.top='auto';aa.bottom='18px';}this.dq(A.page,A.total);};p.u.bm.prototype.rk=function(ak,aA){if(aA==this.aX)ak.className=this.eg;ak.onclick=this.sl.r(this,aA);if(!this.dR)return;ak.onmouseout=this.qY.r(this,false,aA-1);ak.onmouseover=this.qY.r(this,true,aA-1);};p.u.bm.prototype.jb=function(aA){aA=parseInt(aA)||K.qq;if(aA<=0||aA>this.dv||aA==this.aX)return;var C=this.mq();if(C&&C.length>0){o.be(C[this.aX-1],this.eg);o.bn(C[aA-1],this.eg);}this.aX=aA;this.gT.innerHTML=this.dv>0?(this.aX+'/'+this.dv):'-/-';this.aX<=1?o.bn(this.mE,this.cY):o.be(this.mE,this.cY);this.aX>=this.dv?o.bn(this.mb,this.cY):o.be(this.mb,this.cY);if(!this.dR)return;this.uL=((this.aX.toString()).length+(this.dv.toString()).length+1)*7+18;};p.u.bm.prototype.sl=function(aA){this.jb(aA);this.D('onchange',this.aX);};p.u.bm.prototype.iw=function(O){B.aN(O);this.jb(this.aX+1);this.D('onchange',this.aX);};p.u.bm.prototype.iA=function(O){B.aN(O);this.jb(this.aX-1);this.D('onchange',this.aX);};p.u.bm.prototype.mq=function(){return this.cW.getElementsByTagName('span');};p.u.bm.prototype.vH=function(aA){if(!this.pL)this.pL=document.createElement('span');var ak=this.pL.cloneNode(true);ak.appendChild(o.mS(aA));this.rk(ak,aA);return ak;};p.u.bm.prototype.mz=function(dB){if(!this.dR||this.qT)return;var F=this.gT.parentNode;o.gX(F,dB,this.eB);};p.u.bm.prototype.qY=function(dB,U){if(!this.dR)return;var F=this.mq()[U];o.gX(F,dB,this.eB);};p.u.bm.prototype.nj=function(O){B.aN(O);if(this.dv<=0)return;this.dv>K.ua?this.vE():this.vC();this.cW.scrollTop=(this.aX-1)*this.rW;o.be(this.cW.parentNode,this.pg);if(!this.dR)return;this.qT=true;this.cW.style.width=this.uL+'px';};p.u.bm.prototype.uK=function(O){if(this.dv<=0)return;o.bn(this.cW.parentNode,this.pg);if(!this.dR)return;this.qT=false;this.mz(false);};p.u.bm.prototype.vC=function(){if(this.iY)return;this.iY=true;var R=[];for(var i=1,l=this.dv+1;i<l;R.push('<span>'+i+'</span>'),i++);this.cW.innerHTML=R.join('');for(var i=0,R=this.mq(),l=R.length;i<l;this.rk(R[i],i+1),i++);};p.u.bm.prototype.vE=function(){if(this.iY)return;this.iY=true;this.jC=0;this.jv=window.setInterval(this.vB.r(this),K.ud);};p.u.bm.prototype.vB=function(){if(Math.ceil(this.dv/K.lq)<this.jC&&this.jv){this.jv=window.clearInterval(this.jv);delete this.jv;delete this.jC;return;}for(var i=this.jC*K.lq,l=i+K.lq,ak;i<l&&i<this.dv;this.cW.appendChild(this.vH(++i)));this.jC++;};p.u.bm.prototype.wI=function(dO){this.iY=false;o.iM(this.cW);};p.u.bm.prototype.dq=function(aA,dO){dO=parseInt(dO)||0;if(dO!=this.dv){this.wI(dO);this.dv=dO;if(this.dR)this.cW.style.height=this.dv>10?'200px':'auto';aA=(aA<0||aA>this.dv)?K.qq:aA;this.aX= -1;}this.jb(aA);};p.u.bm.prototype.yd=function(){return this.aX;};  p.u.aZ=I.an(p.u.ag);I.ar(p.u.aZ,p.u.ag);p.u.aZ.prototype.aP=function(A){this.df={};this.kU=A.effect||false;this.aS={editable:this.cd,onclick:this.lw.r(this)};this.L('onchange',A.onchange);this.kA();};p.u.aZ.prototype.aQ=function(A){this.ky();B.L(this.hA,'click',this.iA.bC(this));B.L(this.hz,'click',this.iw.bC(this));this.dq(A.index,A.list);};p.u.aZ.prototype.wL=function(U){if(U==this.aH)return;this.lz=U;this.os(this.pO(U));this.hH(U);};p.u.aZ.prototype.mW=function(cb){if(this.cQ==cb)return;cb=this.pO(cb);this.kU?this.vp(cb):this.os(cb);};p.u.aZ.prototype.pO=function(cb){cb=this.wj(cb);this.db=this.db== -100?cb:this.db;this.cQ=this.cQ== -100?cb:this.cQ;this.ek=this.ek== -100?cb:this.ek;var aU=Math.min(this.ca.length-this.ek,2*this.fZ-this.ek+cb);if(aU>0)this.vq(aU);aU=Math.min(this.db,this.fZ-this.db+cb);if(aU>0)this.vz(aU);return cb;};p.u.aZ.prototype.os=function(cb){this.hl((this.db-cb)*this.V);this.cQ=cb;this.jV();};p.u.aZ.prototype.vp=function(cb){if(this.lW)return;this.mc=(this.db-cb)*this.V;this.hj=(this.db-this.cQ)*this.V;this.oL=this.mc>this.hj?1: -1;this.lW=window.setInterval(this.wZ.r(this),this.jM);this.cQ=cb;this.jV();};p.u.aZ.prototype.wZ=function(){if((this.mc-this.hj)*this.oL<=0){this.lW=window.clearInterval(this.lW);this.hj=this.mc;}else{this.hj+=this.oT*this.oL;}this.hl(this.hj);};p.u.aZ.prototype.wj=function(cb){return Math.max(0,Math.min(cb,this.ca.length-this.fZ));};p.u.aZ.prototype.vz=function(aU){for(var i=0;i<aU;i++){this.db--;o.cU(this.fy,this.jj(this.db),K.hX);var g=this.ca[this.db];this.df[g.id].cK(g);}this.jS();this.hl((this.db-this.cQ)*this.V);};p.u.aZ.prototype.vq=function(aU){for(var i=0;i<aU;i++){this.fy.appendChild(this.jj(this.ek));var g=this.ca[this.ek];this.df[g.id].cK(g);this.ek++;}this.jS();};p.u.aZ.prototype.pr=function(H){return this.df[H].pS().index;};p.u.aZ.prototype.vG=function(C){this.ca=C;this.db= -100;this.cQ= -100;this.ek= -100;if(!this.dR)return;this.ra();};p.u.aZ.prototype.oN=function(){for(var H in this.df){this.df[H].ey();delete this.df[H];}};p.u.aZ.prototype.iA=function(O){B.aN(O);this.mW(this.cQ-this.ko);};p.u.aZ.prototype.iw=function(O){B.aN(O);this.mW(this.cQ+this.ko);};p.u.aZ.prototype.dq=function(U,C){if(C&&(C!=this.ca||U<this.db||U>this.ek)){this.vG(C);this.oN();U=(U<0||U>=this.ca.length)?0:U;this.aH= -100;}this.wL(U);};p.u.aZ.prototype.fP=function(){this.ca=null;};p.u.aZ.prototype.fi=function(){return this.aH;};p.u.aZ.prototype.kA=function(){};p.u.aZ.prototype.ky=function(){};p.u.aZ.prototype.jj=function(U){};p.u.aZ.prototype.jS=function(){};p.u.aZ.prototype.ra=function(){};p.u.aZ.prototype.jV=function(){};p.u.aZ.prototype.hl=function(gN){};p.u.aZ.prototype.lw=function(H){};p.u.bZ=I.an(p.u.aZ);I.ar(p.u.bZ,p.u.aZ);p.u.bZ.ad=az.bw(3);p.u.bZ.aM=function(){if(this.bL)return '';this.bL=true;return '.w-aplayer{width:120px;margin:0 auto;}  .w-aplayer .w-aplayer-up,.w-aplayer .w-aplayer-dn{display:block;width:120px;height:22px;margin:0 auto;cursor:pointer;}  .w-aplayer .w-aplayer-up{background-position:0 -103px;}  .w-aplayer .w-aplayer-dn{background-position:0 -200px;}  .w-aplayer .w-aplayer-up:hover{text-decoration:none;background-position:0 -152px;}  .w-aplayer .w-aplayer-dn:hover{text-decoration:none;background-position:0 -246px;}  .w-aplayer .js_noused_'+this.ad+'{visibility:hidden;}  .w-aplayer .w-aplayer-window{position:relative;max-height:520px;overflow:hidden;margin:10px auto;}  .w-aplayer .w-aplayer-list{position:relative;top:0;left:0;text-align:center;}  .w-aplayer .w-itemb{width:118px;height:128px;padding:1px;}  .w-aplayer .w-itemb.selitm{padding:0;border-width:1px;border-style:solid;}';};p.u.bZ.ap=function(){return '<div class="w-aplayer">  <a hidefocus="true" href="#" class="img w-aplayer-up js_noused_'+this.ad+'">&nbsp;</a>  <div class="w-aplayer-window"><div class="w-aplayer-list"></div></div>  <a hidefocus="true" href="#" class="img w-aplayer-dn js_noused_'+this.ad+'">&nbsp;</a>  </div>';};p.u.bZ.prototype.aM=function(){return p.u.bZ.aM();};p.u.bZ.prototype.ap=function(){return p.u.bZ.ap();};p.u.bZ.prototype.kA=function(){this.V=130;this.fZ=4;this.ko=4;this.eg='selitm';this.cY='js_noused_'+p.u.bZ.ad;if(!this.kU)return;this.oT=52;this.jM=30;};p.u.bZ.prototype.ky=function(){var kG=o.aw(this.al());this.hA=kG[0];this.hz=kG[2];this.fy=o.aw(kG[1])[0];};p.u.bZ.prototype.jj=function(U){var g=this.ca[U];g=this.df[g.id]=p.u.dp.jO(this.aS);var aD=g.al();o.be(aD,this.eg);return aD;};p.u.bZ.prototype.oN=function(){var ak;for(var H in this.df){ak=this.df[H];o.be(ak.al(),this.eg);ak.ey();delete this.df[H];}};p.u.bZ.prototype.jS=function(){this.fy.style.height=(this.ek-this.db)*this.V+'px';};p.u.bZ.prototype.ra=function(){this.fy.parentNode.style.height=Math.min(this.ca.length,this.fZ)*this.V+'px';};p.u.bZ.prototype.jV=function(){this.cQ<=0?o.bn(this.hA,this.cY):o.be(this.hA,this.cY);this.cQ>=this.ca.length-this.fZ?o.bn(this.hz,this.cY):o.be(this.hz,this.cY);};p.u.bZ.prototype.hl=function(gN){this.fy.style.top=gN+'px';};p.u.bZ.prototype.hH=function(U){if(this.aH>=0){var g=this.df[this.ca[this.aH].id];o.be(g.al(),this.eg);}this.aH=U;var g=this.df[this.ca[this.aH].id];o.bn(g.al(),this.eg);};p.u.bZ.prototype.lw=function(H){var U=this.pr(H);if(this.aH==U)return;this.hH(U);this.D('onchange',H);};p.u.bZ.prototype.sC=function(U){this.hH(U);};p.u.bZ.prototype.fS=function(g){if(!this.df|| !g)return;var ak=this.df[g.id];if(!ak)return;ak.cK(g);};p.u.ct=I.an(p.u.aZ);I.ar(p.u.ct,p.u.aZ);p.u.ct.ad=az.bw(3);p.u.ct.aM=function(){if(this.bL)return '';this.bL=true;return '.w-pplayer{width:200px;margin:0 auto;padding:5px 0;border-width:1px;border-style:solid;text-align:center;}  .w-pplayer .w-pplayer-desc{width:162px;margin:0 auto;height:20px;line-height:20px;padding-bottom:5px;text-align:left;}  .w-pplayer .w-pplayer-window{position:relative;width:170px;height:87px;overflow:hidden;margin:0 auto;text-align:left;}  .w-pplayer .w-pplayer-case{position:relative;top:0;left:0;}  .w-pplayer .w-pplayer-action{width:162px;margin:0 auto;height:20px;line-height:20px;padding-top:5px;}  .w-pplayer .w-pplayer-action a,.w-pplayer .w-pplayer-action .js_noused_'+this.ad+' span{display:inline;}  .w-pplayer .w-pplayer-action span,.w-pplayer .w-pplayer-action .js_noused_'+this.ad+' a{display:none;}  .w-pplayer .w-pplayer-action .w-pplayer-up{float:left;width:50px;text-align:left;}  .w-pplayer .w-pplayer-action .w-pplayer-re{float:left;width:60px;text-align:center;}  .w-pplayer .w-pplayer-action .w-pplayer-dn{float:right;width:50px;text-align:right;}';};p.u.ct.wN=function(){return '<div class="w-pplayer brd01">  <div class="w-pplayer-desc">第-/-张</div>  <div class="w-pplayer-window"><div class="w-pplayer-case w-photos w-cphotos"></div></div>  <div class="w-pplayer-action">  <div class="w-pplayer-up js_noused_'+this.ad+'"><a href="#" hidefocus="hidefocus">&lt;上一张</a><span class="fc6">&lt;上一张</span></div>  <div class="w-pplayer-re js_noused_'+this.ad+'"><a href="#" hidefocus="hidefocus">复位</a><span class="fc6">复位</span></div>  <div class="w-pplayer-dn js_noused_'+this.ad+'"><a href="#" hidefocus="hidefocus">下一张&gt;</a><span class="fc6">下一张&gt;</span></div>  <br class="space"/>  </div>  </div>';};p.u.ct.prototype.aM=function(){return p.u.ct.aM();};p.u.ct.prototype.ap=function(){return p.u.ct.wN();};p.u.ct.prototype.kA=function(){this.V=85;this.fZ=2;this.ko=1;this.lz= -100;this.cY='js_noused_'+p.u.ct.ad;if(!this.kU)return;this.oT=17;this.oM=40;this.jM=50;};p.u.ct.prototype.ky=function(){var gk=o.aw(this.al());this.bO=gk[0];this.fy=o.aw(gk[1])[0];gk=gk[2].getElementsByTagName('a');this.hA=gk[0];this.oQ=gk[1];this.hz=gk[2];B.L(this.oQ,'click',this.sY.bC(this));};p.u.ct.prototype.jj=function(U){var g=this.ca[U];g=this.df[g.id]=p.u.dU.jO(this.aS);return g.al();};p.u.ct.prototype.jS=function(){this.fy.style.width=(this.ek-this.db)*this.V+'px';};p.u.ct.prototype.jV=function(){var G=this.hA.parentNode;this.cQ<=0?o.bn(G,this.cY):o.be(G,this.cY);G=this.hz.parentNode;this.cQ>=this.ca.length-this.fZ?o.bn(G,this.cY):o.be(G,this.cY);G=this.oQ.parentNode;this.cQ==this.lz?o.bn(G,this.cY):o.be(G,this.cY);};p.u.ct.prototype.hl=function(gN){this.fy.style.left=gN+'px';};p.u.ct.prototype.hH=function(U){if(U==this.aH)return;this.aH=U;o.aI(this.bO,'第 '+(this.aH+1)+'/'+this.ca.length+' 张');};p.u.ct.prototype.sY=function(O){B.aN(O);this.jM-=this.oM;this.mW(this.lz);this.jM+=this.oM;};p.u.ct.prototype.lw=function(H){this.hH(this.pr(H));this.aH==this.cQ?this.iA():this.iw();this.D('onchange',H);};  p.u.aT=I.an(p.u.ag);I.ar(p.u.aT,p.u.ag);p.u.aT.mk=function(){if(!this.ja){this.ja=document.createElement('iframe');this.ja.src='about:blank';this.ja.className='w-window-hack';}return this.ja;};p.u.aT.aM=function(){if(this.bL)return '';this.bL=true;return '.w-window{position:absolute;top:0;left:0;z-index:1005;border:1px solid #3266cc;background-color:#fff;}  .w-window .w-close{position:absolute;right:10px;top:10px;width:15px;height:15px;cursor:pointer;background-position:0 -291px;}  .w-window .w-titlebar{height:34px;line-height:34px;overflow:hidden;text-align:left;background-color:#bed5ff;}  .w-window .w-title{width:85%;text-align:left;padding-left:10px;font-size:14px;font-weight:bold;cursor:move;color:#3367cd;}  .w-window .w-content{min-height:50px;_height:50px;padding:10px;text-align:center;border:4px solid #bed5ff;border-top:0;}  .w-window-hack{position:absolute;top:0;left:0;z-index:1004;background:#fff;}';};p.u.aT.ap=function(){if(!this.ba){this.ba=o.bj('  <div class="w-window" style="visibility:hidden;">  <div class="w-close img space" title="关闭窗口">&nbsp;</div>  <div class="w-titlebar"><div class="w-title thide"></div></div>  <div class="w-content"></div>  </div>');}return this.ba.cloneNode(true);};p.u.aT.prototype.aM=function(){return p.u.aT.aM();};p.u.aT.prototype.ap=function(){return p.u.aT.ap();};p.u.aT.prototype.mk=function(){return p.u.aT.mk();};p.u.aT.prototype.aP=function(A){this.aK({onclose:A.onclose,onshow:A.onshow});if(A.actions&&A.actions.constructor==Array&&A.actions.length)for(var i=0,l=A.actions.length;i<l;this.L('action-'+i,A.actions[i]),i++);this.wP=A.oncontentready||K.ql;};p.u.aT.prototype.aQ=function(A){var aD=this.al(),P=o.aw(aD);this.bO=o.aw(P[1])[0];this.hd=P[2];this.ya=new p.c.fN(aD,{handler:P[1],onmove:this.lC.r(this)});B.L(P[0],'click',this.rg.bC(this));if(A.width)aD.style.width=A.width+'px';o.bn(aD,A['class']||'');this.sB(A.title||'');this.sS(A.content||'');};p.u.aT.prototype.lC=function(bq,bu){var aa=this.al().style,eT=parseInt(aa.top)||0,fv=parseInt(aa.left)||0;this.qr((fv+bq)+'px',(eT+bu)+'px');};p.u.aT.prototype.rg=function(O){B.aN(O);this.aL();this.D('onclose');};p.u.aT.prototype.rc=function(){if(this.dR){this.gd=this.mk();var aD=this.al();aD.parentNode.appendChild(this.gd);var aa=this.gd.style;aa.width=aD.offsetWidth+'px';aa.height=aD.offsetHeight+'px';}this.ii();this.D('onshow');};p.u.aT.prototype.sB=function(tO){o.aI(this.bO,tO);};p.u.aT.prototype.sS=function(_content){o.iM(this.hd);typeof(_content)=='string'?this.hd.innerHTML=_content:this.hd.appendChild(_content);this.wP.call(this,this.hd);};p.u.aT.prototype.xP=function(){this.rc();};p.u.aT.prototype.sm=function(){p.u.bQ.aq();this.rc();};p.u.aT.prototype.aq=function(){this.sm();};p.u.aT.prototype.cy=function(){this.rg();};p.u.aT.prototype.aL=function(){this.oq=false;p.u.bQ.aL();var aa=this.al().style;aa.visibility='hidden';aa.top='0px';aa.left='0px';if(this.gd){aa=this.gd.style;aa.visibility='hidden';aa.top='0px';aa.left='0px';}};p.u.aT.prototype.ii=function(){this.oq=true;this.ry();this.al().style.visibility='visible';if(!this.gd)return;this.gd.style.visibility='visible';};p.u.aT.prototype.qr=function(fv,eT){var aa=this.al().style;aa.left=fv;aa.top=eT;if(!this.dR)return;aa=this.gd.style;aa.left=fv;aa.top=eT;};p.u.aT.prototype.ry=function(){var og=this.al(),gq=document.documentElement,eT=(gq.scrollTop)+Math.floor((gq.clientHeight-og.offsetHeight)/2)+'px',fv=(gq.scrollLeft)+Math.floor((gq.clientWidth-og.offsetWidth)/2)+'px';this.qr(fv,eT);};  p.u.ck=I.an(p.u.ag);I.ar(p.u.ck,p.u.ag);p.u.ck.ad=az.bw(7);p.u.ck.aM=function(){if(this.bL)return '';this.bL=true;return '.w-tedt{overflow:hidden;margin:10px auto;cursor:text;}  .w-tedt .show{display:block;text-align:center;}  .w-tedt .input{display:none;text-align:left;margin:0 auto;}  .w-tedt .input textarea{width:746px;height:100px;}  .w-tedt .input .w-btns{padding:5px 0;}  .w-tedt .input .w-btns .button{margin:0 8px 0 0;}  .w-tedt.js_tedit_'+this.ad+' .show{display:none;}  .w-tedt.js_tedit_'+this.ad+' .input{display:block;}';};p.u.ck.ap=function(){if(!this.ba)this.ba=o.bj('<div class="w-tedt blank"><pre class="show fs1"></pre></div>');return this.ba.cloneNode(true);};p.u.ck.xu=function(){if(!this.nk){this.nk=o.bj('<div class="input"><textarea></textarea><div class="w-btns"><input class="button img btna" type="button" value="确定"/><input class="button img btna" type="button" value="取消"/></div></div>');}return this.nk.cloneNode(true);};p.u.ck.prototype.aM=function(){return p.u.ck.aM();};p.u.ck.prototype.ap=function(){return p.u.ck.ap();};p.u.ck.prototype.aP=function(A){var ab=p.u.ck.ad;this.eB='js_ehvr_34d34';this.mP='js_tedit_'+ab;this.L('onsave',A.onsave);};p.u.ck.prototype.aQ=function(A){var aD=this.al();this.gT=aD.getElementsByTagName('pre')[0];if(this.cd){var G=p.u.ck.xu();aD.appendChild(G);this.jt=G.getElementsByTagName('textarea')[0];G=G.getElementsByTagName('input');B.L(aD,'click',B.aN.r(this));B.L(G[0],'click',this.tJ.r(this));B.L(G[1],'click',this.cV.r(this));B.aK(this.gT,{click:this.sz.r(this),mouseout:this.rf.r(this,false),mouseover:this.rf.r(this,true)});}this.sQ(A.mmlen);this.kW(A.text);};p.u.ck.prototype.rf=function(dB){o.gX(this.gT,dB,this.eB);};p.u.ck.prototype.sz=function(O){this.jt.value=this.oe;o.bn(this.al(),this.mP);this.jt.focus();};p.u.ck.prototype.tJ=function(){var aO=this.jt.value.cJ(),cR=aO.length;if(cR<this.iu[0]||cR>this.iu[1]){alert('内容长度范围为'+this.iu[0]+'-'+this.iu[1]+'个字符!');this.jt.focus();return;}this.D('onsave',aO);};p.u.ck.prototype.cV=function(){o.be(this.al(),this.mP);};p.u.ck.prototype.kW=function(el){o.be(this.al(),this.mP);this.oe=el;o.aI(this.gT,this.oe||(this.cd?'点击添加描述':' '));};p.u.ck.prototype.sQ=function(rw){this.iu=rw||[1,Number.POSITIVE_INFINITY];};  p.u.bk=I.an(p.u.ag);I.ar(p.u.bk,p.u.ag);p.u.bk.dT=[];p.u.bk.eC=function(A){};p.u.bk.jO=function(A){var ak=this.dT.length<=0?this.eC(A):this.dT.shift();ak.qv(A);ak.cK(A?A.data:null);return ak;};p.u.bk.prototype.qv=function(A){};p.u.bk.fD=function(ak){ak.dL();this.dT.push(ak);};p.u.bk.gZ=function(bh,A){var R=[];for(var i=0,ak;i<bh;i++){R.push(this.jO(A));}return R;};p.u.bk.prototype.iL=function(){if(!this.aV)return;B.aK(this.aV,{'load':this.sH.r(this),'error':this.sD.r(this)});};p.u.bk.prototype.sD=function(){if(this.aV.src==this.cr)return;this.fk(this.cr);};p.u.bk.prototype.sH=function(){this.aV.style.visibility='visible';};p.u.bk.prototype.fk=function(dA){if(this.aV.src==dA)return;this.aV.style.visibility='hidden';dA?this.aV.src=dA:o.qp(this.aV,'src');};p.u.bk.prototype.iJ=function(){this.D('onclick',this.aW.id);};p.u.bk.prototype.dL=function(){o.jK(this.al());};p.u.bk.prototype.pS=function(){return this.aW||null;};p.u.bk.prototype.ey=function(){};p.u.bk.prototype.cK=function(g){};  p.u.bR=I.an(p.u.bk);I.ar(p.u.bR,p.u.bk,true);p.u.bR.jJ=['公开','密码访问','不公开','未知','博友可见'];p.u.bR.eC=function(A){return new p.u.bR(null,A);};p.u.bR.ap=function(){if(!this.ba){this.ba=o.bj('  <div class="w-itema">  <div class="ln desc thide"><span class="fc1 fw1"></span><span class="fc2"></span></div>  <div class="ln time"><span class="fc2"></span><span class="fc4"></span></div>  <div class="image img"><div class="w-viewer"><p><img/></p></div></div>  </div>');}return this.ba.cloneNode(true);};p.u.bR.su=function(){if(!this.oK)this.oK=o.bj('<div class="w-peditor blank"><input class="text" type="text"/><div class="w-btns"><input class="button img btna" type="button" value="确定"/><input class="button img btna" type="button" value="取消"/></div></div>');var G=this.oK.cloneNode(true);B.L(G,'click',B.aN.r(this));return G;};p.u.bR.prototype.ap=function(){return p.u.bR.ap();};p.u.bR.prototype.aP=function(A){this.oI=30;this.pe='js_editt_34df';this.eB='js_hover_9865';this.xq='js_ehvr_34d34';this.cr=K.eA+'nocvb.jpg';this.iO=K.eA+'ndpdb.jpg';this.aK({onclick:A.onclick,onupdate:A.onupdate,ondelete:A.ondelete,onnameupdate:A.onnameupdate});};p.u.bR.prototype.aQ=function(A){var P=o.aw(this.al()),bG=o.aw(P[0]);this.bO=bG[0];this.xd=bG[1];bG=o.aw(P[1]);this.gv=bG[0];this.wS=bG[1];this.aV=P[2].getElementsByTagName('img')[0];this.iL();B.L(o.aw(P[2])[0],'click',this.iJ.r(this));if(this.cd)this.mQ();};p.u.bR.prototype.mQ=function(){if(!this.cd)return;var aD=this.al();B.L(this.bO.parentNode,'click',this.uw.r(this));var G=o.bj('<div class="action"><a href="#" hidefocus="true">修改属性</a><a href="#" hidefocus="true">删除</a></div>'),oB=G.getElementsByTagName('a');B.L(oB[0],'click',this.rB.r(this));B.L(oB[1],'click',this.sJ.r(this));aD.appendChild(G);B.aK(aD,{mouseover:this.fC.r(this,0,true),mouseout:this.fC.r(this,0,false)});B.aK(this.bO.parentNode,{mouseover:this.fC.r(this,1,true),mouseout:this.fC.r(this,1,false)});G=p.u.bR.su();aD.appendChild(G);G=G.getElementsByTagName('input');this.pN=G[0];B.L(G[1],'click',this.sk.r(this));B.L(G[2],'click',this.re.r(this));};p.u.bR.prototype.fC=function(at,dB){var ea=at==0?this.eB:this.xq,F=at==0?this.al():this.bO.parentNode;o.gX(F,dB,ea);};p.u.bR.prototype.rB=function(O){B.aN(O);this.D('onupdate',this.aW);};p.u.bR.prototype.sJ=function(O){B.aN(O);this.D('ondelete',this.aW.id);};p.u.bR.prototype.re=function(){o.be(this.al(),this.pe);};p.u.bR.prototype.sk=function(){var aO=this.pN.value.cJ(),cR=aO.length;if(!cR||cR>this.oI){alert('相册名称长度必须在1-'+this.oI+'个字符之间！');return;}this.D('onnameupdate',this.aW.id,aO);};p.u.bR.prototype.uw=function(){this.pN.value=this.aW.name||'';o.bn(this.al(),this.pe);};p.u.bR.prototype.ey=function(){this.fk();if(p.w.sg)p.w.sg.cy();p.u.bR.fD(this);};p.u.bR.prototype.cK=function(g){this.re();if(!g)return;o.aI(this.bO,(g.name||'').uA(10));o.aI(this.xd,'('+(g.count||0)+')');o.aI(this.gv,az.iP(g.t||0));var jG=g.au||0;if(jG==4){this.cr=K.eA+'ndpdb.gif';this.iO=K.eA+'ndpdb.gif';}else{this.cr=K.eA+'nocvb.jpg';this.iO=K.eA+'ndpdb.jpg';}o.aI(this.wS,jG==0?'':('('+p.u.bR.jJ[jG]+')'));this.fk(this.cd||jG==0||(jG==1&&(! !g.purl))?g.curl||this.cr:this.iO);this.aW=g;};p.u.dp=I.an(p.u.bk);I.ar(p.u.dp,p.u.bk,true);p.u.dp.eC=function(A){return new p.u.dp(null,A);};p.u.dp.ap=function(){if(!this.ba){this.ba=o.bj('  <div class="w-itemb brd01">  <div class="desc thide fc1 fw1"></div>  <div class="image img"><div class="w-qviewer"><img/></div></div>  </div>');}return this.ba.cloneNode(true);};p.u.dp.prototype.ap=function(){return p.u.dp.ap();};p.u.dp.prototype.aP=function(A){this.cr=K.eA+'nocvs.jpg';this.iO=K.eA+'ndpds.jpg';this.L('onclick',A.onclick);};p.u.dp.prototype.aQ=function(A){var aD=this.al(),P=o.aw(aD);this.bO=P[0];this.aV=P[1].getElementsByTagName('img')[0];this.iL();B.L(aD,'click',this.iJ.r(this));};p.u.dp.prototype.ey=function(){this.fk();p.u.dp.fD(this);};p.u.dp.prototype.cK=function(g){if(!g)return;o.aI(this.bO,g.name);var jG=g.au||0;if(jG&&jG==4){this.cr=K.eA+'ndpdb2.gif';this.iO=K.eA+'ndpdb2.gif';}else{this.cr=K.eA+'nocvs.jpg';this.iO=K.eA+'ndpds.jpg';}this.fk(this.cd||jG==0||(jG==1&&(! !g.purl))||(jG==4&&(! !g.purl))?g.surl||this.cr:this.iO);this.aW=g;};p.u.ep=I.an(p.u.dp);I.ar(p.u.ep,p.u.dp,true);p.u.ep.eC=function(A){return new p.u.ep(null,A);};p.u.ep.ap=function(){if(!this.ba){this.ba=o.bj('  <div class="w-itemb w-itemc">  <div class="desc thide fc1 fw1"></div>  <div class="image img"><div class="pic space">&nbsp;</div></div>  </div>');}return this.ba.cloneNode(true);};p.u.ep.prototype.ap=function(){return p.u.ep.ap();};p.u.ep.prototype.aQ=function(A){var aD=this.al(),P=o.aw(aD);this.bO=P[0];this.aV=P[1].getElementsByTagName('div')[0];};p.u.ep.prototype.ey=function(){this.aV.style.backgroundImage='none';p.u.ep.fD(this);};p.u.ep.prototype.cK=function(g){if(!g)return;this.aW=g;o.aI(this.bO,g.name);var jG=g.au||0;if(jG==4){this.cr=K.eA+'ndpdb2.gif';this.iO=K.eA+'ndpdb2.gif';}else{this.cr=K.eA+'nocvs.jpg';this.iO=K.eA+'ndpds.jpg';}this.aV.style.backgroundImage='url('+(this.cd||jG==0?g.surl||this.cr:this.iO)+')';this.al()['sort_key']=g.id;};  p.u.bF=I.an(p.u.bk);I.ar(p.u.bF,p.u.bk,true);p.u.bF.eC=function(A){return new p.u.bF(null,A);};p.u.bF.jO=function(A){if(this.dT.length<=0)return this.eC(A);var ak=this.dT.shift();ak.cK(A.data);ak.lv(A.index);return ak;};p.u.bF.ap=function(){if(!this.ba){this.ba=o.bj('  <div class="w-itemp">  <div class="row w-pviewer iw"><div class="pdiv iw">  <div class="io">  <div class="sh1">  <div class="sh2">  <div class="sh3"><img class="brd02" /></div></div></div></div></div></div>  <div class="row desc iw"><div class="cse"></div></div>  </div>');}return this.ba.cloneNode(true);};p.u.bF.vZ=function(){if(!this.ju){this.ju=o.gG();this.ju.className='img space';this.ju.appendChild(o.mS(' '));}return this.ju.cloneNode(true);};p.u.bF.vI=function(){if(!this.qV){this.qV=document.createElement('pre');}return this.qV.cloneNode(true);};p.u.bF.prototype.ap=function(){return p.u.bF.ap();};p.u.bF.prototype.aP=function(A){this.eB='js_hover_4845';this.aH=A.index||0;this.lY=['qurl','turl','surl'];this.mY=[75,130,240];this.wm=[/(.{9})/gi,/(.{16})/gi,/(.{30})/gi];this.cr=K.eA+'default.gif';this.aK({onclick:A.onclick,oncheck:A.oncheck});};p.u.bF.prototype.aQ=function(A){B.aK(this.al(),{mouseout:this.fC.r(this,false),mouseover:this.fC.r(this,true)});var P=o.aw(this.al());B.L(P[0],'click',this.iJ.r(this));this.fj=p.u.bF.vI();this.aV=P[0].getElementsByTagName('img')[0];this.bO=P[1].getElementsByTagName('div')[0];this.uI=P[0].getElementsByTagName('div')[1];this.iL();if(this.cd){this.eg='js_selected_568';this.oS=p.u.bF.vZ();B.L(this.oS,'click',this.sI.r(this));}};p.u.bF.prototype.oX=function(){this.iG=true;o.bn(this.al(),this.eg);};p.u.bF.prototype.mC=function(){this.iG=false;o.be(this.al(),this.eg);};p.u.bF.prototype.sI=function(){this.iG?this.mC():this.oX();this.D('oncheck',this.aW.id,this.iG);};p.u.bF.prototype.fC=function(dB){o.gX(this.al(),dB,this.eB);};p.u.bF.prototype.ey=function(){this.fk();this.fC(false);p.u.bF.fD(this);};p.u.bF.prototype.cK=function(g){if(!g)return;this.mC();this.aW=g;if(this.cd)this.bO.appendChild(this.oS);this.lv(this.aH);};p.u.bF.prototype.uu=function(ib){ib?this.oX():this.mC();};p.u.bF.prototype.sV=function(){return this.iG;};p.u.bF.prototype.lv=function(af){this.aH=af||0;var aO=(this.aW.desc||'').cJ();if(!aO)o.jK(this.fj);else{this.bO.appendChild(this.fj);o.aI(this.fj,aO.replace(this.wm[this.aH],'$1\n'));}var cz=this.aW.ow>this.aW.oh;var lm=this.wy(cz);this.aV.style['width']=lm[0]+'px';this.aV.style['height']=lm[1]+'px';this.uI.style['width']=(lm[0]+8)+'px';this.fk(this.aW[this.lY[this.aH]],this.cr);};p.u.bF.prototype.wy=function(cz){if(this.aH==0){var io=this.mY[this.aH];return[io,io];}var iq,jz;if(cz){iq=Math.min(this.aW.ow,this.mY[this.aH]);jz=Math.floor(iq*this.aW.oh/this.aW.ow);}else{jz=Math.min(this.aW.oh,this.mY[this.aH]);iq=Math.floor(jz*this.aW.ow/this.aW.oh);}return[iq,jz];};p.u.dU=I.an(p.u.bk);I.ar(p.u.dU,p.u.bk,true);p.u.dU.eC=function(A){return new p.u.dU(null,A);};p.u.dU.ap=function(){if(!this.ba){this.ba=o.bj('<div class="w-gviewer"><img class="brd01" /></div>');}return this.ba.cloneNode(true);};p.u.dU.prototype.ap=function(){return p.u.dU.ap();};p.u.dU.prototype.aP=function(A){this.cr=K.eA+'default.gif';this.L('onclick',A.onclick);};p.u.dU.prototype.aQ=function(A){var aD=this.al();B.L(aD,'click',this.iJ.r(this));this.aV=aD.getElementsByTagName('img')[0];this.iL();};p.u.dU.prototype.ey=function(){this.fk();p.u.dU.fD(this);};p.u.dU.prototype.cK=function(g){if(!g)return;this.fk(g.qurl,this.cr);this.aW=g;};p.u.eP=I.an(p.u.bk);I.ar(p.u.eP,p.u.bk,true);p.u.eP.eC=function(A){return new p.u.eP(null,A);};p.u.eP.ap=function(){if(!this.ba){this.ba=o.bj('<div class="w-sviewer space">&nbsp;</div>');}return this.ba.cloneNode(true);};p.u.eP.prototype.ap=function(){return p.u.eP.ap();};p.u.eP.prototype.ey=function(){this.al().style.backgroundImage='none';p.u.eP.fD(this);};p.u.eP.prototype.cK=function(g){if(!g)return;this.aW=g;var aD=this.al();aD['sort_key']=g.id;aD.style.backgroundImage='url('+(g.qurl||this.cr)+')';};  p.u.cg=I.an(p.u.bk);I.ar(p.u.cg,p.u.bk,true);p.u.cg.eC=function(A){return new p.u.cg(null,A);};p.u.cg.aM=function(){if(this.bL)return '';this.bL=true;return '.w-citem{text-align:left;min-height:80px;height:auto !important;height:80px;overflow:visible;}  .w-citem .face{float:left;width:98px;text-align:center;}  .w-citem .face img{display:block;width:50px;height:50px;margin:0 auto;padding:1px;border:1px solid #A9A9A9;}  .w-citem .detail{margin-left:100px;text-align:center;}  .w-citem .detail .info{height:25px;line-height:25px;text-align:left;}  .w-citem .detail .info a{margin:0 5px;}  .w-citem .detail .info div{float:right;width:200px;text-align:right;}  .w-citem .detail .info div span{margin:0 5px;}  .w-citem .detail .info div .s1{cursor:pointer;text-decoration:underline;}  .w-citem .detail .ctnt{display:block;padding:5px;line-height:16px;text-align:left;zoom:100%;}  .w-citem .detail .ctnt blockquote{font-size:12px;margin:3px 0 8px;padding:2px 8px;}  .w-citem .detail .ctnt .bd01{border:1px solid #6AA50D;}  .w-citem .detail .ctnt .selitm{background-color:#EEEEEE}';};p.u.cg.ap=function(){if(!this.ba)this.ba=o.bj('  <div class="w-citem">  <div class="face"><img/></div>  <div class="detail">  <div class="info selitm"><div><span class="s0"></span></div><a target="_blank" href="#"></a></div>  <div class="ctnt"></div>  </div>  </div>');return this.ba.cloneNode(true);};p.u.cg.gh=function(){if(!this.eR){this.eR=o.gG();this.eR.className='s1';o.aI(this.eR,'删除');}return this.eR.cloneNode(true);};p.u.cg.prototype.aM=function(){return p.u.cg.aM();};p.u.cg.prototype.ap=function(){return p.u.cg.ap();};p.u.cg.prototype.gh=function(){var G=p.u.cg.gh();B.L(G,'click',this.eU.r(this));return G;};p.u.cg.prototype.aP=function(A){this.cr=K.eA+'face50.gif';};p.u.cg.prototype.qv=function(A){if(!A)return;this.L('ondelete',A.ondelete);};p.u.cg.prototype.aQ=function(A){var P=o.aw(this.al());this.ml=P[0].getElementsByTagName('img')[0];P=o.aw(P[1]);this.hd=P[1];this.hm=P[0].getElementsByTagName('a')[0];this.gv=P[0].getElementsByTagName('span')[0];if(this.cd)o.cU(this.gv,this.gh(),K.gM);};p.u.cg.prototype.eU=function(){if(!window.confirm('您确定要删除此评论?'))return;this.D('ondelete',this.aW.id);};p.u.cg.prototype.cK=function(g){if(!g)return;this.ml.src=g.rav||this.cr;o.aI(this.hm,g.rnname||g.runame);o.aI(this.gv,az.tK(g.t||0));o.aI(this.hd,'');this.hd.innerHTML=(g.con||'').split("\n").join("<br/>");if(g.rtype==0)this.hm.href=p.c.J.aC().staticRoot+'/'+g.runame+'/';else this.hm.href=p.c.J.aC().staticBlogRoot+'/'+g.runame+'/';this.aW=g;};p.u.cg.prototype.ey=function(){p.u.cg.fD(this);};  p.u.bJ=I.an(p.u.bk);I.ar(p.u.bJ,p.u.bk,true);p.u.bJ.eC=function(A){return new p.u.bJ(null,A);};p.u.bJ.aM=function(){if(this.bL)return '';this.bL=true;return '.w-itemf .face{float:left;width:60px;padding:5px;}  .w-itemf .face img{display:block;width:50px;height:50px;margin:0 auto;padding:1px;border:1px solid #A9A9A9;}  .w-itemf .detail {float:left; width:140px;}  .w-itemf .detail .info{height:60px;line-height:20px;text-align:left;}  .w-itemf .detail .name{height:20px;min-height:20px;overflow:hidden;width:140px;}  .w-itemf .detail .ctrl{height:20px;min-height:20px;}  .w-itemf .detail .info a{margin:0 5px;}  .w-itemf .detail .info span{margin:0 5px;}  .w-itemf .detail .info .s1{cursor:pointer;text-decoration:underline;}';};p.u.bJ.ap=function(){if(!this.ba)this.ba=o.bj('  <div class="w-itemf">  <div class="face"><a target="_blank" href="#"><img/></a></div>  <div class="detail">  <div class="info">  <div class="name"><a target="_blank" href="#"></a></div>  <div class="ctrl"></div>  <span class="fc1"></span>  <br class="space"/>  </div>  </div>  </div>');return this.ba.cloneNode(true);};p.u.bJ.gh=function(){if(!this.eR){this.eR=o.gG();this.eR.className='s1 fc1';o.aI(this.eR,'删除');}return this.eR.cloneNode(true);};p.u.bJ.lZ=function(){if(!this.jI){this.jI=o.gG();this.jI.className='s1 fc1';o.aI(this.jI,'刷新');}return this.jI.cloneNode(true);};p.u.bJ.xG=function(){if(!this.is){this.is=o.gG();this.is.className='fc1';o.aI(this.is,'|');}return this.is.cloneNode(true);};p.u.bJ.prototype.aM=function(){return p.u.bJ.aM();};p.u.bJ.prototype.ap=function(){return p.u.bJ.ap();};p.u.bJ.prototype.gh=function(){var G=p.u.bJ.gh();B.L(G,'click',this.eU.r(this));return G;};p.u.bJ.prototype.lZ=function(){var G=p.u.bJ.lZ();B.L(G,'click',this.hV.r(this));return G;};p.u.bJ.prototype.aP=function(A){this.cr=K.eA+'face50.gif';if(this.cd){this.aK({'ondelete':A.ondelete,'onupdate':A.onupdate});}};p.u.bJ.prototype.mQ=function(A){if(!this.cd)return;o.cU(this.pl,this.lZ(),K.fW);o.cU(this.pl,this.gh(),K.fW);};p.u.bJ.prototype.aQ=function(A){var P=o.aw(this.al());this.ml=P[0].getElementsByTagName('img')[0];this.vo=P[0].getElementsByTagName('a')[0];P=o.aw(P[1]);this.hm=P[0].getElementsByTagName('a')[0];this.gv=P[0].getElementsByTagName('span')[0];this.pl=o.aw(this.gv.parentNode)[1];if(this.cd)this.mQ(A)};p.u.bJ.prototype.eU=function(){if(!window.confirm('您确定要删除该收藏吗?'))return;this.D('ondelete',this.aW.id);};p.u.bJ.prototype.hV=function(){this.D('onupdate',this.aW.id);};p.u.bJ.prototype.cK=function(g){if(!g)return;var M='http://photo.163.com/photos/'+g.uname;this.vo.href=M;var ll;if(g.av)ll=g.av;else ll=this.cr;this.ml.src=ll;this.hm.href=M;o.aI(this.hm,g.nkname||g.uname);o.aI(this.gv,az.iP(g.t||0));this.aW=g;};p.u.bJ.prototype.ey=function(){p.u.bJ.fD(this);};  p.m.bH=I.an(p.ag);I.ar(p.m.bH,p.ag);p.m.bH.prototype.cx=function(A){p.m.bH.dh(this);A=A||{};this.T=new p.c.J();this.T.aK({onlogin:this.kK.r(this),onlogout:this.jp.r(this)});this.aK({getnumber:A.getnumber,onredirect:A.onredirect,sendmessage:A.sendmessage,onmessage:this.lJ.r(this)});this.aP(A);this.fg=o.bj(this.ap());(o.aE(A.container)||document.body).appendChild(this.fg);this.aQ(A);};p.m.bH.prototype.ap=function(){return '';};p.m.bH.prototype.aP=function(A){};p.m.bH.prototype.aQ=function(A){};p.m.bH.prototype.lJ=function(fx){};p.m.bH.prototype.gS=function(){};p.m.bH.prototype.ee=function(O){B.aN(O);var bP=this.D('getnumber',0);bP=bP?'&n='+bP:'';this.D('onredirect','m=0&p=1'+bP);};p.m.bH.prototype.es=function(g){return(!g|| !g.list)?null:g.list;};p.m.bH.prototype.kK=function(jc,bf){if(!bf){alert('用户名或者密码错误!');return;}this.D('onredirect',jc,'_login');};p.m.bH.prototype.jp=function(bf){if(!bf){alert('暂时无法退出系统，请稍后再试!');return;}this.D('onredirect','','_search');};p.m.bH.prototype.jB=function(){p.w.eO.aq({onlogin:this.T.jB.r(this.T)});};p.m.bH.prototype.kO=function(){this.T.kO();};p.m.bH.prototype.aq=function(){this.ix=true;o.aq(this.al());};p.m.bH.prototype.aL=function(){this.ix=false;o.aL(this.al());};p.m.bH.prototype.al=function(){return this.fg;};p.m.bo=I.an(p.m.bH);I.ar(p.m.bo,p.m.bH);p.m.bo.prototype.fU=function(g){};p.m.bo.prototype.fe=function(aU){};p.m.bo.prototype.dD=function(aA){};p.m.bo.prototype.dX=function(kY){this.iz();o.aI(this.cl,kY);};p.m.bo.prototype.yD=function(yE){this.iz();var yF=o.bj(yE);this.cl.appendChild(yF);};p.m.bo.prototype.vD=function(C){var gV=(this.aX-1)*this.ce,aU=Math.min(C.length-gV,this.ce);return[gV,aU];};p.m.bo.prototype.oA=function(C){var kl=this.vD(C);var gV=kl[0],aU=kl[1];if(aU<=0){this.dD(Math.ceil(C.length/this.ce));return;}this.iz();this.bW=this.fe(aU);for(var i=0;i<aU;i++){this.bW[i].gY(this.cl);this.bW[i].cK(C[gV+i]);}o.aq(this.ef,this.eD);this.D('onrendpage',kl,C);};p.m.bo.prototype.iz=function(){o.aL(this.ef,this.eD);if(this.bW){for(var ak;ak=this.bW.pop();ak.ey());delete this.bW;}o.iM(this.cl);};p.m.bo.prototype.gz=function(C){var dO=Math.ceil(C.length/this.ce);dO=dO||1;if(this.aX>dO){this.dD(dO);return;}if(!this.je){var A={total:dO,page:this.aX,onchange:this.dD.r(this)};this.je=[new p.u.bm(this.ef,A)];A.valign=K.qI;this.je.push(new p.u.bm(this.eD,A));}else{this.je[0].dq(this.aX,dO);this.je[1].dq(this.aX,dO);}(!C|| !C.length)?this.dX('没有数据！'):this.oA(C);};p.m.bo.prototype.nR=function(g){if(!this.bW)return;var U=g.index-(this.aX-1)*this.ce;this.bW[U].cK(g);};p.m.bo.prototype.eY=function(g){var C=this.fU(g);if(!C)return;this.gz(C);};p.m.cF=I.an(p.m.bo);I.ar(p.m.cF,p.m.bo);p.m.cF.prototype.ap=function(){return '<div class="p-all-album">  <div class="a-menu"><div class="i-page" style="display:none;"></div><br class="space"/></div>  <div></div>  <div class="a-case">相册列表加载中...</div>  <div class="a-menu"><div class="i-page" style="display:none;"></div><br class="space"/></div>  <div class="a-show brd01" style="display:none;">  <div class="a-flash" id="photo-163-all-a-flash-wrap">  <div id="photo-163-all-a-flash">  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" style="width:112px;height:33px;" /></a></p>  </div>  </div>  <div class="a-cover">  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=10" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=11" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=3" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/photo/ep.html" target="_blank">&nbsp;</a>  <br class="space"/>  </div>  <br class="space"/>  </div>  </div>';};p.m.cF.prototype.aP=function(A){if(!A.np)p.f.qh.call(this);this.fE=140;this.aS={editable:false,onclick:this.hf.r(this)};this.T.L('onalbumlistload',this.eY.r(this));this.L('onrendpage',this.gx.r(this));};p.m.cF.prototype.aQ=function(A){var P=o.aw(this.al());this.cl=P[2];var bG=o.aw(P[3]);this.eD=bG[0];bG=o.aw(P[0]);this.ef=bG[0];this.Co=P[1];this.ce=Math.min(Math.floor((screen.width-21)/190)*Math.floor((screen.availHeight-240)/245),this.fE);var bp=p.c.J.aC();if(true||bp.editable){var fY=bp.staticRoot+'/flash/sampleshow.swf?v='+bp.mfv+az.mD();var so=new SWFObject(fY,'photo-163-all-a-flash','1024','172','9.0.0');so.useExpressInstall(bp.staticRoot+'/flash/expressInstall.swf');so.addParam('wmode','transparent');so.addParam('allowScriptAccess','always');so.write("photo-163-all-a-flash-wrap");P[4].style.display="block";}};p.m.cF.prototype.gx=function(eV,C){var bp=p.c.J.aC();if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){this.cG=az.mX('photo-163-all-a-flash');if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){setTimeout(this.gx.r(this,eV,C),1000);return;}}if(!bp.editable){return;}var gb=[];for(var i=0;i<eV[1];i++){var Q=C[eV[0]+i];if((!bp.editable)&&(Q.au>0))continue;if(Q.curl)gb.push(Q.curl);}if(gb.length>0){try{this.cG.sendPhotoUrlsToFlash(gb.join(';'));}catch(e){setTimeout(this.gx.r(this,eV,C),1000);}}};p.m.cF.prototype.fU=function(g){if(!g){this.yD('<div class="fs1" style="margin-top:100px;">暂时无法获取相册列表，请稍后再试。</div>');return null;}var C=this.es(g);if(!C|| !C.length){if(!this.T.yC)this.yD('<div class="fs1" style="margin-top:100px;">该相册现无相片。</div>');else this.yD('<div class="fs1" style="margin-top:100px;">该相册为私有相册，相册主人登录后方可查看。</div>');return null;}return C;};p.m.cF.prototype.fe=function(aU){return p.u.bR.gZ(aU,this.aS);};p.m.cF.prototype.fs=function(ax){var bP=this.D('getnumber',1),bP=bP?'&n='+bP:'';this.D('onredirect','m=1&ai='+ax+'&p=1'+bP+'&cp=1');};p.m.cF.prototype.dD=function(aA){this.D('onredirect','m=0&p='+aA+'&n='+this.ce);};p.m.cF.prototype.jQ=function(){return this.ce;};p.m.cF.prototype.aL=function(){p.m.bo.prototype.aL.call(this);this.dX('相册列表加载中...');o.bn(o.aE('photo-163-footer'),'p-ex-copyright');};p.m.cF.prototype.aq=function(aA,bh){if(!bh||bh<0||bh>this.fE){this.dD(aA);return;}this.aX=aA;this.ce=bh;this.T.hC();p.m.bo.prototype.aq.call(this);var bp=p.c.J.aC();if(bp.editable){o.be(o.aE('photo-163-footer'),'p-ex-copyright');}};p.m.bD=I.an(p.m.bo);I.ar(p.m.bD,p.m.bo);p.m.bD.prototype.ap=function(){return '<div class="p-one-album">  <div class="a-nav brd01"><div class="i-link"></div><div>相册列表加载中...</div><div class="i-link"></div></div>  <div class="a-list brd01">  <div class="i-width i-desc"><span></span><pre></pre></div>  <div class="i-width i-action w-btns"></div>  <div class="i-width i-sep brd01 space">&nbsp;</div>  <div class="i-width i-pager" style="display:none;"></div>  <div class="i-width w-listp">相片列表加载中...</div>  <div class="i-width i-pager" style="display:none;"></div>  <!--<div class="i-width i-sep brd01 space">&nbsp;</div>-->  <div class="i-width a-show brd01" style="display:none;">  <div class="a-flash" id="photo-163-single-a-flash-wrap">  <div id="photo-163-single-a-flash">  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" style="width:112px;height:33px;" /></a></p>  </div>  </div>  <div class="a-cover">  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=10" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=11" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=3" target="_blank">&nbsp;</a>  <a class="a-item" href="http://yxp.163.com/photo/ep.html" target="_blank">&nbsp;</a>  <br class="space"/>  </div>  <br class="space"/>  </div>  <div class="i-width i-comm"></div>  </div><br class="space"/>  </div>';};p.m.bD.prototype.gx=function(eV,C){var bp=p.c.J.aC();if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){this.cG=az.mX('photo-163-single-a-flash');if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){setTimeout(this.gx.r(this,eV,C),1000);return;}}if(!bp.editable){return;}var gb=[];for(var i=0;i<eV[1];i++){var ae=C[eV[0]+i];if(ae.turl)gb.push(ae.turl);}if(gb.length>0){try{this.cG.sendPhotoUrlsToFlash(gb.join(';'));}catch(e){setTimeout(this.gx.r(this,eV,C),1000);}}};p.m.bD.prototype.aP=function(A){if(!A.np)p.f.qh.call(this);this.fE=250;this.lY=['js_qshow_5664','js_tshow_5664','js_sshow_5664'];this.aS={editable:false,onclick:this.kT.r(this)};this.gf={onredirect:this.D.r(this,'onredirect')};this.jh={editable:false,effect:true,onchange:this.hf.r(this)};this.T.aK({onphotolistload:this.eY.r(this),onalbumlistload:this.ke.r(this)});this.L('onrendpage',this.gx.r(this));};p.m.bD.prototype.aQ=function(A){var P=o.aw(this.al());this.gr=o.aw(P[0])[1];P=o.aw(P[1]);this.bO=P[0].getElementsByTagName('span')[0];this.pF=P[0].getElementsByTagName('pre')[0];this.ff=P[1];this.cl=P[4];this.ef=P[3];this.eD=P[5];this.mu=P[7];this.yk();this.ge();this.mG=new p.c.eS(o.kp(this.ff,'acts')[0].getElementsByTagName('a'),{index:0,'class':'js_selected_986',onchange:this.rZ.r(this)});var bp=p.c.J.aC();if(true||bp.editable){var fY=bp.staticRoot+'/flash/sampleshow.swf?v='+bp.mfv+az.mD();var so=new SWFObject(fY,'photo-163-single-a-flash','680','172','9.0.0');so.useExpressInstall(bp.staticRoot+'/flash/expressInstall.swf');so.addParam('wmode','transparent');so.addParam('allowScriptAccess','always');so.write("photo-163-single-a-flash-wrap");P[6].style.display="block";}};p.m.bD.prototype.yk=function(){var bP=ay.qK||ay.aR?100:104;this.ce=Math.min(Math.floor((screen.width-this.gr.parentNode.offsetWidth-20)/bP)*Math.floor((screen.availHeight-360)/100),this.fE);};p.m.bD.prototype.ge=function(){var G=o.aw(this.gr.parentNode),hE='<a class="fc5" hidefocus="hidefocus" href="#">所有相册</a>';G[0].innerHTML=hE;B.L(G[0].getElementsByTagName('a')[0],'click',this.ee.r(this));G[2].innerHTML=hE;B.L(G[2].getElementsByTagName('a')[0],'click',this.ee.r(this));this.ff.innerHTML='<div class="acts w-tab-1">显示：<a id="tb_234_0" hidefocus="true" href="#" class="img btn0">&nbsp;</a><a id="tb_234_1" hidefocus="true" href="#" class="img btn1">&nbsp;</a><a id="tb_234_2" hidefocus="true" href="#" class="img btn2">&nbsp;</a></div>';};p.m.bD.prototype.fU=function(g){if(!g){this.dX('暂时无法获取相片列表，请稍后再试！');return null;}var C=this.es(g);if(!C|| !C.length){this.dX('没有相片！');return null;}return C;};p.m.bD.prototype.fe=function(aU){return p.u.bF.gZ(aU,this.aS);};p.m.bD.prototype.gc=function(Q){if(!Q)return;o.aI(this.bO,Q.name);o.aI(this.pF,Q.desc);};p.m.bD.prototype.fs=function(ax){this.D('onredirect','m=1&ai='+ax+'&p='+this.aX+'&n='+this.ce+'&cp='+this.iy);};p.m.bD.prototype.dD=function(aA){this.D('onredirect','m=1&ai='+this.am+'&p='+aA+'&n='+this.ce+'&cp='+this.iy);};p.m.bD.prototype.kT=function(H){this.D('onredirect','m=2&ai='+this.am+'&pi='+H+'&p=1');};p.m.bD.prototype.rZ=function(U){this.aS.index=U;var af=this.lY[U];o.gn(this.cl,this.cl.id,af);this.cl.id=af;if(!this.bW)return;for(var i=0,l=this.bW.length;i<l;this.bW[i].lv(U),i++);};p.m.bD.prototype.ke=function(g){var C=this.es(g),Q=g.hash[this.am];if(!C|| !C.length|| !Q||this.rj(Q)){this.ee();return;}this.gc(Q);if(!this.aY){o.iM(this.gr);this.jh.list=C;this.jh.index=Q.index;this.aY=new p.u.bZ(this.gr,this.jh);}else this.aY.dq(Q.index,C);if(!this.lj)this.T.mg(this.am);if(!this.fw){this.gf.container=this.mu;this.fw=new p.m.fR(this.gf);}this.fw.aq(this.am,this.aX,this.ce,this.iy);};p.m.bD.prototype.rj=function(Q){return(Q.au==1&& !Q.purl)||Q.au==2;};p.m.bD.prototype.jQ=function(){return this.ce;};p.m.bD.prototype.aL=function(){p.m.bo.prototype.aL.call(this);this.dX('相片列表加载中...');this.fw&&this.fw.aL();};p.m.bD.prototype.aq=function(H,aA,kw,bh){if(!bh||bh<0||bh>this.fE){this.D('onredirect','m=1&ai='+H+'&p='+aA+'&n='+this.ce+'&cp='+kw);return;}this.lj=this.am==H&&this.aX==aA&&this.iy!=kw;this.am=H;this.aX=aA;this.iy=kw;this.ce=bh;this.T.hC();p.m.bo.prototype.aq.call(this);};p.m.bD.prototype.gS=function(){this.ee();};p.m.bg=I.an(p.m.bH);I.ar(p.m.bg,p.m.bH);p.m.bg.prototype.ap=function(){return '<div class="p-one-photo">  <div class="a-dir"><span class="fc1">返回：</span><a href="#">相册列表</a><span class="fc1">&gt;&gt;</span><a href="#">--</a></div>  <div class="a-case">  <div class="i-action">  <div class="ii-player"></div>  <div class="ii-desc fc6"><span></span><br/></div>  <div class="ii-link brd01"></div>  <!--注释单张相片页面的yxp鼠标垫flash广告<div class="ii-sample brd01" style="display:none;">  <div class="a-flash" id="photo-163-single-p-flash-wrap">  <div id="photo-163-single-p-flash">  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" style="width:112px;height:33px;" /></a></p>  </div>  </div>  <div class="a-cover">  <a class="a-item" href="http://yxp.163.com/store/ep.html#m=9" target="_blank">&nbsp;</a>  </div>  </div>-->  <div class="ii-exif">信息加载中...</div>  </div>  <div class="i-show">  <div class="i-img a-width brd01"><div class="ii-image">  <div class="pdiv"><div class="sh1"><div class="sh2"><div class="sh3" style="padding-bottom:6px;"><img class="brd02"/></div></div></div></div></div></div>  <div class="a-width ii-coment"></div>  </div>  <br class="space"/>  </div>  </div>';};p.m.bg.prototype.aP=function(A){this.nQ=750;this.oC=750;this.dx=this.nQ/this.oC;this.cr=K.eA+'default.gif';this.gf={onredirect:this.D.r(this,'onredirect')};this.kf={editable:false,mmlen:[1,1000]};this.T.aK({onalbumload:this.wr.r(this),onphotoexifload:this.vK.r(this),onphotolistload:this.tR.r(this)});};p.m.bg.prototype.aQ=function(A){this.iD=new Image();B.L(this.iD,'load',this.ub.r(this));var P=o.aw(this.al());var bl=P[0].getElementsByTagName('a');this.pD=bl[1];B.L(bl[0],'click',this.ee.r(this));B.L(bl[1],'click',this.fs.r(this));P=o.aw(P[1]);var bG=o.aw(P[1]);this.pG=bG[0];this.aV=bG[0].getElementsByTagName('img')[0];this.mu=bG[1];bG=o.aw(P[0]);this.gr=bG[0];this.uJ=bG[1].getElementsByTagName('span')[0];this.pM=o.mS('');bG[1].appendChild(this.pM);this.jF=bG[3];this.ge(bG[2]);P=o.aw(this.pG);P=o.aw(P[0]);this.uF=P[0];B.L(this.aV,'mousemove',this.sa.bC(this));B.L(this.aV,'mousedown',this.sc.bC(this));};p.m.bg.prototype.rX=function(O){if(this.ix){var nL=B.aE(O);if((nL.tagName!='INPUT')&&(nL.tagName!='TEXTAREA')){var lL=B.rP(O);if(lL==K.tT){this.me(false);B.aN(O);}else if((lL==K.tQ)||(lL==K.tP)){this.me(true);B.aN(O);}}}};p.m.bg.prototype.sa=function(O){B.aN(O);if(this.nC(O)){if(this.oZ(true)){if(o.pR(this.aV,'left'))o.be(this.aV,'left');if(!o.pR(this.aV,'right')){o.bn(this.aV,'right');}this.aV.title="下一张";return;}}else{if(this.oZ(false)){if(o.pR(this.aV,'right'))o.be(this.aV,'right');if(!o.pR(this.aV,'left'))o.bn(this.aV,'left');this.aV.title="上一张";return;}}if(o.pR(this.aV,'left'))o.be(this.aV,'left');if(o.pR(this.aV,'right'))o.be(this.aV,'right');this.aV.title="";};p.m.bg.prototype.sc=function(O){B.aN(O);if(B.rv(O)==K.pY||B.rv(O)==K.uf)return;this.me(this.nC(O));};p.m.bg.prototype.nC=function(O){var gV=o.qi(this.aV);var uc=B.fG(O)-gV[0];return(uc>Math.floor(parseInt(this.aV.style.width)/2));};p.m.bg.prototype.oZ=function(hS){var C=this.T.dE(this.am).list;var U=hS?this.aY.fi()+1:this.aY.fi()-1;if(hS)return(U<=C.length-1);else return(U>=0);};p.m.bg.prototype.me=function(hS){var C=this.T.dE(this.am).list;var U=hS?this.aY.fi()+1:this.aY.fi()-1;U=hS?Math.min(U,C.length-1):Math.max(U,0);var aJ=C[U].id;this.D('onredirect','m=2&ai='+this.am+'&pi='+aJ+'&p=1');};p.m.bg.prototype.ge=function(bb){if(!bb)return;bb.innerHTML='  <div><a hidefocus="true" href="#">复制此照片地址</a></div>  <div class="g-p-none"><a hidefocus="true" target="_blank" href="#">手机下载此照片</a></div>  <div class="space hd-sep brd01">&nbsp;</div>  <div><a target="_blank" href="http://yxp.163.com/store/ep.html#m=0&f=photo">制作个性印品</a></div>';var bl=bb.getElementsByTagName('a');B.L(bl[0],'click',this.rm.r(this));this.pI=bl[2];this.pE=bl[1];};p.m.bg.prototype.gc=function(Q){var gQ=Q?Q.name||' ':'--';o.aI(this.pD,gQ);var bP=this.D('getnumber',1),bP=bP?'&n='+bP:'';gQ=Q?('#m=1&ai='+this.am+'&p=1'+bP+'&cp=1'):'#';this.pD.href=gQ;};p.m.bg.prototype.iH=function(ae){if(!ae||this.lj)return;if(this.iD.src!=(ae.murl||this.cr)){var aa=this.aV.style,hD=ae.ow/ae.oh;if(hD>this.dx){ae.mw=Math.min(ae.ow,this.nQ);ae.mh=Math.floor(ae.mw/hD);}else{ae.mh=Math.min(ae.oh,this.oC);ae.mw=Math.floor(ae.mh*hD);}aa.width=ae.mw+'px';aa.height=ae.mh+'px';this.aV.src=ae.turl||this.cr;this.iD.src=ae.murl||this.cr;this.uF.style['width']=(parseInt(aa.width)+8)+'px';}if(!this.kH)this.kH=new p.u.ck(this.pG,this.kf);this.kH.kW(ae.desc);o.aI(this.uJ,az.iP(ae.t||0));this.pM.nodeValue=ae.ow+'×'+ae.oh+' 像素';o.aI(this.jF,'EXIF信息加载中...');if(ay.aR&&ay.jA<='6.0')this.jF.style.height='auto';this.pE.href='http://mmspro.163.com/MMSPlugin?sc=xiangce&fromid=17&imgURL='+ae.murl;};p.m.bg.prototype.lQ=function(ae){var bp=p.c.J.aC();if(!bp.editable){return;}if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){this.cG=az.mX('photo-163-single-p-flash');if(!this.cG|| !this.cG.sendPhotoUrlsToFlash){setTimeout(this.lQ.r(this,ae),1000);return;}}try{this.cG.sendPhotoUrlsToFlash(ae.turl);var ls='http://yxp.163.com/ws/mousemat/'+bp.hostName+'/?u='+bp.hostName+'&pt=200&cp=90&info=';ls+='o::'+ae.ourl+';ow::'+ae.ow+';oh::'+ae.oh+';';ls+='m::'+ae.murl+';mw::'+ae.mw+';mh::'+ae.mh+';';ls+='t::'+ae.turl;this.yl.href=ls;}catch(e){setTimeout(this.lQ.r(this,ae),1000);}};p.m.bg.prototype.vK=function(ax,aJ,g){if(ax!=this.am||aJ!=this.bV)return;this.jF.innerHTML=qS.um(g)||'';var P=o.aw(this.jF);B.L(P[0],'click',this.yN.bC(this,P[0],P[1]));if(!g)this.jF.style.height='0px';else this.jF.style.height='auto';if(g&&ay.aR&&ay.jA<='6.0'){this.jF.style.height='20px';}};p.m.bg.prototype.yN=function(O,yK,yJ){if(!O|| !yJ)return;var yL=o.bj('<a>隐藏EXIF信息 <img src="'+K.eA+'down.gif"/></a>');var yM=o.bj('<a>显示EXIF信息 <img src="'+K.eA+'right.gif"/></a>');if(yJ.style.display=='block'){o.sL(o.aw(yK)[0]);o.cU(yK,yM,K.hX);yJ.style.display='none';if(ay.aR&&ay.jA<='6.0'){this.jF.style.height='20px';yJ.style.height='0';}}else{o.sL(o.aw(yK)[0]);o.cU(yK,yL,K.hX);yJ.style.display='block';if(ay.aR&&ay.jA<='6.0'){yJ.style.height='180px';this.jF.style.height='200px';yJ.style.overflow='auto';}}};p.m.bg.prototype.fs=function(O){B.aN(O);var bP=this.D('getnumber',1),bP=bP?'&n='+bP:'';this.D('onredirect','m=1&ai='+this.am+'&p='+this.aX+bP+'&cp=1');};p.m.bg.prototype.dD=function(aA){this.D('onredirect','m=0&ai='+this.am+'&pi='+this.bV+'&p='+aA);};p.m.bg.prototype.wr=function(g){if(!g){this.ee();return;}this.gc(g);this.T.mg(this.am);};p.m.bg.prototype.ub=function(){this.aV.src=this.iD.src;};p.m.bg.prototype.tR=function(g){if(!g|| !g.hash[this.bV]){this.fs(this.am);return;}var C=this.es(g),ae=g.hash[this.bV];this.D('onmoduleload',this.pI.parentNode.parentNode,ae);if(!this.aY)this.aY=new p.u.ct(this.gr,{list:C,index:ae.index,effect:true,onchange:this.kT.r(this)});else this.aY.dq(ae.index,C);this.iH(ae);this.T.tu(this.am,this.bV);if(!this.fw){this.gf.container=this.mu;this.fw=new p.m.gm(this.gf);}this.fw.aq(this.am,this.bV,this.aX);};p.m.bg.prototype.kT=function(H){this.D('onredirect','m=2&ai='+this.am+'&pi='+H+'&p=1');};p.m.bg.prototype.rm=function(O){B.aN(O);var M=this.T.hp(this.am,this.bV).murl;if(az.tI(M))p.u.bQ.kS('照片地址复制成功！');else alert('对不起，您的浏览器不支持自动复制操作，请手动复制地址！');};p.m.bg.prototype.aL=function(){p.m.bH.prototype.aL.call(this);this.gc();this.iH();this.fw&&this.fw.aL();if(this.gI){B.gB(document,'keydown',this.gI);delete this.gI;this.gI=false;}};p.m.bg.prototype.aq=function(Q,ae,aA){aA=parseInt(aA)||1;this.lj=this.am==Q&&this.bV==ae&&this.aX!=aA;this.am=Q;this.bV=ae;this.aX=aA;this.T.te(this.am);p.m.bH.prototype.aq.call(this);if(!this.gI){this.gI=this.rX.bC(this);B.L(document,'keydown',this.gI);}};p.m.bg.prototype.gS=function(){this.ee();};p.m.ew=I.an(p.m.bH);I.ar(p.m.ew,p.m.bH);p.m.ew.prototype.ap=function(){return '<div class="p-profile">  <div class="a-ttl fc1">&nbsp;</div>  <div class="a-cse brd01">  <div class="a-nav brd01"><img class="brd02"/></div>  <div class="a-cnt brd01">  <table class="w-table" border="0" cellpadding="0" cellspacing="0">  <tr><td class="w-col0"><label>昵　　称：</label></td><td class="w-col1" id="'+this.aj+'nickName">&nbsp;</td></tr>  <tr><td class="w-col0"><label>真实姓名：</label></td><td class="w-col1" id="'+this.aj+'realName">&nbsp;</td></tr>  <tr><td class="w-col0"><label>性　　别：</label></td><td class="w-col1" id="'+this.aj+'gender">&nbsp;</td></tr>  <tr><td class="w-col0"><label>邮　　箱：</label></td><td class="w-col1" id="'+this.aj+'email">&nbsp;</td></tr>  <tr><td class="w-col0"><label>省　　份：</label></td><td class="w-col1" id="'+this.aj+'province">&nbsp;</td></tr>  <tr><td class="w-col0"><label>联系地址：</label></td><td class="w-col1" id="'+this.aj+'address">&nbsp;</td></tr>  <tr><td class="w-col0"><label>邮　　编：</label></td><td class="w-col1" id="'+this.aj+'postcode">&nbsp;</td></tr>  <tr class="w-top"><td class="w-col0"><label>个人简介：</label></td><td class="w-col1"><pre id="'+this.aj+'about">&nbsp;</pre></td></tr>  </table>  </div>  </div>  </div>';};p.m.ew.prototype.aP=function(A){this.sd=['男','女'];this.aj='pf_'+az.bw(3)+'_';this.uh=K.eA+'face140.gif'};p.m.ew.prototype.aQ=function(A){var G=o.aw(this.al());this.bO=G[0];this.lO=G[1].getElementsByTagName('img')[0];var g=this.T.aC();o.aI(this.bO,(g.profile.nickName||g.hostName)+'的个人资料');this.lO.src=g.hostAvatarUrl||this.uh;this.ny(g.profile);};p.m.ew.prototype.ny=function(g){if(!g)return;var v;for(var p in g){v=p=='gender'?(this.sd[g[p]]||'男'):g[p];o.aI(this.aj+p,v);}};p.m.ew.prototype.gS=function(){this.ee();};p.m.cA=I.an(p.m.bo);I.ar(p.m.cA,p.m.bo);p.m.cA.prototype.ap=function(){return '<div class="w-com">  <div class="w-com-pager"><label class="tt fc1"></label></div>  <div class="w-com-case"></div>  <div class="w-com-pager"><label class="tt fc1"></label></div>  <div class="w-com-eidtor">发表评论请先&nbsp;<a href="#">登录</a></div>  </div>';};p.m.cA.prototype.su=function(){var H=parseInt(this.T.aC().visitId)||0;return H>0?'<textarea></textarea><div class="w-btns"><input class="button img btnb" type="button" value="发表评论"/></div>':'';};p.m.cA.prototype.aQ=function(A){var P=o.aw(this.al());this.ef=P[0];this.cl=P[1];this.eD=P[2];this.fT=P[3];this.js=this.ef.getElementsByTagName('label')[0];this.uG=this.eD.getElementsByTagName('label')[0];var eh=this.su();if(!eh)B.L(this.fT.getElementsByTagName('a')[0],'click',this.lK.bC(this));else{this.fT.innerHTML=eh;B.L(this.fT.getElementsByTagName('input')[0],'click',this.rd.r(this));}};p.m.cA.prototype.fU=function(g){var C=this.es(g);if(!C|| !C.length){this.dX(' ');this.iv(0);return null;}this.iv(C.length);return C;};p.m.cA.prototype.fe=function(aU){return p.u.cg.gZ(aU,this.aS||null);};p.m.cA.prototype.iv=function(bh){if(bh==0){o.aL(this.cl);}else{var eh='共'+bh+'条评论';o.aI(this.js,eh);o.aI(this.uG,eh);o.aq(this.cl);}};p.m.cA.prototype.lK=function(O){B.aN(O);this.jB();};p.m.cA.prototype.pq=function(){var G=this.fT.getElementsByTagName('textarea')[0],aO=G.value.cJ();if(!aO||aO.length>1000){alert('评论内容长度在1-1000个字符之间!');this.jo();return '';}return aO;};p.m.cA.prototype.qU=function(C){this.jo();if(!C){alert('暂时无法发表评论!');return;}if(C===2){alert('评论发表失败,评论内容含有敏感字!');return;}this.iv(C.length);this.gz(C);this.fT.getElementsByTagName('textarea')[0].value='';};p.m.cA.prototype.jo=function(){this.fT.getElementsByTagName('input')[0].blur();};p.m.cA.prototype.ip=function(C){if(!C){alert('暂时无法删除评论!');return;}this.iv(C.length);this.gz(C);};p.m.cA.prototype.aL=function(){p.m.bo.prototype.aL.call(this);var G=this.fT.getElementsByTagName('textarea')[0];G&&(G.value='');};p.m.fR=I.an(p.m.cA);I.ar(p.m.fR,p.m.cA);p.m.fR.prototype.aP=function(A){this.ce=5;this.T.aK({onalbumcommentload:this.eY.r(this),onalbumcommentcreate:this.qU.r(this),onalbumcommentdelete:this.ip.r(this)});if(A.editable)this.aS={editable:true,ondelete:this.eU.r(this)};};p.m.fR.prototype.rd=function(){this.jo();var _content=this.pq();_content&&this.T._$createAlbumCom(this.am,_content);};p.m.fR.prototype.eU=function(H){this.T._$deleteAlbumCom(this.am,[H]);};p.m.fR.prototype.dD=function(aA){this.D('onredirect','m=1&ai='+this.am+'&p='+this.vf+'&n='+this.xf+'&cp='+aA);};p.m.fR.prototype.aq=function(H,uB,tU,aA){this.am=H;this.aX=aA;this.vf=uB;this.xf=tU;this.T.ti(this.am);p.m.cA.prototype.aq.call(this);};p.m.gm=I.an(p.m.cA);I.ar(p.m.gm,p.m.cA);p.m.gm.prototype.aP=function(A){this.ce=10;this.T.aK({onphotocommentload:this.eY.r(this),onphotocommentcreate:this.qU.r(this),onphotocommentdelete:this.ip.r(this)});if(A.editable)this.aS={editable:true,ondelete:this.eU.r(this)};};p.m.gm.prototype.rd=function(){this.jo();var _content=this.pq();_content&&this.T._$createPhotoCom(this.am,this.bV,_content);};p.m.gm.prototype.eU=function(H){this.T._$deletePhotoCom(this.am,this.bV,[H]);};p.m.gm.prototype.dD=function(aA){this.D('onredirect','m=2&ai='+this.am+'&pi='+this.bV+'&p='+aA);};p.m.gm.prototype.aq=function(ax,aJ,aA){this.am=ax;this.bV=aJ;this.aX=parseInt(aA)||1;this.T.tq(this.am,this.bV);o.aq(this.al());};p.m.cE=I.an(p.m.bo);I.ar(p.m.cE,p.m.bo);p.m.cE.prototype.ap=function(){return '<div class="p-fans">  <div class="f-menu"><label class="tt fc1"></label><div class="i-page" style="display:none;"></div><br class="space"/></div>  <div class="f-case">收藏列表加载中...</div>  <div class="f-menu" style="padding-top:10px"><div class="i-page" style="display:none;"></div><br class="space"/></div>  </div>';};p.m.cE.prototype.aP=function(A){this.fE=140;this.T.L('onfanslistload',this.eY.r(this));this.aS={editable:false};};p.m.cE.prototype.mr=function(bh){var eh='共收藏 '+bh+' 位用户';o.aI(this.js,eh);};p.m.cE.prototype.aQ=function(A){var P=o.aw(this.al());this.cl=P[1];var bG=o.aw(P[2]);this.eD=bG[0];bG=o.aw(P[0]);this.js=bG[0];this.ef=bG[1];this.ce=Math.min(Math.floor((screen.width-21)/220)*Math.floor((screen.availHeight-240)/100),this.fE);};p.m.cE.prototype.fU=function(g){var C=this.es(g);if(!C|| !C.length){this.dX('');this.mr(C.length);return null;}this.mr(C.length);return C;};p.m.cE.prototype.fe=function(aU){return p.u.bJ.gZ(aU,this.aS);};p.m.cE.prototype.dD=function(aA){this.D('onredirect','m=6&p='+aA+'&n='+this.ce);};p.m.cE.prototype.jQ=function(){return this.ce;};p.m.cE.prototype.aL=function(){p.m.bo.prototype.aL.call(this);this.dX('收藏列表加载中...');};p.m.cE.prototype.aq=function(aA,bh){if(!bh||bh<0||bh>this.fE){this.dD(aA);return;}this.aX=aA;this.ce=bh;this.T.pV();p.m.bo.prototype.aq.call(this);};p.m.cE.prototype.gS=function(){this.ee();}; 