////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
var $j=jQuery.noConflict();$j.fn.A=function(nA){if(nA!=undefined){return this.each(function(){this.A=nA;});}else{return this.get(0).A;}};$j.fn.v=function(){return this.get(0);};
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function qK(lJ,J){this.func=lJ;this.target=J;}function AE(){this.CD=new Array();}AE.prototype.a=function(func,target){this.CD[this.CD.length]=new qK(func,target);};AE.prototype.xr_notifyListeners=function(){var i,func;for(i=0;i<this.CD.length;i++){func=this.CD[i].func;func.call(this.CD[i].target);}};AE.prototype.test=function(){alert("foo1");};var xr_drmInitialize=new AE();
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
Array.prototype.LF=function(VC){var i;if(this.length>0){if(VC==0){this.shift();}else if(VC==this.length-1){this.pop();}else if(VC>0&&VC<this.length){for(i=VC+1;i<this.length;i++){this[i-1]=this[i];}this.pop();}}};Array.prototype.GF=function(uJ){var i;i=this.indexOf(uJ);if(i>=0){this.LF(i);}};function IF(e){var target;target=new xEvent(e).target;target.select();}function pJ(e){var xe;xe=new xEvent(e);if(xe.keyCode==99){return true;}else{return false;}}function qJ(OJ,EI){var bC;if(EI!=null){bC=EI;}else{bC=new Date();};return Math.abs((OJ.getTime()-bC.getTime())/1000);}function mH(bC){return qJ(bC);}function kD(){return false;}function Z(nA){return(nA!=undefined&&nA!=null);}function b(nA){return(nA==undefined||nA==null);}function oD(eH,rE,sK){var mB=new Date();if(typeof eH=="number"&&typeof rE=="number"&&typeof rE=="number"){mB.setDate(mB.getDate()+parseInt(eH));mB.setHours(mB.getHours()+parseInt(rE));mB.setMinutes(mB.getMinutes()+parseInt(sK));return mB;}}function MH(w,bK){return(w.indexOf(bK)>=0);}function XA(I){I.style.display="block";}function EA(I){I.style.display="none";}function jD(I){var kH,VF,scrollTo;kH=xScrollTop()+xClientHeight();VF=xPageY(I)+xHeight(I);if(VF>kH){if(xHeight(I)<xClientHeight()+50){xWinScrollTo(window,0,VF-xClientHeight()+50,B.GG);}else{xWinScrollTo(window,0,xPageY(I),B.GG);}}else if(xPageY(I)<xScrollTop()){xWinScrollTo(window,0,xPageY(I),B.GG);}}function NH(nB,ED){var i;for(i=0;i<nB.length;i++){if(nB[i].value==ED){nB[i].checked=true;return;}}}function CF(nB){var i;for(i=0;i<nB.length;i++){if(nB[i].checked){return nB[i].value;}}return null;}var log=log4javascript.getDefaultLogger();
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function DJ(){this.FA=false;this.CE=false;}
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
B=new Object();B.KA="*";B.OB="@";B.VD="+";B.IL="/";B.bF="-";B.tG=".";B.AH="pmptsi";B.gG="ssi";B.RA="1000";B.GG="1000";B.KL=200;B.NG=-1000;B.sF=-1000;function bD(RC,AD,nJ){this.o=RC;this.name=AD;this.ZD=nJ;}B.yD=1;B.mG=2;B.jG=3;B.qF=4;B.FB=B.yD;B.MC=B.qF;B.m=new Array();B.m[B.yD]=new bD(B.yD,"G",null);B.m[B.mG]=new bD(B.mG,"PG",10);B.m[B.jG]=new bD(B.jG,"PG13",13);B.m[B.qF]=new bD(B.qF,"R",18);B.QL=200;B.oH=950;B.bH=951;B.f="_";B.aI="/Images/4.1/theme0/iconExpanded.gif";B.gI="/Images/4.1/theme0/iconHidden.gif";
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function ji_Funny(tE){var yA,ji_i,ji_j;yA=tE.split(B.f);this.xE=yA[0];ji_i=yA[1];ji_j=lB.f;this.title=eval("ji_i.replace(/"+lB.eK+"/g, ji_j)");}function ji_ShareList(tE){var yA;yA=tE.split(B.f);this.xE=yA[0];this.type=yA[1];this.KE=yA[2];this.HL=parseInt(yA[3]);}lB=new Object();lB.eI="jr_EmbedEo";lB.iK="jr_EmbedInfo";lB.eK="EsCUnDeRScOrE";function xF(){this.VH=new Array();this.fB=null;this.aH=null;}xF.prototype.WH=function(uC){return this.VH[uC];};xF.prototype.P=function(){var embeds,uB,ji_i,uC,NE,YH;embeds=xGetElementsByClassName(lB.eI);for(i=0;i<embeds.length;i++){uB=embeds[i];uC="ji_"+uB.id.split(B.f)[2];ji_i=uB.innerHTML;YH=eval("new "+uC+"(ji_i)");this.VH[uC]=YH;}embeds=xGetElementsByClassName(lB.iK);for(i=0;i<embeds.length;i++){uB=embeds[i];NE=uB.id.split(B.f)[2];ji_i=uB.innerHTML;eval("this.ji_"+NE+" = ji_i");}};var aA=new xF();xr_drmInitialize.a(aA.P,aA);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function BB(){this.aC=new Array();this.iC=null;}BB.prototype.fF=function(ZJ){this.aC[this.aC.length]=ZJ;};BB.prototype.HG=function(e){var target;var A,U,WG;if(this instanceof BB){A=this;}else{target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}A=target.A;};if(A.aC.length>0){for(i=0,WG=A.aC.length;i<WG;i++){U=A.aC[i];EA(U);xMoveTo(U,B.NG,B.sF);}}return false;};BB.prototype.hB=function(I){this.anchor.appendChild(I);};BB.prototype.eG=function(rB,MB){this.HG();xMoveTo(this.iC,xPageX(MB),xPageY(MB));xResizeTo(this.iC,xWidth(MB),xHeight(MB));xMoveTo(rB,B.NG,B.sF);XA(this.iC);XA(rB);xMoveTo(rB,xPageX(MB)+(xWidth(MB)-xWidth(rB))/2,xPageY(MB)+(xHeight(MB)-xHeight(rB))/2);this.fF(this.iC);this.fF(rB);};BB.prototype.vE=function(l){this.HG();$j(l).slideDown(B.RA);this.fF(l);};BB.prototype.gH=function(){var HB,J;HB=xGetElementsByClassName("jr_ClearPanels");for(i=0;i<HB.length;i++){J=HB[i];J.A=this;J.onclick=this.HG;}};BB.prototype.P=function(){var I;this.anchor=$("jr_anchor");I=document.createElement("div");I.id="jr_Blanket";this.hB(I);this.iC=I;};var DA=new BB();xr_drmInitialize.a(DA.P,DA);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
iB=new Object();iB.dI="jr_tabExpanded";iB.PL="jr_tabCollapsed";iB.fI="collapse";iB.kI="expand";function NF(JG,LK){this.rG=JG;this.rG.A=this;this.RI=LK;this.EL=$j("p:first > a:first",JG).A(this).click(this.JK);this.nG=$j("div:first",JG);this.CG=$j("img:first",this.EL);this.GE=(this.CG.v().className==iB.dI);}NF.prototype.JK=function(){this.A.GE=!this.A.GE;if(Z(this.A.RI)){this.A.RI(this.A);}if(this.A.GE){this.A.CG.attr({src:B.aI,alt:iB.fI});this.A.nG.slideDown(B.RA);}else{this.A.CG.attr({src:B.gI,alt:iB.kI});this.A.nG.slideUp(B.RA);};return false;};
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
s=new Object();s.QA="sinf";s.NA=4;s.MJ=5;s.TJ=6;s.TL=8;s.hA=9;s.LJ=5;s.wK=0;s.vK=1;function EE(){this.fB=null;this.KD=null;this.T=null;this.AI=false;this.GI=false;this.oB=null;this.kB=null;this.UA=s.wK;}EE.prototype.WE=function(){return(this.T!=null);};EE.prototype.WJ=function(){return(this.T!=null&&this.oB!=null&&this.kB!=null);};EE.prototype.P=function(){var q,G,D;G=xGetCookie(s.QA);if(G!=null){D=G.split(B.KA);if(D.length>=s.LJ){q=parseInt(D[0]);if(q==1){if(D.length==s.MJ){this.fB=D[1];this.T=(D[2].length>0)?D[2]:null;this.oB=(D[3].length>0)?D[3]:null;this.kB=(D[4].length>0)?D[4]:null;}}else if(q==2){if(D.length==s.TJ){this.fB=D[1];this.T=(D[2].length>0)?D[2]:null;this.oB=(D[3].length>0)?D[3]:null;this.kB=(D[4].length>0)?D[4]:null;this.UA=(D[5].length>0)?parseInt(D[5]):null;}}else if(q==3){if(D.length==s.hA){this.fB=D[1];this.KD=(D[2].length>0)?D[2]:null;this.T=(D[3].length>0)?D[3]:null;this.GI=(D[4]!=undefined&&D[4].length>0&&D[4]=="1")?true:false;this.oB=(D[5].length>0)?D[5]:null;this.kB=(D[6].length>0)?D[6]:null;this.UA=(D[7].length>0)?parseInt(D[7]):null;}}else if(q==s.NA){if(D.length==s.hA){this.fB=D[1];this.KD=(D[2].length>0)?D[2]:null;this.T=(D[3].length>0)?D[3]:null;this.AI=(D[4]!=undefined&&D[4].length>0&&D[4]=="1")?true:false;this.GI=(D[5]!=undefined&&D[5].length>0&&D[5]=="1")?true:false;this.oB=(D[6].length>0)?D[6]:null;this.kB=(D[7].length>0)?D[7]:null;this.UA=(D[8].length>0)?parseInt(D[8]):null;}}}}if(this.UA==s.vK){log4javascript.setEnabled(true);}else{log4javascript.setEnabled(false);};if(G!=null){}};var V=new EE();xr_drmInitialize.a(V.P,V);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function uD(NE,nA){this.yB=NE;this.value=nA;}uD.prototype.QC=function(G){var O;O=G.split(B.OB);if(O.length==2){this.yB=O[0];this.value=O[1];return this;}else{return null;}};uD.prototype.toString=function(){var O;O=[this.yB,this.value];return O.join(B.OB);};gC=new Object();gC.QA="genco";gC.NA=1;function lF(){this.O=null;}lF.prototype.XH=function(value,yB){var iD;var i,zC;var G;this.FC();iD=new Array();for(i=0;i<this.O.length;i++){zC=this.O[i];if(zC.yB==yB){iD.push(zC);}}for(i=0;i<iD.length;i++){zC=iD[i];this.O.GF(zC);}this.O.push(new uD(yB,value));G=gC.NA+B.KA+this.O.join(B.KA);xSetCookie(gC.QA,G,oD(0,4,0),"/")};lF.prototype.FC=function(){var q,G,D,TG;var xC;var i;this.O=new Array();G=xGetCookie(gC.QA);if(G!=null){D=G.split(B.KA);if(D.length>1){q=D[0];for(i=1;i<D.length;i++){TG=D[i];xC=new uD();xC=xC.QC(TG);if(xC!=null){this.O.push(xC);}}}}};var WI=new lF();
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function DC(dA,wJ,vJ){this.T=dA;this.zD=wJ;this.wD=vJ;}DC.prototype.QC=function(G){var O;O=G.split(B.VD);this.T=O[0];this.zD=O[1];this.wD=O[2];return this;};DC.prototype.bI=function(ED){this.wD=ED;};DC.prototype.YI=function(ED){this.zD=ED;};DC.prototype.toString=function(){var O;O=[this.T,(this.zD!=undefined)?this.zD:"",(this.wD!=undefined)?this.wD:""];return O.join(B.VD);};qA=new Object();qA.QA="uinf";qA.NA=1;qA.hA=3;qA.dF=300;function pB(){this.iA=new Array();this.nC=new Array();this.mD=null;}pB.prototype.P=function(){this.FC();if(V.WE()){this.iI(V.T);this.qC();}};pB.prototype.FC=function(){var q,G,D,FG,oA;var VE;var i;var PD;var mD;G=xGetCookie(qA.QA);if(G!=null){D=G.split(B.KA);if(D.length==qA.hA){q=D[0];this.mD=D[1];G=D[2];this.iA=new Array();this.nC=new Array();VE=G.split(B.OB);for(i=0;i<VE.length;i++){PD=new DC().QC(VE[i]);this.iA.push(PD);this.nC[PD.T]=PD;}}}};pB.prototype.xI=function(oA,yF){var TA;TA=this.nC[oA];if(yF&&b(TA)){TA=new DC(oA);}return TA;};pB.prototype.iI=function(oA){var i,MA;var TA;TA=this.xI(oA,true);TA.bI(V.KD);MA=-1;for(i=0;i<this.iA.length&&MA==-1;i++){if(this.iA[i].T==TA.T){MA=i;}}if(MA==-1||(MA>=0&&MA<this.iA.length-1)){TA.YI(V.KD);}if(MA>=0){this.iA.LF(MA);}this.iA.push(TA);this.nC[TA.T]=TA;this.qC();};pB.prototype.qC=function(){var G;var xH;var D;G=this.iA.join(B.OB);while(G.length>qA.dF){xH=this.iA.shift();this.nC[xH.T]=null;G=this.iA.join(B.OB);}D=[qA.NA,(Z(this.mD)?this.mD:""),G];G=D.join(B.KA);xSetCookie(qA.QA,G,oD(365,0,0),"/")};var OH=new pB();xr_drmInitialize.a(OH.P,OH);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function oF(){}oF.prototype.YJ=function(){xWinScrollTo(window,0,0,500);return false;};oF.prototype.P=function(){var links,i;links=xGetElementsByClassName("jr_SelectTextField");for(i=0;i<links.length;i++){links[i].onclick=IF;}links=xGetElementsByClassName("jr_DisableLink");for(i=0;i<links.length;i++){links[i].onclick=kD;}links=xGetElementsByClassName("jr_JumpToTop");for(i=0;i<links.length;i++){links[i].onclick=this.YJ;}};var XI=new oF();xr_drmInitialize.a(XI.P,XI);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
FH=new Object();FH.CH=1;FH.BH=-1;rA=new Object();rA.yG=null;rA.xG=null;rA.sG=null;function wF(){}wF.prototype.zB=function(dB,rJ){var BD,EC;if(V.WE()){if(!V.AI){BD=rA.sG;EC=false;}else if(!V.WJ()){BD=rA.xG;EC=false;}else{EC=true;}}else{BD=rA.yG;$j(".jr_LoginAction",$j(BD)).html(rJ);EC=false;};if(!EC){DA.eG(BD,dB);}return EC;};wF.prototype.P=function(){var I;I=document.createElement("div");I.innerHTML="<a href=\"#\" class=\"jr_ClearPanels\"><img src=\"/Images/4.0/buttons/closeX.gif\" class=\"closeX2\" border=0></a>To <span class=\"jr_LoginAction\">action</span>, <a href=\"/cgi-bin/WebObjects/Funny.woa/wa/LogIn\">log in</a> or <a href=\"/cgi-bin/WebObjects/Funny.woa/wa/SignUp\">join Funny.com</a> for free!";I.className="jr_WarningPanel";DA.hB(I);rA.yG=I;I=document.createElement("div");I.innerHTML="<a href=\"#\" class=\"jr_ClearPanels\"><img src=\"/Images/4.0/buttons/closeX.gif\" class=\"closeX2\" border=0></a>Votes are borken down by demography. <a href=\"/cgi-bin/WebObjects/Funny.woa/wa/UpdateAgeGender\">Please update your age and gender</a>.";I.className="jr_WarningPanel";DA.hB(I);rA.xG=I;I=document.createElement("div");I.innerHTML="<a href=\"#\" class=\"jr_ClearPanels\"><img src=\"/Images/4.0/buttons/closeX.gif\" class=\"closeX2\" border=0></a><a href=\"/cgi-bin/WebObjects/Funny.woa/wa/VerifyEmailAddress\">Please activate your account first</a>.";I.className="jr_WarningPanel";DA.hB(I);rA.sG=I;DA.gH();};var TB=new wF();xr_drmInitialize.a(TB.P,TB);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
hD=new Object();hD.UK=5;hD.zK=45*1000;function pF(){this.GH=0;this.zA=null;}pF.prototype.xi_ReloadAdFrames=function(zA){var mF;var nF;var i;var A;A=zA.data;mF=xGetElementsByClassName("jr_AdFrame");for(i=0;i<mF.length;i++){nF=mF[i];nF.src=nF.src;}A.GH++;if(A.GH>=hD.UK){A.zA.stop();}};pF.prototype.P=function(){this.zA=xTimer.set("interval",this,"xi_ReloadAdFrames",hD.zK,this);};var jC=new pF();xr_drmInitialize.a(jC.P,jC);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function aD(Q,oA,mJ,oJ,XJ,iJ){this.H=Q;this.T=oA;this.xB=mJ;this.AA=oJ;this.LC=XJ;this.PB=iJ;}aD.prototype.QC=function(G,q){var O;O=G.split(B.VD);this.H=O[0];this.T=O[1];this.xB=(O[2]!=undefined&&O[2].length>0&&O[2]=="1")?true:false;this.AA=(O[3]!=undefined&&O[3].length>0)?parseInt(O[3]):undefined;this.LC=(O[4]!=undefined&&O[4].length>0)?parseInt(O[4]):undefined;this.PB=(O[5]!=undefined&&O[5].length>0)?parseInt(O[5]):undefined;return this;};aD.prototype.toString=function(){var O;O=[this.H,this.T,this.xB?"1":"0",(this.AA!=undefined)?this.AA:"",(this.LC!=undefined)?this.LC:"",(this.PB!=undefined)?this.PB:""];return O.join(B.VD);};WA=new Object();WA.aG="fainfoc";WA.vG="fainfot";WA.NA=2;WA.hA=4;WA.dF=3000;function OC(){this.VA=null;this.GB=new Array();}OC.prototype.P=function(){this.VA=new Array();this.GB=new Array();this.FC(WA.aG);this.FC(WA.vG);this.qC();xDeleteCookie(WA.vG,"/")};OC.prototype.FC=function(WK){var q,G,D,FG,oA;var iF;var i;var ID,wE;G=xGetCookie(WK);if(G!=null){D=G.split(B.KA);if(D.length==WA.hA){q=D[0];FG=D[1];oA=(D[2].length>0)?D[2]:null;G=D[3];if(FG==V.fB){if(oA!=V.T){this.VA=new Array();this.GB=new Array();}iF=G.split(B.OB);for(i=0;i<iF.length;i++){ID=new aD().QC(iF[i],q);wE=this.GB[ID.H];if(Z(wE)){this.VA.GF(wE);}this.VA.push(ID);this.GB[ID.H]=ID;}}else{this.VA=new Array();this.GB=new Array();}}}};OC.prototype.p=function(Q,yF){var X;X=this.GB[Q];if(yF&&b(X)){X=new aD(Q);}return X;};OC.prototype.RD=function(X){var i,MA;MA=-1;for(i=0;i<this.VA.length&&MA==-1;i++){if(this.VA[i].H==X.H){MA=i;}}if(MA>=0){this.VA.LF(MA);}this.VA.push(X);this.GB[X.H]=X;this.qC();};OC.prototype.qC=function(){var G;var vH;var D;G=this.VA.join(B.OB);while(G.length>WA.dF){vH=this.VA.shift();this.GB[vH.H]=null;G=this.VA.join(B.OB);}D=[WA.NA,V.fB,(V.T!=null)?V.T:"",G];G=D.join(B.KA);xSetCookie(WA.aG,G,null,"/")};var kA=new OC();xr_drmInitialize.a(kA.P,kA);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function fD(dA){this.OA=dA;this.fG=(dA!=null)?this.OA.split(B.f)[2]:0;this.DD=null;}fD.prototype.FK=function(JB){if(this.DD==null){this.DD=new Array();}this.DD[this.DD.length]=JB;};ZA=new Object();ZA.oK=0;ZA.QF=1;ZA.kF=2;function vC(dA,YB){fD.call(this,dA);var mA;this.parent=YB;mA=this.OA.split(B.f);this.UL=mA[0]+B.f+mA[1]+B.f+mA[2];if(this.OA.startsWith(n.pI)||this.OA.startsWith(n.RH)){this.type=ZA.QF;}else if(this.OA.startsWith(n.qI)||this.OA.startsWith(n.qH)){this.type=ZA.kF;}else{this.type=ZA.oK;};this.FJ=mA[3];this.KF=this.OA+"_s";}vC.prototype=new fD();vC.FL=function(w,A){var O;var yK;O=w.split(ZA.SL);yK=A.ND[O[1]];};vC.prototype.toString=function(){return this.OA;};n=new Object();n.pI="flbns_";n.RH="flbnm_";n.qI="flbus_";n.qH="flbum_";n.QK=20;n.NA=1;n.RG="flbnPreferences";n.wG="flbuPreferences";function NC(){this.iG=new Array();this.rH=new Array();this.ND=new Array();}NC.prototype.RJ=function(fJ){switch(fJ){case ZA.QF:return this.iG;case ZA.kF:return this.rH;default:return null;}};NC.prototype.pH=function(sA){var z;for(i=0;i<sA.fG;i++){z=sA.parent.DD[i];if(i==sA.FJ){$(z.KF).className="active";$(z.OA).className="highlightList";}else{$(z.KF).className="";$(z.OA).className="highlightList inv";}}return;};NC.prototype.HK=function(e){var target;var sA;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}target.A.pH.call(target.A,target.JI);target.A.ZI.call(target.A,target.JI);return false;};NC.prototype.ZI=function(sA){var SA;var i;var JB;var dD;var G;SA=this.RJ(sA.type);dD=new Array();for(i=0;i<SA.length;i++){JB=SA[i];if(JB instanceof vC){if(JB.parent==sA.parent){dD.push(JB);}}}for(i=0;i<dD.length;i++){JB=dD[i];SA.GF(JB);}if(SA.length+1>n.QK){SA.shift();}SA.push(sA);G=n.NA+B.KA+SA.toString();switch(sA.type){case ZA.QF:xSetCookie(n.RG,G,oD(90,0,0),"/");break;case ZA.kF:xSetCookie(n.wG,G,oD(90,0,0),"/");break;default:return null;}};NC.prototype.P=function(){var pC,U;var i,LE,DB;var NB,z;var q,G;var xD;var SA;pC=xGetElementsByClassName("jr_FunniesListBlock");if(pC!=undefined&&pC.length>0){for(LE=0;LE<pC.length;LE++){U=pC[LE];NB=new fD(U.id);this.ND[NB.OA]=NB;U.RL=NB;if(U.id.startsWith(n.RH)||U.id.startsWith(n.qH)){for(DB=0;DB<NB.fG;DB++){z=new vC(NB.OA+B.f+DB,NB);NB.FK(z);this.ND[z.OA]=z;C=$(z.KF);C.JI=z;C.A=this;C.onclick=this.HK;}}}for(i=0;i<2;i++){switch(i){case 0:G=xGetCookie(n.RG);SA=this.iG;break;case 1:G=xGetCookie(n.wG);SA=this.rH;break;}if(G!=null){q=G.split(B.KA)[0];G=G.split(B.KA)[1];xD=G.split(",");for(DB=0;DB<xD.length;DB++){z=this.ND[xD[DB]];if(z!=null){this.pH(z);SA.push(z);}else{SA.push(xD[DB]);}}}}}};var TI=new NC();xr_drmInitialize.a(TI.P,TI);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
eD=new Object();eD.pA="/Images/4.0/theme0/";eD.SK=-1;eD.NA=1;function uI(U){var mA;this.div=U;this.bJ=U.id;mA=this.bJ.split(B.f);this.H=mA[1];if(mA.length==3){this.WC=mA[2];}else{this.WC=eD.SK;};this.p=null;this.dB=null;}function EH(hF){this.tD=hF;this.count=1;}L=new Object();L.pA="/Images/4.0/theme0/";L.NA=1;L.dK="How funny / cool is this _FUNNY_?";L.KH=["SPAM! This _FUNNY_ is spam","1: Not funny / not cool","2: Not funny / not cool","3: So so","4: So so","5: Funny / cool","6: Funny / cool","7: Very funny / very cool!","8: Very funny / very cool!","9: The best","10: The best"];L.HE=0;L.WF=2;L.EJ="0";L.oG=0;L.BL=1;L.XB=0;L.HD=1;L.ZF=0;L.aF=1;L.dG=1;function R(){this.cJ=new Array();this.jH=new Array();this.nH=new Array();this.WD=new Array();this.pD=new Array();this.cI=new Array();}R.prototype.kE=function(Q,RC){return "voteRating_"+Q+B.f+RC;};R.prototype.SB=function(Q,RC){return "voteFunniness_"+Q+B.f+RC;};R.prototype.xJ=function(H){var t,hF,oC;t=this.jH[H];if(t!=null){oC=mH(t.tD);if(oC>L.dG){t.count ++;t.tD=new Date();return(t.count<=3);}else{return false;}}else{t=new EH(new Date());this.jH[H]=t;return true;}};R.prototype.LD=function(H,AA){var HA;if(AA<0||AA==undefined){$("voteSmileyText_"+H).innerHTML=L.dK.replace("_FUNNY_",$("funnyType_"+H).innerHTML);for(i=0;i<=10;i++){HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+".gif";}}else{if(AA==0){$("voteSmileyText_"+H).innerHTML=L.KH[AA].replace("_FUNNY_",$("funnyType_"+H).innerHTML);}else{$("voteSmileyText_"+H).innerHTML=L.KH[AA];};if(AA==0){i=0;HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+"-over.gif";for(i=1;i<=10;i++){HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+".gif";}}else{i=0;HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+".gif";for(i=1;i<=AA;i++){HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+"-over.gif";}for(i=AA+1;i<=10;i++){HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+".gif";}}}};R.prototype.jI=function(H){var HA;$("voteSmileyText_"+H).innerHTML="Can't vote so many times!";for(i=0;i<=10;i++){HA=$(this.SB(H,i));HA.src=L.pA+"iconVotingSmileys"+((i<10)?("0"+i):i)+".gif";}};R.prototype.AJ=function(e){var target;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}this.A.LD.call(this.A,target.N.H,target.o);};R.prototype.yI=function(e){var target;var X;var uA;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}if(TB.zB(target.N.dB,"vote")){uA=target.A.xJ.call(target.A,target.N.H);if(uA){X=target.N.p;X.xB=true;X.AA=target.o;kA.RD(X);new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxVoteA/voteFunniness",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.N.H,jx_submitterUserId:target.N.p.T,jx_voteValue:target.o,jx_ageGroup:V.oB,jx_gender:V.kB,jx_shareListId:target.N.WC},onSuccess:function(jB){var uE=jB.responseText||"no response text";},onFailure:function(){log.debug("Something went wrong...")}});}else{this.A.jI.call(this.A,target.N.H);}}else{this.A.LD.call(this.A,target.N.H,target.N.p.AA);};return false;};R.prototype.hK=function(e){var target;target=new xEvent(e).target;if(Z(target.N)){this.A.LD.call(this.A,target.N.H,target.N.p.AA);}};R.prototype.KK=function(H){var t,hF,oC;t=this.nH[H];if(t!=null){oC=mH(t.tD);if(oC>L.dG){t.count ++;t.tD=new Date();return(t.count<=3);}else{return false;}}else{t=new EH(new Date());this.nH[H]=t;return true;}};R.prototype.rD=function(target,o){var i,C;for(i=B.FB;i<=B.MC;i++){C=$(this.kE(target.N.H,i));if(i==o){C.className="voteRating"+B.m[i].name+"Selected";}else{C.className="voteRating"+B.m[i].name;}}};R.prototype.BJ=function(target){var jA,ZE;var i,KG;jA=target.A.jA;ZE=target.vI;xMoveTo(jA,xPageX(ZE),xPageY(ZE)+30);for(i=B.FB;i<=B.MC;i++){KG=$("jr_TrRating"+B.m[i].name);if(i==target.bA.o){KG.className="popupAgeHighlight";}else{KG.className="";}}XA(jA);};R.prototype.wH=function(target){var jA;jA=target.A.jA;xMoveTo(jA,B.NG,B.sF);EA(jA);};R.prototype.lI=function(target,o){var i;for(i=B.FB;i<=B.MC;i++){C=$(this.kE(target.N.H,i));C.className="voteRatingDenied";}};R.prototype.zI=function(e){var target;var X;var uA;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}this.A.wH(target);if(TB.zB(target.N.dB,"vote")){uA=target.A.KK.call(target.A,target.N.H);if(uA){this.A.rD(target,this.bA.o);X=target.N.p;X.xB=true;X.LC=this.bA.o;kA.RD(X);new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxVoteA/voteRating",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.N.H,jx_submitterUserId:target.N.p.T,jx_voteValue:target.bA.o,jx_ageGroup:V.oB,jx_gender:V.kB,jx_shareListId:target.N.WC},onSuccess:function(jB){var uE=jB.responseText||"no response text";},onFailure:function(){log.debug("Something went wrong...")}});}else{this.A.lI(target,this.bA.o);}}return false;};R.prototype.sI=function(e){var target;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}this.A.rD.call(this.A,target,target.bA.o);this.A.BJ(target);};R.prototype.jK=function(e){var target;target=new xEvent(e).target;this.A.rD.call(this.A,target,target.N.p.LC);this.A.wH(target);};R.prototype.TH=function(A){var S;if(V.WE()){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxExpandCollapseA/funnyActionExpandCollapse",{method:"post",parameters:{jx_userId:V.T,jx_class:A.rG.v().className,jx_isExpanded:A.GE}});}};R.prototype.sJ=function(e){var target;var l;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}l=$("jr_EmailDropDown_"+target.N.H);DA.vE(l);return false;};R.prototype.VK=function(e){var target;var l;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}l=$("jr_PermalinkDropDown_"+target.N.H);DA.vE(l);return false;};R.prototype.JF=function(){var i,U;for(i=0;i<this.WD.length;i++){U=this.WD[i];EA(U);}};R.prototype.aK=function(e){var target;var l,U;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}if(TB.zB(target.N.dB,"save to list")){l=$("jr_ShareListDropDown_"+target.N.H);U=xGetElementsByClassName("jr_Loading",l)[0];XA(U);U=xGetElementsByClassName("blkListPersonal",l)[0];EA(U);U=xGetElementsByClassName("blkListPublic",l)[0];EA(U);target.A.JF();DA.vE(l);target.A.UH.call(target.A,target.N.H);}return false;};R.prototype.UH=function(H){var S;S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/shareListInfo",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:H},onSuccess:this.NK,onFailure:function(){log.debug("Something went wrong...")}});S.A=this;S.H=H;};R.prototype.NK=function(M){var ji_i,AC;var l,U;ji_i=M.responseText;AC=eval("("+ji_i+")");l=$("jr_ShareListDropDown_"+AC.xs_FunnyId);M.request.A.pD[AC.xs_FunnyId]=AC;M.request.A.cI[AC.xs_FunnyId]=l;U=xGetElementsByClassName("jr_Loading",l)[0];EA(U);M.request.A.UI.call(M.request.A,AC.xs_FunnyId);};R.prototype.UI=function(Q){this.mE("blkListPersonal","jr_PersonalLists",this.pD[Q].xs_Personal,Q);this.mE("blkListPublic","jr_PublicLists",this.pD[Q].xs_Public,Q);this.mE("blkListPublic","jr_SubscribedLists",this.pD[Q].xs_Subscribed,Q);};R.prototype.mE=function(AK,hJ,VG,Q){var U;var i;var RB;var yC,C,cC;U=xGetElementsByClassName(AK,this.l)[0];XA(U);U=xGetElementsByClassName(hJ,this.l)[0];U.innerHTML="";for(i=0;i<VG.length;i++){RB=VG[i];RB.FA=false;yC=document.createElement("p");yC.className="listText";C=document.createElement("a");if(RB.xs_IsSelected){if(RB.xs_IsRemovable){C.className="listRemove";C.onclick=this.QG;}else{C.className="listSaved";C.onclick=kD;}}else{C.className="listAdd";C.onclick=this.QG;};C.innerHTML=RB.xs_ShareList.xs_Name;C.fA=RB;C.H=Q;C.A=this;yC.appendChild(C);cC=document.createElement("span");if(RB.xs_ShareList.xs_PrefView==L.oG){cC.className="listPrivate";}else{cC.className="listPublic";};cC.innerHTML=" ("+RB.xs_ShareList.xs_NFunny+")";yC.appendChild(cC);U.appendChild(yC);}};R.prototype.QG=function(e){var target;var S;target=new xEvent(e).target;if(target.fA.FA){log.debug("updating...not going to make AJAX call");return false;}else{target.A.JF();if(target.fA.xs_IsSelected){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/removeFromShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.H,jx_shareListId:target.fA.xs_ShareList.xs_Id},onSuccess:target.A.HI,onFailure:function(){log.debug("Something went wrong...")}});}else{S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/addToShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.H,jx_shareListId:target.fA.xs_ShareList.xs_Id},onSuccess:target.A.HI,onFailure:function(){log.debug("Something went wrong...")}});};S.A=target.A;S.target=target;};target.fA.FA=true;target.className="listBusy";return false;};R.prototype.HI=function(M){var target;target=M.request.target;target.fA.FA=false;target.fA.xs_IsSelected=!target.fA.xs_IsSelected;if(target.fA.xs_IsSelected){target.fA.xs_ShareList.xs_NFunny++;target.className="listLink listSaved";}else{target.fA.xs_ShareList.xs_NFunny--;target.className="listLink";};target.A.UI.call(target.A,target.H);};R.prototype.CJ=function(e){var target;target=new xEvent(e).target;target.A.JF();target.F.oE.className="buttonTextGo";if(Z(target.F.sB)){target.F.sB.className="buttonTextGo";}switch(target.F.QD){case L.XB:target.F.Y.jr_ListName.value="";if(Z(target.F.Y.jr_ListType)){NH(target.F.Y.jr_ListType,L.EJ);}break;case L.HD:target.F.Y.jr_ListName.value=$("jr_MyShareListName").innerHTML;NH(target.F.Y.jr_ListType,target.F.wC.KE);break;default:}if(Z(target.F.SE)){EA(target.F.SE);}target.F.OD.className="";EA(target.F.cA);XA(target.F);XA(target.F.Y);target.F.Y.jr_ListName.focus();jD(target.F);$j(target.F).hide().slideDown(B.RA);return false;};R.prototype.sE=function(e){var target;var JL;var S;target=new xEvent(e).target;if(b(target.F.Y.jr_ListName.value)||target.F.Y.jr_ListName.value.length==0){target.F.OD.className="inputAlert";target.F.cA.innerHTML="Name is not entered";target.F.cA.className="alertText";XA(target.F.cA);return false;}if(target.F.FA){return false;}else{switch(target.F.QD){case L.XB:if(target.F.lD==L.HE){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/createShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.F.N.H,jx_listName:target.F.Y.jr_ListName.value,jx_listType:L.HE,jx_viewType:CF(target.F.Y.jr_ListType)},onSuccess:target.A.SH,on951:target.A.CB,on952:target.A.CB,onFailure:target.A.CB});}else if(target.F.lD==L.WF){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/createShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.F.N.H,jx_listName:target.F.Y.jr_ListName.value,jx_listType:L.WF,jx_contentType:target.F.Y.jr_ListContentType.value},onSuccess:target.A.SH,on951:target.A.CB,on952:target.A.CB,onFailure:target.A.CB});}else{};S.A=target.A;S.target=target;break;case L.HD:S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/editShareList",{method:"post",parameters:{jx_userId:V.T,jx_listId:target.F.wC.WC,jx_listName:target.F.Y.jr_ListName.value,jx_listType:target.F.lD,jx_viewType:CF(target.F.Y.jr_ListType),jx_forceSave:target.AF?"1":"0"},onSuccess:target.A.BK,on950:target.A.tJ,on951:target.A.CB,on952:target.A.CB,onFailure:target.A.CB});S.A=target.A;S.target=target;break;default:}};target.F.FA=true;target.F.oE.className="buttonTextGoBusy";if(target.AF&&Z(target.F.sB)){target.F.sB.className="buttonTextGoBusy";}return false;};R.prototype.SH=function(M){var target;target=M.request.target;target.F.FA=false;EA(target.F);target.F.A.UH.call(target.F.A,target.F.N.H);};R.prototype.BK=function(M){var target,sD;target=M.request.target;target.F.FA=false;target.F.wC.KE=CF(target.F.Y.jr_ListType);$("jr_MyShareListName").innerHTML=M.request.target.F.Y.jr_ListName.value;switch(parseInt(target.F.wC.KE)){case L.oG:sD="Viewable by myself only";break;case L.BL:sD="Viewable by everyone, "+target.F.wC.nK+" subscribers";break;default:sD="";}$("jr_PersonalShareListSubtitle").innerHTML=sD;EA(target.F);};R.prototype.CB=function(M){var target,errorMessage,links,C;var tA="Problem updating list.";if(Z(M.responseText)&&M.responseText.length>0){errorMessage=M.responseText;}else{switch(M.status){case B.oH:switch(target.F.QD){case L.XB:errorMessage="Problem creating new list.";break;case L.HD:errorMessage=tA;break;default:errorMessage=tA;break;}break;case B.bH:errorMessage=tA;break;default:errorMessage=tA;break;}};target=M.request.target;target.F.OD.className="inputAlert";target.F.cA.innerHTML=errorMessage;links=xGetElementsByTagName("a",target.F.cA);if(links.length>0){C=links[0];C.onclick=M.request.A.cK;C.F=target.F;}target.F.cA.className="alertText";XA(target.F.cA);target.F.oE.className="buttonTextGo";if(Z(target.F.sB)){target.F.sB.className="buttonTextGo";}target.F.FA=false;};R.prototype.tJ=function(M){var target,errorMessage,links,C;var tA="Problem updating list.";if(Z(M.responseText)&&M.responseText.length>0){errorMessage=M.responseText;}else{switch(M.status){case B.oH:switch(target.F.QD){case L.XB:errorMessage="Problem creating new list.";break;case L.HD:errorMessage=tA;break;default:errorMessage=tA;break;}break;case B.bH:errorMessage=tA;break;default:errorMessage=tA;break;}};target=M.request.target;EA(target.F.Y);XA(target.F.SE);target.F.rK.innerHTML=errorMessage;target.F.FA=false;};R.prototype.cK=function(e){var target;target=new xEvent(e).target;target.F.Y.jr_ListName.value=target.innerHTML;target.F.OD.className="";EA(target.F.cA);return false;};R.prototype.iH=function(e){var target;target=new xEvent(e).target;EA(target.F);return false;};R.prototype.HF=function(target){if(target.N.p.PB!=undefined&&target.N.p.PB==1){if(target.eB==L.ZF){target.innerHTML="Nominated for Broken Link";target.className="linkBadLink linkAlertDone jr_DisableLink";target.onclick=kD;}else if(target.eB==L.aF){target.innerHTML="Nominated for Bad Embed";target.className="linkBadEmbed linkAlertDone jr_DisableLink";target.onclick=kD;}else{log.debug("error! target.contentFormat = "+target.eB);}}else{if(target.eB==L.ZF){target.innerHTML="Broken Link";target.className="linkBadLink";target.onclick=target.A.cD;}else if(target.eB==L.aF){target.innerHTML="Bad Embed";target.className="linkBadEmbed";target.onclick=target.A.cD;}else{log.debug("error! target.contentFormat = "+target.eB);}}};R.prototype.cD=function(e){var target;var X;var uA;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}if(TB.zB(target.N.dB,"vote")){uA=(target.N.PB==undefined||target.N.PB==0);if(uA){X=target.N.p;X.PB=1;kA.RD(X);this.A.HF(target);new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxVoteA/reportBrokenLink",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.N.H},onSuccess:function(jB){var uE=jB.responseText||"no response text";},onFailure:function(){log.debug("Something went wrong...")}});}}return false;};R.prototype.pK=function(e){var target,cE;var X;var uA;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}X=kA.p(target.H,false);X.xB=false;kA.RD(X);cE=xParent(target,true);cE.className="buttonUnreadClicked";cE.innerHTML="marked as unread!";new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxVoteA/markUnread",{method:"post",parameters:{jx_sessionId:aA.ji_sessionId,jx_contextId:target.aH,jx_userId:V.T,jx_funnyId:target.H},onSuccess:function(jB){var uE=jB.responseText||"no response text";},onFailure:function(){log.debug("Something went wrong...")}});return false;};R.prototype.P=function(){var i,j;var TC;var r,XE;var k;var HB,J;var LA;var I;var Q;var title;var href;var links,C;var O;var A;A=this;TC=xGetElementsByClassName("jr_ActionBox");if(TC!=undefined&&TC.length>0){for(i=0;i<TC.length;i++){r=TC[i];XE=$j(r);k=new uI(r);Q=k.H;k.p=kA.p(Q,true);k.dB=$("actionBox_"+Q);this.cJ[Q]=k;LA=xGetElementsByClassName("blkVoteSmiley",r)[0];LA.A=this;LA.N=k;LA.onmouseout=this.hK;for(j=0;j<=10;j++){C=document.createElement("a");C.N=k;C.A=this;C.o=j;C.onmouseover=this.AJ;C.onclick=this.yI;I=document.createElement("img");I.N=k;I.A=this;I.src=L.pA+"iconVotingSmileys"+((j<10)?("0"+j):j)+".gif";I.width=16;I.height=25;I.border=0;I.alt="Vote "+j;I.id=this.SB(Q,j);C.appendChild(I);LA.appendChild(C);}this.LD(Q,LA.N.p.AA);LA=xGetElementsByClassName("blkVoteRating",r)[0];LA.onmouseout=this.jK;LA.A=this;LA.N=k;IG=document.createElement("ul");IG.className="abVoteRating";LA.appendChild(IG);for(j=B.FB;j<=B.MC;j++){QH=document.createElement("li");C=document.createElement("a");C.id=this.kE(Q,B.m[j].o);C.href="#";C.className="voteRating"+B.m[j].name;C.innerHTML=B.m[j].name;C.N=k;C.bA=B.m[j];C.vI=LA;C.A=this;C.onmouseover=this.sI;C.onclick=this.zI;QH.appendChild(C);IG.appendChild(QH);}this.rD(LA,LA.N.p.LC);J=$j(".jr_ActionBlockShare",XE);if(Z(J)){new NF(J,this.TH);}J=xGetElementsByClassName("jr_EmailLink",r)[0];if(Z(J)){J.A=this;J.onclick=this.sJ;J.N=k;}J=xGetElementsByClassName("jr_PermalinkLink",r)[0];if(Z(J)){J.A=this;J.onclick=this.VK;J.N=k;}J=xGetElementsByClassName("jr_ShareListLink",r)[0];if(Z(J)){J.A=this;J.onclick=this.aK;J.N=k;this.tH(L.XB,L.HE,r,"jr_NewPersonalListLink","jr_PopupListPrivate",k);this.tH(L.XB,L.WF,r,"jr_NewPublicListLink","jr_PopupListPublic",k);J=xGetElementsByClassName("jr_EmailViaClient",r)[0];title=$("jr_FunnyTitle_"+Q).innerHTML;href="mailto:?subject=Funny.com:%20_TITLE_&body=Check%20this%20out.%20It's%20so%20funny!%20:-)%0D%0D_TITLE_:%0D%0Dhttp://www.funny.com/funny?fn=_FUNNY_ID_%0D%0D";href=href.replace(/_TITLE_/g,escape(title));href=href.replace("_FUNNY_ID_",Q);J.href=href;J=xGetElementsByClassName("fieldActionBoxUrl",r)[0];J.onfocus=IF;J.onclick=IF;J.onkeypress=pJ;}J=$j(".jr_ActionBlockPatrol",XE);if(Z(J)){new NF(J,this.TH);}links=xGetElementsByClassName("linkBadLink",r);if(links!=undefined&&links.length>0){C=links[0];C.N=k;C.A=this;C.onclick=this.cD;C.eB=L.ZF;this.HF(C)}links=xGetElementsByClassName("linkBadEmbed",r);if(links!=undefined&&links.length>0){C=links[0];C.N=k;C.A=this;C.onclick=this.cD;C.eB=L.aF;this.HF(C)}}}links=$j(".jr_MarkAsUnread").each(function(){this.A=A;O=this.id.split(B.bF);this.H=O[0];this.aH=O[1];this.p=kA.p(this.H,false);this.onclick=A.pK;});I=$("jr_EditMyShareListPopup");if(Z(I)){this.dJ($("jr_L2EditShareListLink"),I);}I=document.createElement("div");I.innerHTML="<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"tableAgePopup\"><tr><th scope=\"col\">Rating</th><th scope=\"col\">Suggested Age</th><th scope=\"col\">Violence</th><th scope=\"col\">Foul Language</th><th scope=\"col\">Sexual Situation</th></tr><tr id=\"jr_TrRatingG\"><td>G</td><td>All ages</td><td>None</td><td>None</td><td>None</td></tr><tr id=\"jr_TrRatingPG\"><td>PG</td><td>10 or older</td><td>Minimal</td><td>Minimal</td><td>Minimal</td></tr><tr id=\"jr_TrRatingPG13\"><td>PG-13</td><td>13 or older</td><td>Moderate</td><td>Moderate</td><td>Moderate (non-explicit) </td></tr><tr id=\"jr_TrRatingR\"><td>R</td><td>18 or older</td><td>Unrestricted</td><td>Unrestricted</td><td>Unrestricted</td></tr></table>";I.id="jr_RatingExplanations";DA.hB(I);this.jA=I;};R.prototype.tH=function(YG,jF,r,CL,XK,k){var IB,F,Y;IB=xGetElementsByClassName(CL,r)[0];F=xGetElementsByClassName(XK,r)[0];Y=xGetElementsByTagName("form",F)[0];return this.zH(L.XB,jF,IB,F,Y,k);};R.prototype.dJ=function(IB,W){var Y,J,lC;Y=xGetElementsByTagName("form",W)[0];lC=Y.jr_ShareListInfo.value.split(B.f);W.wC={WC:lC[0],lD:lC[1],KE:lC[2],nK:lC[3]};W.SE=xGetElementsByClassName("jr_Message",W)[0];W.rK=xGetElementsByClassName("jr_MessageText",W)[0];J=xGetElementsByClassName("buttonTextGo",W)[1];J.A=this;J.F=W;J.AF=true;J.onclick=this.sE;W.sB=J;J=xGetElementsByClassName("buttonTextStop",W)[1];J.A=this;J.F=W;J.onclick=this.iH;return this.zH(L.HD,L.HE,IB,W,Y);};R.prototype.zH=function(YG,jF,IB,W,lA,k){var J;IB.A=this;IB.onclick=this.CJ;IB.F=W;W.A=this;W.N=k;W.QD=YG;W.lD=jF;W.OD=xGetElementsByClassName("jr_AlertDiv",W)[0];W.cA=xGetElementsByClassName("jr_AlertText",W)[0];this.WD[this.WD.length]=W;lA.A=this;lA.F=W;lA.onsubmit=this.sE;W.Y=lA;lA.jr_ListName.A=this;lA.jr_ListName.F=W;if(Z(lA.jr_ListType)){for(i=0;i<lA.jr_ListType.length;i++){lA.jr_ListType[i].A=this;lA.jr_ListType[i].F=W;}}J=xGetElementsByClassName("buttonTextGo",W)[0];J.A=this;J.F=W;J.AF=false;J.onclick=this.sE;W.oE=J;J=xGetElementsByClassName("buttonTextStop",W)[0];J.A=this;J.F=W;J.onclick=this.iH;};var uH=new R();xr_drmInitialize.a(uH.P,uH);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function KI(){}KI.prototype.P=function(){var i;var HB;var J;var Q;var X;HB=xGetElementsByClassName("jr_FunnySummaryBlk");for(i=0;i<HB.length;i++){J=HB[i];Q=J.id.split(B.f)[2];X=kA.p(Q);if(X!=undefined&&X.xB){if(J.className.indexOf("blkRead")==-1&&J.className.indexOf("onRow")==-1&&J.className.indexOf("onThumbnail")==-1){J.className=J.className+" blkRead"}}}};var VI=new KI();xr_drmInitialize.a(VI.P,VI);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
c=new Object();c.TF=2;c.AG=3;c.rF=4;c.MI=5;c.PF=6;c.DG=[c.TF,c.AG,c.rF,c.PF];function kC(FD,VJ){this.GL=FD;this.TE=VJ;}d=new Object();d.MD="Upload";d.cG="Embed";d.XF="Link";d.YF="Text";d.GC=[d.MD,d.cG,d.XF,d.YF];IA=new Object();IA.QA="fsFormat";IA.NA=1;IA.hA=2;IA.wB=new Array();IA.wB[c.TF]=new kC(c.TF,[d.YF]);IA.wB[c.AG]=new kC(c.AG,[d.XF,d.YF]);IA.wB[c.rF]=new kC(c.rF,[d.MD]);IA.wB[c.MI]=new kC(c.MI,[d.MD,d.XF]);IA.wB[c.PF]=new kC(c.PF,[d.cG]);function HC(){this.qD=null;}HC.prototype.ZH=function(target,lH){var GA,IE;var ME;ME=target.aE;for(i=0;i<d.GC.length;i++){GA=d.GC[i];IE=$("submit"+GA);if(ME.TE.indexOf(GA)>=0){IE.className="";}else{IE.className="notActiveFormat";}}target.A.qD=target.aE;if(lH==undefined||lH){target.A.UE($("jr_SubmitTab"+ME.TE[0]));}return true;};HC.prototype.uK=function(e){var target;var GA,IE;var ME;target=new xEvent(e).target;target.A.ZH(target);return true;};HC.prototype.UE=function(target,hG){var i;var GA;var WB;var G;target.jJ.className="ctnSubmit"+target.KB;$("jr_BlkSubmitBlank").className="inv";for(i=0;i<d.GC.length;i++){GA=d.GC[i];WB="jr_BlkSubmit"+GA;if($(WB).KB==target.KB){$(WB).className="blkSubmitFormatInput";}else{$(WB).className="inv";}}if(target.KB==d.MD){$("jr_SubmitPage1Form").encoding="multipart/form-data";}else{$("jr_SubmitPage1Form").encoding="application/x-www-form-urlencoded";};$("jr_InputFormat").value=target.KB;if(hG==undefined||hG==false){G=IA.NA+B.KA+target.KB;xSetCookie(IA.QA,G,null,"/")}return false;};HC.prototype.MK=function(e){var target;target=new xEvent(e).target;if(b(target.A)){target=target.parentNode;}if(target.A.qD!=undefined&&target.A.qD.TE.indexOf(target.KB)>=0){target.A.UE.call(target.A,target);}return false;};HC.prototype.P=function(){var i;var FD,vA;var GA;var CI,WB;var YC;var EF;var q,G,D;vA=$("jr_ContentTypeRadio_"+c.DG[0]);if(vA!=undefined){for(i=0;i<c.DG.length;i++){FD=c.DG[i];vA=$("jr_ContentTypeRadio_"+FD);vA.A=this;vA.aE=IA.wB[FD];vA.onclick=this.uK;if(vA.checked){this.qD=vA.aE;EF=vA;}}for(i=0;i<d.GC.length;i++){GA=d.GC[i];CI="jr_SubmitTab"+GA;YC=$(CI);YC.jJ=$("jr_CtnSubmitFormat");YC.KB=GA;YC.A=this;YC.onclick=this.MK;WB="jr_BlkSubmit"+GA;$(WB).KB=GA;}if(EF!=undefined){this.ZH(EF,false);}G=xGetCookie(IA.QA);if(G!=null){D=G.split(B.KA);if(D.length==IA.hA){q=D[0];GA=D[1];this.UE($("jr_SubmitTab"+GA),true);}}}};var II=new HC();xr_drmInitialize.a(II.P,II);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function UF(){}UF.prototype.DL=function(e){$("jr_NicknameTextField").value=$("jr_AvailableNickname").innerHTML;$("signupNickname").className="";$("jr_AlertNickname").className="inv";return false;};UF.prototype.P=function(){if($("jr_SelectNickname")!=undefined){$("jr_SelectNickname").onclick=this.DL;}};var bG=new UF();xr_drmInitialize.a(bG.P,bG);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function OG(){this.CC=null;this.OI=null;this.mC=null;this.FI=null;}OG.prototype.zJ=function(e){var target;var checkbox;var i;var ZB;target=new xEvent(e).target;if(target.checked){ZB=target.bA.o;}else{ZB=target.bA.o-1;};if(ZB<B.FB){ZB=B.FB;}if(B.m[ZB].ZD!=null){target.A.mC.innerHTML=B.m[ZB].ZD;}else{target.A.mC.innerHTML="";};for(i=B.FB;i<target.bA.o;i++){checkbox=$("jr_Consent"+B.m[i].name);checkbox.checked=true;}for(i=target.bA.o+1;i<=B.MC;i++){checkbox=$("jr_Consent"+B.m[i].name);checkbox.checked=false;}checkbox=$("jr_Consent"+B.m[B.yD].name);checkbox.checked=true;if(ZB>target.A.FI){target.A.CC.className="spacer25 blkAgeVerify";}else{target.A.CC.className="spacer25 blkAgeVerify inv";};target.A.OI.checked=false;if($("jr_BlkAgeVerifyError")!=undefined){$("jr_BlkAgeVerifyError").className="inv";}return true;};OG.prototype.P=function(){var CC;var checkbox;var i;var eE;CC=$("jr_BlkAgeVerify");if(Z(CC)){for(i=B.FB;i<=B.MC;i++){checkbox=$("jr_Consent"+B.m[i].name);checkbox.bA=B.m[i];checkbox.onclick=this.zJ;checkbox.A=this;if(checkbox.checked){eE=i;}}this.FI=parseInt($("jr_InitialEdition").innerHTML);this.CC=$("jr_BlkAgeVerify");this.OI=$("jr_AgeVerifyCheckbox");this.mC=$("jr_ConsentAge");if(B.m[eE].ZD!=null){this.mC.innerHTML=B.m[eE].ZD;}else{this.mC.innerHTML="";};}};var JH=new OG();xr_drmInitialize.a(JH.P,JH);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
cH=new Object();cH.Key="fldei";function vF(){this.RE=null;}vF.prototype.click=function(e){var target;var G;var GD;target=new xEvent(e).target;if(b(target.A)){target=target.parentNode;}G=xGetCookie(B.AH);if(Z(G)&&G==aA.ji_sessionId){GD=$("jr_funnySummaryTable");if(Z(GD)){DA.eG(target.A.RE,GD);xDeleteCookie(B.AH,"/");return false;}}if(target.id!=undefined&&target.id.length>0){G=target.id+B.bF+B.gG+B.tG+aA.ji_sessionId;WI.XH(G,cH.Key);}return true;};vF.prototype.P=function(){var links,C;var i;links=xGetElementsByClassName("jr_FunnyLink");if(links!=undefined&&links.length>0){for(i=0;i<links.length;i++){C=links[i];C.A=this;C.onclick=this.click;}}I=document.createElement("div");I.innerHTML="<a href=\"#\" class=\"jr_ClearPanels\"><img src=\"/Images/4.0/buttons/closeX.gif\" class=\"closeX2\" border=0></a>Why not <a href=\"/cgi-bin/WebObjects/Funny.woa/wa/LogIn\">log in</a> or <a href=\"/cgi-bin/WebObjects/Funny.woa/wa/SignUp\">sign up</a> so that Funny.com remembers what you've read? It's fast & free!!<br><br><a href=\"#\" class=\"jr_ClearPanels\"><i>Not right now...</i></a>";I.className="jr_WarningPanel";DA.hB(I);this.RE=I;DA.gH();};var rC=new vF();xr_drmInitialize.a(rC.P,rC);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
NI=new Object();NI.Key="fsdei";function EG(){}EG.prototype.click=function(e){var target;var G;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}if(target.id!=undefined&&target.id.length>0){G=target.id+B.bF+B.gG+B.tG+aA.ji_sessionId;WI.XH(G,NI.Key);}return true;};EG.prototype.P=function(){var links;var i;var C;links=xGetElementsByClassName("jr_FunniesSection");if(links!=undefined&&links.length>0){for(i=0;i<links.length;i++){C=links[i];C.onclick=this.click;}}};var rC=new EG();xr_drmInitialize.a(rC.P,rC);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
LL=new Object();function bB(){this.RE=null;}bB.prototype.DH=function(e){var target;var G;var GD;target=new xEvent(e).target;if(b(target.A)){target=target.parentNode;}target.UB.FA=true;target.A.TD.call(target.A,target);S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/removeFromShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.H,jx_shareListId:aA.WH("ji_ShareList").xE},onSuccess:target.A.RK,onFailure:function(){log.debug("Something went wrong...")}});S.A=this;S.target=target;return false;};bB.prototype.RK=function(M){var target;target=M.request.target;target.UB.FA=false;target.UB.CE=false;target.A.TD.call(target.A,target);};bB.prototype.DK=function(e){var target;var G;var GD;target=new xEvent(e).target;if(b(target.A)){target=target.parentNode;}target.UB.FA=true;target.A.TD.call(target.A,target);S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/addToShareList",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:target.H,jx_shareListId:aA.WH("ji_ShareList").xE},onSuccess:target.A.EK,onFailure:function(){log.debug("Something went wrong...")}});S.A=this;S.target=target;return false;};bB.prototype.EK=function(M){var target;target=M.request.target;target.UB.FA=false;target.UB.CE=true;target.A.TD.call(target.A,target);};bB.prototype.TD=function(C){if(C.UB.FA){C.className="buttonInfoBoxBusy";C.innerHTML="saving";}else{if(C.UB.CE){C.className="buttonInfoBoxRemove";C.innerHTML="remove";C.onclick=C.A.DH;}else{C.className="buttonInfoBoxAdd";C.innerHTML="add back";C.onclick=C.A.DK;}}};bB.prototype.P=function(){var links,YB,links,C,Q,MG;var i;links=xGetElementsByClassName("jr_Remove");if(links!=undefined&&links.length>0){for(i=0;i<links.length;i++){MG=new DJ();MG.CE=true;C=links[i];YB=C.parentNode;while(YB.tagName!="DIV"){YB=YB.parentNode;}Q=YB.id.split(B.f)[2];C.A=this;C.H=Q;C.onclick=this.DH;C.UB=MG;}}};var LI=new bB();xr_drmInitialize.a(LI.P,LI);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function RF(){}RF.prototype.gE=function(DF,Q){var self,JA,K;self=this;$j(".jr_BlkReplyComment",DF).each(function(){var YA;YA=$j(this);JA=this.id.split(B.f)[1];K=new u(self,BA.XD,$j(".jr_CommentReply:first",YA),$j(".jr_AddCommentHeading",YA),Q,JA,YA);});$j(".jr_CommentRepliesAction",DF).each(function(){var YA;YA=$j(this);JA=this.id.split(B.f)[1];K=new BC(self,$j("a:first",YA),YA,Q,JA);});$j(".jr_BlkCommentHeading",DF).each(function(){var YA;YA=$j(this);JA=this.id.split(B.f)[1];K=new gA(self,$j(".jr_CommentHeadingAction",YA),Q,JA);});};RF.prototype.P=function(){var self,gD,Q,K;self=this;$j(".ctnComment").each(function(){gD=$j(this);Q=this.id.split(B.f)[1];K=new u(self,BA.SF,$j(".jr_AddComment:first",gD),$j(".jr_CommentSectionHeadingUser:first",gD),Q);self.gE(gD,Q);});};var PA=new RF();xr_drmInitialize.a(PA.P,PA);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
BA=new Object();BA.SF=0;BA.XD=1;BA.xK=0;BA.pG=1;BA.hI=0;gB=new Object();gB.gF=null;gB.XG=null;function u(PA,UA,target,CA,Q,JA,kJ){this.PA=PA;target.A(this);this.UA=UA;this.target=target;this.CA=CA;this.H=Q;if(Z(JA)){this.qB=JA;}else{this.qB=BA.hI;};this.yJ=kJ;if(UA==BA.XD){if(this.yJ.v().parentNode.className=="blkComment"){this.UD=BA.xK;}else{this.UD=BA.pG;}}else{this.UD=null;};this.BF=false;target.click(this.QI);if(UA==BA.XD){if(MH(CA.v().className,"addCommentHeadingNoHighlight")){this.ZC=true;target.mouseover(this.fK);target.mouseout(this.gK);}else{this.ZC=false;}}h=null;qG=null;cF=null;lE=null;}u.prototype.fK=function(){$j(this).A().CA.removeClass("addCommentHeadingNoHighlight");};u.prototype.gK=function(){$j(this).A().CA.addClass("addCommentHeadingNoHighlight");};u.prototype.hH=function(gJ){if(gJ){this.CA.next("div").slideUp(B.RA,function(){$j(this).remove();});}else{this.CA.next("div").remove();};if(this.UA==BA.XD){this.CA.removeClass("addCommentHeadingExpanded");}this.BF=false;};u.prototype.QI=function(){var A;var S;A=$j(this).A();if(TB.zB(A.CA.v(),"add comment")){if(A.BF){A.hH(true);}else{if(gB.gF!=null){A.SI(A);}else{S=new Ajax.Request("/_AjaxFragments/commentAddBlock.html",{method:"post",onSuccess:A.GK,onFailure:function(){log.debug("Something went wrong...")}});S.A=A;};A.BF=true;}}return false;};u.prototype.GK=function(M){var U;gB.gF=M.responseText;$j("body").prepend("<div id=\"_tempForRemoval\" class=\"inv\"></div>");$j("#_tempForRemoval").append(M.responseText);U=$j(".jr_AddCommentBody:first");gB.XG="<div class=\""+U.v().className+"\">"+U.html()+"</div>";$j("#_tempForRemoval").remove();M.request.A.SI(M.request.A);return false;};u.prototype.SI=function(A){var data,EB;if(A.UA==BA.SF){data=gB.gF;}else{data=gB.XG;A.CA.addClass("addCommentHeadingExpanded");};A.CA.after(data);EB=A.CA.next("div");A.h=$j("form",EB).v();$j(A.h.jr_Cancel).A(A).click(A.QI);$j(A.h.jr_PreviewComment).A(A).click(A.TK);$j(A.h.jr_EditComment).A(A).click(A.CK);$j(A.h.jr_SubmitComment).A(A).click(A.QJ);A.qG=$j(".jr_PreviewCommentText",EB);A.cF=$j(".jr_AddCommentAction",EB);A.lE=$j(".jr_PreviewCommentAction",EB);$j(A.h.jr_CommentText).v().focus();jD(EB.v());EB.hide();EB.slideDown(B.RA);return false;};u.prototype.dH=function(cA){$j(this.h.jr_CommentText).addClass("inputAlert");$j(".jr_AlertText:first",this.h).addClass("alertText").removeClass("inv").html(cA);};u.prototype.IK=function(){$j(this.h.jr_CommentText).removeClass("inputAlert");$j(".jr_AlertText:first",this.h).removeClass("alertText").addClass("inv");};u.prototype.TK=function(){var K,S,vD;K=$j(this).A();vD=$j.trim(K.h.jr_CommentText.value);if(b(vD)||vD.length==0){K.h.jr_CommentText.value="";K.dH("No comment entered");return false;}else{K.IK();};$j(".jr_PreviewCommentP",K.h).addClass("inv");$j(".jr_PreviewCommentPBusy",K.h).removeClass("inv");S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxCommentA/previewComment",{method:"post",parameters:{jx_commentText:vD},onSuccess:K.OK,onFailure:K.PK});S.A=K;};u.prototype.OK=function(M){var K;K=M.request.A;K.qG.html(M.responseText);$j(".jr_PreviewCommentP",K.h).removeClass("inv");$j(".jr_PreviewCommentPBusy",K.h).addClass("inv");K.cF.addClass("inv");K.lE.removeClass("inv");return false;};u.prototype.PK=function(M){var K;K=M.request.A;$j(".jr_PreviewCommentP",K.h).removeClass("inv");$j(".jr_PreviewCommentPBusy",K.h).addClass("inv");K.dH(M.responseText);return false;};u.prototype.CK=function(){var K;K=$j(this).A();K.cF.removeClass("inv");K.lE.addClass("inv");};u.prototype.QJ=function(){var S;K=$j(this).A();$j(".jr_SubmitCommentP",K.h).addClass("inv");$j(".jr_SubmitCommentPBusy",K.h).removeClass("inv");S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxCommentA/submitComment",{method:"post",parameters:{jx_userId:V.T,jx_commentText:$j.trim(K.h.jr_CommentText.value),jx_funnyId:K.H,jx_commentId:K.qB,jx_contextId:aA.ji_contextId,jx_replyMode:K.UD},onSuccess:K.UJ,onFailure:K.SJ});S.A=K;};u.prototype.UJ=function(M){var K;var w,tC,PC,cB;K=M.request.A;K.hH(false);K.CA.after(M.responseText);K.PA.gE(K.CA.next("div"),K.H);if(K.UA==BA.SF){cB=$j(".jr_CommentNumbers",K.CA);w=cB.html();tC=w.search(/- \d+ /);PC=parseInt(w.substring(tC+2))+1;w=w.replace(/- \d+ /,"- "+PC+" ").replace(/of \d+ /,"of "+PC+" ");cB.html(w);}else{if(K.UD==BA.pG){cB=$j(".jr_CommentRepliesAction a:first",K.target.parents(".jr_BlkCommentReplies:first"));w=cB.html();tC=w.search(/ \d+ /);PC=parseInt(w.substring(tC+1))+1;w=w.replace(/ \d+ /," "+PC+" ");cB.html(w);}K.CA.remove();};return false;};u.prototype.SJ=function(M){var K;return false;};
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
nD=new Object();nD.CH=1;nD.BH=-1;function gA(PA,QB,Q,JA){var JA;this.PA=PA;this.QB=QB;this.H=Q;this.qB=JA;this.dC=$j(".jr_ThumbUp",QB);this.SC=$j(".jr_ThumbDown",QB);this.yE=$j("img",this.dC).v();this.nE=$j("img",this.SC).v();this.ZK=$j(".jr_ThumbScore",QB);this.OE=false;this.QE=false;this.dC.A(this);this.SC.A(this);this.dC.click(this.tI);this.dC.mouseover(this.PJ);this.dC.mouseout(this.UG);this.SC.click(this.rI);this.SC.mouseover(this.NJ);this.SC.mouseout(this.UG);this.bE=$j(".jr_ShowHideComment",QB);if(this.bE.length>0){this.eJ=true;this.ML=$j("a",this.bE).A(this).click(this.HJ);this.eC=true;this.fH=QB.parents(".jr_BlkCommentHeading:first").next("div.jr_BlkCommentBody");this.tB(this);}else{this.bE=null;this.eJ=false;}}gA.prototype.HJ=function(){var target,A;target=$j(this);A=target.A();if(A.eC){A.fH.slideDown(B.RA);target.html("hide comment");}else{A.fH.slideUp(B.RA);target.html("show comment");};A.eC=!A.eC;A.tB(A);return false;};gA.prototype.tB=function(A,jE,ZG){if((Z(jE)&&jE)||(Z(ZG)&&ZG)){if(!A.OE&&!A.eC){if(jE){A.yE.src="/Images/4.0/theme0/button.thumb.up.16x18-over.gif";}else{A.nE.src="/Images/4.0/theme0/button.thumb.down.16x18-over.gif";}}}else{if(A.OE||A.eC){A.yE.src="/Images/4.0/theme0/button.thumb.up.16x18-disabled.gif";A.nE.src="/Images/4.0/theme0/button.thumb.down.16x18-disabled.gif";}else{A.yE.src="/Images/4.0/theme0/button.thumb.up.16x18.gif";A.nE.src="/Images/4.0/theme0/button.thumb.down.16x18.gif";}}};gA.prototype.PJ=function(){var A;A=$j(this).A();A.tB(A,true,false);};gA.prototype.NJ=function(){var A;A=$j(this).A();A.tB(A,false,true);};gA.prototype.UG=function(){var A;A=$j(this).A();A.tB(A);};gA.prototype.tI=function(){var A;A=$j(this).A();return A.PH(A,nD.CH);};gA.prototype.rI=function(){var A;A=$j(this).A();return A.PH(A,nD.BH);};gA.prototype.PH=function(A,o){var S;if(A.QE||A.OE){return false;}if(TB.zB(A.QB.v(),"vote")){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxCommentA/vote",{method:"post",parameters:{jx_userId:V.T,jx_funnyId:A.H,jx_commentId:A.qB,jx_vote:o,jx_contextId:aA.ji_contextId},onSuccess:A.wI,onFailure:function(){log.debug("Something went wrong...")}});S.A=A;A.QE=true;}return false;};gA.prototype.wI=function(M){var A;A=M.request.A;A.OE=true;A.QE=false;A.ZK.html(M.responseText);A.tB(A);return false;};
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function BC(PA,target,eA,Q,JA){this.PA=PA;target.A(this);this.target=target;this.eA=eA;this.H=Q;this.qB=JA;if(MH(this.target.html(),"Show")){this.vB=false;this.ZC=false;this.wA=null;}else{this.vB=true;this.ZC=true;this.wA=this.eA.next("div");};this.YE=false;target.click(this.IJ);target.mouseover(this.JJ);target.mouseout(this.KJ);}BC.prototype.JJ=function(){var A;A=$j(this).A();if(!A.vB){A.eA.addClass("blkCommentRepliesActionHighlight");}};BC.prototype.KJ=function(){var A;A=$j(this).A();if(!A.vB){A.eA.removeClass("blkCommentRepliesActionHighlight");}};BC.prototype.IJ=function(){var A;var S;A=$j(this).A();if(A.YE){return false;}if(A.vB){A.wA.slideUp(B.RA);A.target.html(A.target.html().replace("Hide","Show"));A.eA.removeClass("blkCommentRepliesActionHighlight");A.ZC=false;}else{if(A.wA!=null){A.kG(A);}else{A.target.html(A.target.html().replace("Show","Fetching"));A.eA.addClass("blkCommentRepliesActionHighlightBusy");A.YE=true;S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxCommentA/getReplies",{method:"post",parameters:{jx_funnyId:A.H,jx_commentId:A.qB,jx_contextId:aA.ji_contextId},onSuccess:A.GJ,onFailure:function(){log.debug("Something went wrong...")}});S.A=A;}};A.vB=!A.vB;return false;};BC.prototype.GJ=function(M){var A;A=M.request.A;A.YE=false;A.target.html(A.target.html().replace("Fetching","Show"));A.eA.removeClass("blkCommentRepliesActionHighlightBusy");A.eA.after(M.responseText);A.wA=A.eA.next("div");A.PA.gE(A.wA,A.H);A.kG(A);return false;};BC.prototype.kG=function(A){var data,EB;A.target.html(A.target.html().replace("Show","Hide"));A.eA.addClass("blkCommentRepliesActionHighlight");A.ZC=true;A.wA.show();jD(A.wA.v());A.wA.hide();A.wA.slideDown(B.RA);return false;};
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
YD=new Object();YD.tF=null;function IC(HH,OF,aJ,dA){this.BI=false;this.AB=null;this.VB=HH;this.sC=OF;this.JD=aJ;this.id=dA;HH.A(this);OF.A(this);OF.click(this.mI);}IC.prototype.mI=function(){var A;A=$j(this).A();if(!A.BI){if(A.AB==null){A.VB.after(YD.tF);A.AB=A.VB.next("div");}$j(".jr_confirmYes",A.AB).A(A).click(A.oI);$j(".jr_confirmNo",A.AB).A(A).click(A.nI);jD(A.AB.v());A.AB.hide();A.AB.slideDown(B.RA);}return false;};IC.prototype.oI=function(){var A;A=$j(this).A();if(A.JD=="SU"){S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxSubscribeUserA/unsubscribeUser",{method:"post",parameters:{jx_userId:V.T,jx_subscribedUserId:A.id},onSuccess:A.yH,onFailure:A.sH});}else{S=new Ajax.Request("/cgi-bin/WebObjects/Funny.woa/wa/AjaxShareListA/unsubscribeShareList",{method:"post",parameters:{jx_userId:V.T,jx_shareListId:A.id},onSuccess:A.yH,onFailure:A.sH});};A.BI=true;A.sC.v().className="buttonEditListBusy";A.sC.v().innerHTML="unsubscribing...";S.A=A;A.AB.slideUp(B.RA);return false;};IC.prototype.nI=function(){var A;A=$j(this).A();A.AB.slideUp(B.RA);return false;};IC.prototype.yH=function(M){var K;var w,tC,PC,cB;K=M.request.A;K.VB.v().className="inv";return false;};IC.prototype.sH=function(M){var K;return false;};function zG(){}zG.prototype.P=function(){var U;$j(".jr_SubscriptionBlock").each(function(){var VB,sC,dA,JD,K;VB=$j(this);sC=$j(".jr_Unsubscribe:first",VB);JD=this.id.split(B.f)[1];dA=this.id.split(B.f)[2];K=new IC(VB,sC,JD,dA);});U=$j("#jr_unsubscribeConfirm");if(U.size()>0){YD.tF=U.html();}else{YD.tF=null;}};var uG=new zG();xr_drmInitialize.a(uG.P,uG);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function lG(AD,DI,SG){this.name=AD;this.title=DI;this.message=SG;this.html="<div class=\"popupGeneral\"><h1>"+DI+"</h1><div class=\"popupBody\"><p>"+SG+"</p></div></div>";}function BG(){this.qE=null;this.pE=new Array();}BG.prototype.P=function(){var i,LG;this.qE=[new lG("shareListPersonalExplanation","Personal List","Perosnal lists are your own lists. You can choose to keep them private, or allow other people to see and subscribe to them"),new lG("shareListCommunityExplanation","Community List","Anyone can subscribe to and add funnies to community lists. You can remove any of the funnies in your community list.")];this.pE=new Array();for(i=0;i<this.qE.length;i++){LG=this.qE[i];this.pE[LG.name]=LG;}};BG.prototype.XC=function(AD){return this.pE[AD];};var MF=new BG();xr_drmInitialize.a(MF.P,MF);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
JE=new Object();JE.lK=20;JE.tK=10;function UC(){}UC.prototype.hE=function(e){var target;var XC;target=new xEvent(e).target;if(b(target.xA)){target=target.parentNode;}XC=MF.XC(target.name);if(Z(XC)){target.xA.JC.innerHTML=XC.html;document.onmousemove=target.xA.kK;}};UC.prototype.iE=function(e){var target;target=new xEvent(e).target;if(b(target.xA)){target=target.parentNode;}document.onmousemove=undefined;EA(target.xA.JC);};UC.prototype.kK=function(e){var xe;var KC,BE,PE,dE,fE,zF,hC,IH;xe=new xEvent(e);XA(xe.target.xA.JC);KC=xe.pageX+JE.lK;BE=xe.pageY+JE.tK;PE=xWidth(xe.target.xA.JC);dE=xHeight(xe.target.xA.JC);hC=xScrollLeft();IH=xScrollTop();fE=xClientWidth();zF=xClientHeight()+IH;if(KC<hC){KC=hC;}else if((KC+PE)>(hC+fE)){KC=hC+fE-PE;}if((BE+dE)>zF){BE=zF-dE;}xMoveTo(xe.target.xA.JC,KC,BE);};UC.prototype.P=function(){var I;elements=xGetElementsByClassName("jr_PopUp");for(i=0;i<elements.length;i++){elements[i].xA=this;elements[i].onmouseover=this.hE;elements[i].onmouseout=this.iE;}I=document.createElement("div");I.id="jr_PopUp";EA(I);I.innerHTML="Hello world!";DA.hB(I);this.JC=I;};var fC=new UC();xr_drmInitialize.a(fC.P,fC);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function DE(){}DE.prototype.hE=function(e){var target;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}target.FE.className=target.FE.mK;};DE.prototype.iE=function(e){var target;target=new xEvent(e).target;if(b(target.tagName)||target.tagName.toLowerCase()!="a"){target=target.parentNode;}target.FE.className=target.FE.AL;};DE.prototype.P=function(){var FF,zE;var aB,SD;var i,j;FF=xGetElementsByClassName("jr_DropdownMenu");for(i=0;i<FF.length;i++){aB=FF[i];aB.AL=aB.className+" hidden";aB.mK=aB.className+" sfhover";zE=xGetElementsByTagName("a",aB);for(j=0;j<zE.length;j++){SD=zE[j];SD.FE=aB;SD.onmouseover=this.hE;SD.onmouseout=this.iE;}}};var jC=new DE();xr_drmInitialize.a(jC.P,jC);
////////////////////////////////////////////////
// Obfuscated by Javascript Obfuscator v.2.53 //
//        http://javascript-source.com        //
////////////////////////////////////////////////
function eF(){}eF.prototype.xi_JumpToAnchor=function(zA){var OL,NL;return false;};eF.prototype.P=function(){xTimer.set("timeout",this,"xi_JumpToAnchor",100,"jr_FunnyContent");};var PG=new eF();xr_drmInitialize.a(PG.P,PG);
