var sIm,sr;SDN.extend(pop,{link:function(){sIm=SDN.e('span');var a=SDN.i('link_lists').getElementsByTagName('a');for(var i=0;i<a.length;i++)a[i].style.backgroundImage='none'},resize2:function(r){var fw=r?SDN.width(sIm):200,fh=r?SDN.height(fIm):98;bIm.style.width=fw+12+'px';bIm.style.height=fh+12+'px';fIm.style.width=fw+'px';fIm.style.height=fh+'px'},load2:function(){if(pIm.complete)pop.set2();else if(pIm)pIm.onload=pop.set2;else return},set2:function(){bIm.style.backgroundImage='none';pop.resize2(true);if(pfl)pIm.style.visibility='visible';if(!SDN.IE())setTimeout(pop.fadeIn,25)},Info:function popInfo(lid,obj){if(!tg||SDN.lite()||!chkAjaBrowser())return;obj.title='';clearTimeout(dl);if(pfl){sIm.removeChild(pIm);fIm.removeChild(sIm)}pIm=null;pfl=false;op=oi=sx=0;sy=65;pt=true;pop.position();fIm.innerHTML='';bIm.style.width=bIm.style.height=90+'px';fIm.style.width=fIm.style.height='auto';bIm.style.visibility=fIm.style.visibility='visible';bIm.style.backgroundImage='url(/img/loading_b.gif)';if(!SDN.IE()){bIm.style.opacity=fIm.style.opacity='0';cp=80;pop.fadeInBg()}else{bIm.style.filter='alpha(opacity=80)'}sr=setTimeout(function(){sendRequest(pop.view,{id:lid},'POST','/link/',true,true)},300)},view:function(info){var infos=info.responseText.split('<:>');var infor=[infos[0].replace(/&lt;/g,'<').replace(/&gt;/g,'>'),infos[1],(infos[2].substr(0,6)=='------')?'':infos[2]];pIm=SDN.e('img');pIm.src=(infos[3]=='------')?'/img/nobanner.png':infos[3];pIm.style.margin='0 0 4px';pIm.style.visibility='hidden';pIm.onerror=function(){bIm.style.backgroundImage='none';if(pfl)pIm.src='/img/404.png';if(!SDN.IE()){setTimeout(pop.fadeIn,25);pop.load2()}else{pop.resize2(false)}};pfl=true;fIm.appendChild(sIm);sIm.innerHTML='';sIm.appendChild(pIm);for(fn in infor){sIm.appendChild(SDN.e('br'));sIm.appendChild(SDN.t(infor[fn]))}pop.load2()},Idel:function(){if(!tg||SDN.lite()||!chkAjaBrowser())return;pt=pfl=false;clearTimeout(sr);clearTimeout(fl);clearTimeout(al);if(op>=0&&!SDN.IE()){fIm.style.opacity=op/100;if(op<=80)bIm.style.opacity=op/100;op-=10;dl=setTimeout(pop.Idel,25)}else{bIm.style.visibility=fIm.style.visibility='hidden';if(pIm){sIm.removeChild(pIm);fIm.removeChild(sIm)}pIm=null}}});SDN.add(window,'load',pop.link)
