//resxclsa.js v2.57 Copyright 2004-2007 Certona Corporation www.certona.com
var r1ap=false,r1bx=null,r1al=null,r1a="undefined";if(typeof(r1h)==r1a){var r1h=false;};if(typeof(r1q)==r1a){var r1q=false;};var r1am=false,r1s=0,r1dd=location.protocol.toLowerCase()=="https:"?"https://":"http://",r1ci=r1dd+"www.res-x.com/",r1dn=r1ci+"ws/r2/Recorder.aspx?",r1cx=r1ci+"ws/r2/Recommendation.aspx?",r1bn="a2.57",r1e="RES_TRACKINGID",r1i="RES_SESSIONID",r1n="ResonanceSegment";function r1l(){return resx.rrelem;};function r1bo(){return resx.rrctx;};function r1br(){return resx.ctx;};function r1ch(){return resx.rrcall;};function r1cj(){return resx.rrnum;};function r1ay(){return resx.plkmatch;};function r1bq(){return resx.lkmatch;};function r1bp(){return resx.ltmatch;};function r1cv(){return resx.maxl;};function r1cb(){return resx.rrmaxl;};function r1ca(){return resx.pageid;};function r1g(r1dc){return parseInt(r1dc,10);};function r1b(r1dm){try{if(r1dm!=null&&r1dm!="null"&&r1dm!=""){return true;};}catch(ex){};return false;};function r1d(){try{if(typeof(resx.rrelem)!=r1a){var r1ac=document.getElementById(r1l());if(r1b(r1ac)){r1ac.style.visibility="visible";};};}catch(ex){};};function r1k(r1db,r1z){try{if(!r1ap){r1ap=true;r1bx=escape(r1db+"|"+((typeof(r1z.number)!=r1a)?r1z.number:r1a)+"|"+((typeof(r1z.name)!=r1a)?r1z.name:r1a)+"|"+((typeof(r1z.description)!=r1a)?r1z.description:r1a));};}catch(ex){}finally{r1d();};};function r1f(r1aa){try{if(document.cookie.length>0){var r1j=document.cookie.indexOf(r1aa+"=");if(r1j!=-1){r1j+=r1aa.length+1;var r1ai=document.cookie.indexOf(";",r1j);if(r1ai==-1){r1ai=document.cookie.length;};return unescape(document.cookie.substring(r1j,r1ai));};};}catch(ex){r1k("gc",ex);};return null;};function r1o(r1aa,value,r1aq,r1dp,r1cu){try{var r1ax=new Date();if(r1aq!=null){r1ax.setTime(r1ax.getTime()+(r1aq*3600*1000));};document.cookie=r1aa+"="+escape(value)+((r1b(r1aq))?"; expires="+r1ax.toGMTString():"")+((r1b(r1dp))?"; path="+r1dp:"; path=/")+((r1b(r1cu))?"; domain="+r1cu:"");}catch(ex){};};function r1bw(){try{return escape(location.href);}catch(ex){};return"";};function r1au(){try{var r1af=document.referrer;if(r1af.indexOf(r1cx)>-1){var r1j=r1af.indexOf("&altcontext"),r1ai=r1af.indexOf("&lk",r1j);if(r1j>-1&&r1ai>r1j){r1af=r1af.substring(0,r1j)+r1af.substring(r1ai);};};return escape(r1af);}catch(ex){};return"";};function r1at(r1dv,r1dt){try{if(typeof(r1dt)!=r1a&&r1dt!=null){for(var r1ct=0;r1ct<r1dt.length;r1ct++){if((r1dt[r1ct]+"")==r1dv){return true;};};};}catch(ex){};return false;};function r1ao(){try{var r1bm=false;if(typeof(resx.rrnum)!=r1a){var r1du=r1cj()+"";r1du=r1du.replace(/,/g,";");var r1cq=r1du.split(";");for(var r1ct=0;r1ct<r1cq.length;r1ct++){if(!isNaN(r1cq[r1ct])&&r1g(r1cq[r1ct])>0){r1bm=true;break;};};};var r1di=typeof(resx.rrec)!=r1a&&resx.rrec==true&&r1f(r1n)=="1"&&typeof(resx.rrelem)!=r1a&&r1b(document.getElementById(r1l()))&&r1bm&&!r1ap;return r1di;}catch(ex){};return false;};function r1dl(r1dc){try{var r1dh="";r1dc+="";for(var r1ct=r1dc.length-1;r1ct>=0;r1ct--){r1dh+=r1dc.charAt(r1ct);};return r1dh;}catch(ex){};return"";};function r1r(){try{var r1ds="";if(navigator.userAgent.toLowerCase().indexOf("mac")==-1){r1ds=Math.floor(Math.random()*1000000000000000);r1ds+="";}else{var r1bt=Math.floor(Math.random()*1000000),r1dg=new Date(),r1cf=r1dg.getTime();r1cf+="";var r1cp=r1dl(r1cf);r1bt+="";r1ds=r1bt+r1cp.substring(0,11);};return r1ds;}catch(ex){r1k("guid",ex);};return"";};function r1ad(r1bj,r1cs,r1cg,r1bb,r1da,r1cz,r1dk){try{var r1bg="",r1as="",r1ak="",r1by="",r1bl="",r1co="",r1cn=0,r1ae=null,r1ah=null,r1y=null,r1x=null,r1cm=null,r1ce=null,r1cw="";if(typeof(r1bj)=="object"){r1ae=document.getElementsByTagName("a");}else{r1ah=document.getElementById(r1bj);if((typeof(r1ah)!=r1a)&&(r1ah!=null)){r1ae=r1ah.getElementsByTagName("a");r1cw=r1bj;};};if(r1b(r1cs)){r1y=document.getElementById(r1cs);if((typeof(r1y)!=r1a)&&(r1y!=null)){r1cm=r1y.getElementsByTagName("a");};};if(r1b(r1cg)){r1x=document.getElementById(r1cg);if((typeof(r1x)!=r1a)&&(r1x!=null)){r1ce=r1x.getElementsByTagName("a");};};if((typeof(r1ae)!=r1a)&&(r1ae!=null)){for(var r1ct=0;r1ct<r1ae.length;r1ct++){if(r1cn==r1dk){break;};r1as=r1ae[r1ct]+"";if(r1b(r1as)){r1ak=escape(r1as);r1bl="";if(r1b(r1bb)){r1ak=r1ak.match(r1bb)+"";};if(r1b(r1ak)){r1bl=r1ak.match(r1da)+"";};if(r1b(r1bl+"")){if(!r1at(r1as,r1cm)&&!r1at(r1as,r1ce)){r1co=r1ak.match(r1cz)+"";r1by=r1bl+escape("|")+r1cw+escape("|")+(r1b(r1co)?r1co:"")+";";if(r1bg.indexOf(r1by)==-1){r1bg+=r1by;r1cn++;};};};};};};return r1bg;}catch(ex){r1k("gpl",ex);};return"";};function r1dw(r1bv){try{var r1ac=document.getElementById(r1l());if(r1b(r1ac)){if(r1bv.Resonance.Response[0].display=="yes"){r1ac.innerHTML=r1bv.Resonance.Response[0].output;};};}catch(ex){}finally{r1d();};};function r1bc(){try{if(typeof(r1q)==r1a||!r1q){r1q=true;var r1aw="";if(typeof(resx.rrctx)!=r1a&&r1b(r1bo())&&r1b(document.getElementById(r1bo()))){var r1az=(typeof(resx.rrmaxl)!=r1a&&!isNaN(r1cb())?r1g(r1cb()):20),r1v=((typeof(resx.lkmatch)!=r1a)?r1bq():""),r1ag=((typeof(resx.ltmatch)!=r1a)?r1bp():"");if(r1b(r1v)&&r1az>0){var r1u=((typeof(resx.plkmatch)!=r1a)?r1ay():"");r1aw=r1ad(r1bo(),null,null,r1u,r1v,r1ag,r1az);};};var r1df=r1f(r1e),r1cd=r1f(r1i);if(r1b(r1df)&&r1b(r1cd)){var r1av="appid="+resx.appid+"&userid="+r1df+"&catalog="+((typeof(resx.rrcat)!=r1a)?resx.rrcat:"")+"&number="+r1cj()+"&scheme="+r1l()+"&ss="+r1cd+"&pg="+r1al+"&vr="+r1bn,r1an="r1dw";if(typeof(resx.rrcall)!=r1a){r1an=r1ch();};r1av+="&output=json&callback="+r1an;r1av+=((typeof(resx.rrqs)!=r1a)?"&"+resx.rrqs:"")+((typeof(resx.event)!=r1a)?"&ev="+resx.event:"")+((typeof(resx.itemid)!=r1a)?"&ei="+resx.itemid:"")+"&context="+r1bw()+"&lk="+(r1b(r1aw)?r1aw:"")+"&altcontext="+r1au();var r1cl=r1cx+r1av;r1cl=r1cl.substring(0,2000);document.write("<scr"+"ipt type=\"text/javascript\" src=\""+r1cl+"\"><\/scr"+"ipt>");}else{r1d();};};}catch(ex){r1d();};};function r1dj(){try{if(!r1am){if(r1s<2000){r1s=r1s+50;window.setTimeout("r1dj()",50);}else{r1d();};};}catch(ex){r1d();};};function r1bz(){try{var r1aj=location.hostname;if(r1b(r1aj)){if(!r1aj.match(/(\d{1,3}\.){3}\d{1,3}/)){var r1de=r1aj.split(".");if(r1de.length>1){r1aj="."+r1de[r1de.length-2]+"."+r1de[r1de.length-1];}else{r1aj=null;};};return r1aj;};}catch(ex){};return null;};function getResonanceSegment(){try{var r1ck=r1f(r1n);if(eval("typeof(resx.seg"+r1ck+")")!=r1a){return eval("resx.seg"+r1ck);};}catch(ex){};return"";};function getResonanceStore(){try{var r1ck=r1f(r1n);if(eval("typeof(resx.store"+r1ck+")")!=r1a){return eval("resx.store"+r1ck);};}catch(ex){};return"";};function r1ba(r1cr){try{var r1ar=location.search,r1j=r1ar.indexOf("?"+r1cr+"=");if(r1j==-1){r1j=r1ar.indexOf("&"+r1cr+"=");};if(r1j>-1){r1j=r1j+r1cr.length+2;var r1ai=r1ar.indexOf("&",r1j);if(r1ai==-1){return r1ar.substring(r1j);}else{return r1ar.substring(r1j,r1ai);};};}catch(ex){};return null;};function r1bu(r1bi){try{var r1bk="",r1bf;if(r1bi=="1"){r1bf=r1g(resx.top1)-1;}else if(r1bi=="2"){if(r1g(resx.top1)>=99999){return null;}else{r1bf=r1g(resx.top2)-1;};}else if(r1bi=="3"){if(r1g(resx.top2)>=99999){return null;}else{r1bf=99999;};}else{return null;};r1bf+="";while(r1bf.length<5){r1bf="0"+r1bf;};r1bk=r1r();if(r1b(r1bk)){r1bk=r1bk.substr(0,1)+r1bf+r1bk.substr(1,11);};return r1bk;}catch(ex){};return"";};function r1bh(){try{var r1bs="",r1cy="";for(var r1ct=0;r1ct<51;r1ct++){if(eval("typeof(resx.cv"+r1ct+")")!=r1a){r1cy=eval("resx.cv"+r1ct)+"";r1cy=r1cy.replace(/\+/g,"%2B");r1bs+="&cv"+r1ct+"="+escape(r1cy);};};return r1bs;}catch(ex){r1k("gcv",ex);};return"";};try{if(typeof(r1h)==r1a||!r1h){var r1c="",r1t="",r1p="",r1w="",r1ab="",r1m=r1bz();if(location.search.indexOf("resxseg=")>0){r1c=r1bu(r1ba("resxseg"));};if(location.search.indexOf("resxtrack=")>0){r1c=r1ba("resxtrack");};if(r1b(r1c)&&!isNaN(r1g(r1c))){r1o(r1e,r1c,87648,null,r1m);if(!r1b(r1f(r1e))){r1o(r1e,r1c,null,null,r1m);};r1o(r1i,"",-1,null,r1m);}else{r1c=r1f(r1e);if(!r1b(r1c)){r1c=r1r();r1o(r1e,r1c,87648,null,r1m);if(!r1b(r1f(r1e))){r1o(r1e,r1c,null,null,r1m);};};};r1p=r1f(r1i);if(!r1b(r1p)){r1p=r1r();};r1o(r1i,r1p,.5,null,r1m);if(!r1b(r1f(r1i))){r1o(r1i,r1p,null,null,r1m);};r1t=r1c;r1t=r1t.substring(1,6);r1t=r1g(r1t);var r1dr=r1g(resx.top1),r1dq=r1g(resx.top2);if(isNaN(r1dr)||isNaN(r1dq)||isNaN(r1t)){r1w="";}else if(r1t<r1dr){r1w="1";}else if(r1t<r1dq){r1w="2";}else{r1w="3";};r1t+="";r1o(r1n,r1w,null,null,r1m);if(typeof(resx.pageid)!=r1a&&r1b(r1ca())){r1al=r1ca();}else{r1al=r1r();};if(!r1ao()||!r1b(r1al)){r1d();};r1c=r1f(r1e);r1p=r1f(r1i);r1w=r1f(r1n);var r1be=(typeof(resx.maxl)!=r1a&&!isNaN(r1cv())?r1g(r1cv()):20),r1v=((typeof(resx.lkmatch)!=r1a)?r1bq():""),r1ag=((typeof(resx.ltmatch)!=r1a)?r1bp():"");if(r1b(r1v)){var r1u=((typeof(resx.plkmatch)!=r1a)?r1ay():"");if(typeof(resx.rrelem)!=r1a&&r1b(r1l())&&r1b(document.getElementById(r1l()))){r1ab=r1ad(r1l(),null,null,r1u,r1v,r1ag,100);};if(typeof(resx.ctx)!=r1a&&r1b(r1br())&&r1b(document.getElementById(r1br()))){r1ab+=r1ad(r1br(),null,null,r1u,r1v,r1ag,100);};if(r1be>0){r1ab+=r1ad(document,((typeof(resx.rrelem)!=r1a)?r1l():""),((typeof(resx.ctx)!=r1a)?r1br():""),r1u,r1v,r1ag,r1be);};};};}catch(ex){r1k("load",ex);};try{if(r1w!="3"&&(typeof(r1h)==r1a||!r1h)){r1h=true;var r1bd="ap="+((typeof(resx.appid)!=r1a)?resx.appid:"")+"&tk="+(r1b(r1c)?r1c:"")+"&ts="+(r1b(r1t)?r1t:"")+"&ss="+(r1b(r1p)?r1p:"")+"&sg="+(r1b(r1w)?r1w:"")+"&pg="+(r1b(r1al)?r1al:"")+"&bx="+r1ao()+"&vr="+r1bn+((typeof(resx.rrelem)!=r1a)?"&sc="+r1l():"")+((typeof(resx.event)!=r1a)?"&ev="+resx.event:"")+((typeof(resx.itemid)!=r1a)?"&ei="+resx.itemid:"")+((typeof(resx.qty)!=r1a)?"&qt="+resx.qty:"")+((typeof(resx.price)!=r1a)?"&pr="+resx.price:"")+((typeof(resx.shipping)!=r1a)?"&sh="+resx.shipping:"")+((typeof(resx.total)!=r1a)?"&tt="+resx.total:"")+((typeof(resx.customerid)!=r1a)?"&cu="+resx.customerid:"")+((typeof(resx.transactionid)!=r1a)?"&tr="+resx.transactionid:"")+((r1ap==true)?"&er="+r1ap+"&em="+r1bx:"")+r1bh()+"&ur="+r1bw()+"&lk="+(r1b(r1ab)?r1ab:"")+"&rf="+r1au();r1bd=r1bd.substring(0,2000);var r1cc=new Image();r1cc.onload=function(){r1am=true;};r1cc.src=r1dn+r1bd;window.setTimeout("r1dj()",50);if(r1ao()){r1bc();}else{r1d();};};}catch(ex){r1k("",ex);};
