//resxclsa.js v2.40 Copyright 2004-2006 N-Space Technology, Inc. www.n-spacetechnology.com
var r1ab=false,r1bn=null,r1bt=null,r1o=false,r1y=false,r1x=false,r1be=2000,r1l=0,r1cu=location.protocol.toLowerCase()=="https:"?"https://":"http://",r1by=r1cu+"www.res-x.com/",r1de=r1by+"ws/r2/Recorder.aspx?",r1dm=r1by+"ws/r2/Recommendation.aspx?",r1a="undefined",r1bc="a2.40",r1d="RES_TRACKINGID",r1g="RES_SESSIONID",r1h="ResonanceSegment";function r1k(r1cw,r1p){try{if(!r1ab){r1ab=true;r1bn=escape(r1cw+"|"+((typeof(r1p.number)!=r1a)?r1p.number:r1a)+"|"+((typeof(r1p.name)!=r1a)?r1p.name:r1a)+"|"+((typeof(r1p.description)!=r1a)?r1p.description:r1a));};}catch(ex){};};function r1f(r1cv){return parseInt(r1cv,10);};function r1b(r1db){try{if(r1db!=null&&r1db!="null"&&r1db!=""){return true;};}catch(ex){};return false;};function r1bp(r1dp,r1df){var r1cm=false;try{if(typeof(r1df)!=r1a&&r1df!=null){for(var r1dl=0;r1dl<r1df.length;r1dl++){if(r1df[r1dl]==r1dp){r1cm=true;break;};};};}catch(ex){};return r1cm;};function r1ar(){try{var r1dk=navigator.userAgent.toLowerCase();if(r1dk.indexOf("mac")==-1){return true;};}catch(ex){};return false;};function r1aq(){try{if(resx.rrec==true&&r1e(r1h)=="1"&&typeof(resx.rrelem)!=r1a&&document.getElementById(resx.rrelem)!=null&&r1ar()&&!r1ab){return true;};}catch(ex){};return false;};function r1ct(r1cv){var r1da="";try{r1cv+="";for(var r1dl=r1cv.length-1;r1dl>=0;r1dl--){r1da+=r1cv.charAt(r1dl);};}catch(ex){};return r1da;};function r1i(){var r1di=null;try{if(navigator.userAgent.toLowerCase().indexOf("mac")==-1){r1di=Math.floor(Math.random()*1000000000000000);r1di+="";}else{var r1bl=Math.floor(Math.random()*1000000),r1cz=new Date(),r1bw=r1cz.getTime();r1bw+="";var r1cf=r1ct(r1bw);r1bl+="";r1di=r1bl+r1cf.substring(0,11);};}catch(ex){r1k("guid",ex);};return r1di;};function r1ap(){try{if(r1aq()&&!r1y){r1y=true;var r1am="";if(typeof(resx.rrctx)!=r1a&&r1b(resx.rrctx)&&r1b(document.getElementById(resx.rrctx))){var r1bb=r1az("resx.rrmaxl"),r1q=r1v("resx.lkmatch"),r1ae=r1v("resx.ltmatch");if(r1b(r1q)&&r1bb>0){r1am=r1z(resx.rrctx,null,r1q,r1ae,r1bb);};};var r1cy=r1e(r1d),r1bv=r1e(r1g);if(r1b(r1cy)&&r1b(r1bv)){var r1al=document.getElementById(resx.rrelem);if(typeof(resx.rrnum)!=r1a&&(resx.rrnum==null||resx.rrnum=="null")){resx.rrnum=r1al.getElementsByTagName("a").length;resx.rrh=r1al.offsetHeight;};if(!isNaN(resx.rrnum)&&resx.rrnum>0&&typeof(resx.rrw)!=r1a&&typeof(resx.rrh)!=r1a){var r1cp="appid="+resx.appid+"&userid="+r1cy+"&catalog="+((typeof(resx.rrcat)!=r1a)?resx.rrcat:"")+"&number="+resx.rrnum+"&scheme="+resx.rrelem+"&context="+r1bf()+"&altcontext="+r1ah()+((typeof(resx.rrqs)!=r1a)?resx.rrqs:"")+"&ss="+r1bv+"&pg="+r1bt+"&vr="+r1bc+"&lk="+(r1b(r1am)?r1am:""),r1ad="rrFrame",r1dc=r1dm+r1cp;r1al.innerHTML="<iframe id='"+r1ad+"' name='"+r1ad+"' src='' frameborder='0' scrolling='no' allowtransparency='true' style='width:"+resx.rrw+";height:"+resx.rrh+"'></iframe>";if(window.frames[r1ad]){window.frames[r1ad].location.replace(r1dc);};};};};}catch(ex){};};function r1cs(){try{if(!r1x){if((r1l<r1be)){r1l=r1l+50;window.setTimeout("r1cs()",50);};}else{r1ap();};}catch(ex){};};function r1bz(r1dn,r1ci){try{if(!r1o){r1o=true;var r1bu=new Image(1,1);r1bu.onload=function(){r1x=true;};r1bu.src=r1dn+r1ci;window.setTimeout("r1cs()",50);};}catch(ex){};};function r1co(r1ba,r1ck,r1bh,r1bd,r1cj,r1bg){try{if(r1bd!="3"&&!r1o){var r1au="ap="+((typeof(resx.appid)!=r1a)?resx.appid:"")+"&tk="+(r1b(r1ba)?r1ba:"")+"&ts="+(r1b(r1ck)?r1ck:"")+"&ss="+(r1b(r1bh)?r1bh:"")+"&sg="+(r1b(r1bd)?r1bd:"")+"&pg="+(r1b(r1cj)?r1cj:"")+"&ur="+r1bf()+"&rf="+r1ah()+"&bx="+r1aq()+"&vr="+r1bc+((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:"")+((r1ab==true)?"&er="+r1ab+"&em="+r1bn:"")+"&lk="+(r1b(r1bg)?r1bg:"");r1au=r1au.substring(0,2000);r1bz(r1de,r1au);};}catch(ex){};};function r1bf(){return escape(location.href);};function r1ah(){return escape(document.referrer);};function r1bo(){var r1ai=location.hostname;try{if(r1ai!=null){var r1cx=r1ai.split(".");if(r1cx.length>1){r1ai=r1cx[r1cx.length-2]+"."+r1cx[r1cx.length-1];}else{r1ai=null;};};}catch(ex){r1k("ghn",ex);};return r1ai;};function r1v(r1an){var r1ce="";try{if(typeof(eval(r1an))!=r1a){r1ce=eval(r1an);};}catch(ex){};return r1ce;};function r1az(r1aa){var r1cd=20;try{if(typeof(eval(r1aa))!=r1a&&!isNaN(r1f(eval(r1aa)))){r1cd=r1f(eval(r1aa));};}catch(ex){};return r1cd;};function r1z(r1aw,r1ch,r1cr,r1cq,r1bx){var r1at="";try{var r1bs="",r1br="",r1bq="",r1bk="",r1cc=0,r1u,r1bj,r1w,r1cb="",r1cl="";if(typeof(r1aw)=="object"){r1u=document.getElementsByTagName("a");}else{r1bj=document.getElementById(r1aw);r1u=r1bj.getElementsByTagName("a");r1cl=r1aw;};if(r1b(r1ch)){r1w=document.getElementById(r1ch);if(r1b(r1w)){r1cb=r1w.getElementsByTagName("a");};};for(var r1dl=0;r1dl<r1u.length;r1dl++){if(r1cc==r1bx){break;};if(r1u[r1dl]!=null){r1bs=escape(r1u[r1dl]+"");r1bq=r1bs.match(r1cr);if(r1bq!=null){if(!r1bp(r1u[r1dl],r1cb)){r1bk=r1bs.match(r1cq);if(r1bk==null){r1bk="";};r1br=r1bq+escape("|")+r1cl+escape("|")+r1bk+";";if(r1at.indexOf(r1br)==-1){r1at+=r1br;r1cc++;};};};};};}catch(ex){r1k("gpl",ex);};return r1at;};function r1e(r1s){try{if(document.cookie.length>0){var r1ac=document.cookie.indexOf(r1s+"=");if(r1ac!=-1){r1ac+=r1s.length+1;var r1ax=document.cookie.indexOf(";",r1ac);if(r1ax==-1){r1ax=document.cookie.length;};return unescape(document.cookie.substring(r1ac,r1ax));};};}catch(ex){r1k("gc",ex);};return null;};function r1n(r1s,value,r1ag,r1dj,r1cn){try{var r1ak=new Date();if(r1ag!=null){r1ak.setTime(r1ak.getTime()+(r1ag*3600*1000));};document.cookie=r1s+"="+escape(value)+((r1ag==null)?"":"; expires="+r1ak.toGMTString())+((r1dj==null)?"; path=/":"; path="+r1dj)+((r1cn==null)?"":"; domain="+r1cn);}catch(ex){};};function getResonanceSegment(){try{var r1ca=r1e(r1h);if(typeof(eval("resx.seg"+r1ca))!=r1a){return eval("resx.seg"+r1ca);};}catch(ex){};return"";};function getResonanceStore(){try{var r1ca=r1e(r1h);if(typeof(eval("resx.store"+r1ca))!=r1a){return eval("resx.store"+r1ca);};}catch(ex){};return"";};function r1ao(r1ay,r1cg){try{var r1ac=r1ay.indexOf(r1cg),r1ax=r1ay.indexOf("&",r1ac);if(r1ax==-1){return r1ay.substring(r1ac+r1cg.length);}else{return r1ay.substring(r1ac+r1cg.length,r1ax);};}catch(ex){};return null;};function r1bm(r1av){var r1bi=null;try{var r1af;if(r1av=="1"){r1af=resx.top1;}else if(r1av=="2"){if(r1f(resx.top1)>=99999){return null;}else{r1af=resx.top2;};}else if(r1av=="3"){if(r1f(resx.top2)>=99999){return null;}else{r1af=99999;};}else{return null;};if(r1f(r1af)>99999){r1af=99999;};r1af+="";while(r1af.length<5){r1af="0"+r1af;};r1bi=r1i();r1bi=r1bi.substr(0,1)+r1af+r1bi.substr(1,11);}catch(ex){};return r1bi;};function r1dd(){try{var r1c,r1r,r1m,r1t,r1aj="",r1j=r1bo();if(location.href.indexOf("resxseg=")>0){r1c=r1bm(r1ao(location.href,"resxseg="));};if(location.href.indexOf("resxtrack=")>0){r1c=r1ao(location.href,"resxtrack=");};if(r1b(r1c)&&!isNaN(r1f(r1c))){r1n(r1d,r1c,87648,null,r1j);if(!r1b(r1e(r1d))){r1n(r1d,r1c,null,null,r1j);};}else{r1c=r1e(r1d);if(!r1b(r1c)){r1c=r1i();r1n(r1d,r1c,87648,null,r1j);if(!r1b(r1e(r1d))){r1n(r1d,r1c,null,null,r1j);};};};r1m=r1e(r1g);if(!r1b(r1m)){r1m=r1i();};r1n(r1g,r1m,.5,null,r1j);if(!r1b(r1e(r1g))){r1n(r1g,r1m,null,null,r1j);};r1r=r1c;r1r=r1r.substring(1,6);r1r=r1f(r1r);var r1dh=r1f(resx.top1),r1dg=r1f(resx.top2);if(isNaN(r1dh)||isNaN(r1dg)||isNaN(r1r)){r1t="";}else if(r1r<=r1dh){r1t="1";}else if(r1r<=r1dg){r1t="2";}else{r1t="3";};r1n(r1h,r1t,null,null,r1j);r1c=r1e(r1d);r1m=r1e(r1g);r1t=r1e(r1h);r1bt=r1i();var r1as=r1az("resx.maxl"),r1q=r1v("resx.lkmatch"),r1ae=r1v("resx.ltmatch");if(r1b(r1q)){if(typeof(resx.rrelem)!=r1a&&r1b(resx.rrelem)&&r1b(document.getElementById(resx.rrelem))){r1aj=r1z(resx.rrelem,null,r1q,r1ae,100);};if(r1as>0){r1aj+=r1z(document,resx.rrelem,r1q,r1ae,r1as);};};}catch(ex){r1k("load",ex);}finally{r1co(r1c,r1r,r1m,r1t,r1bt,r1aj);};};r1dd();
