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