var WRWarn="Copyright 2006 ClickTale Ltd., US Patent Pending",WRJ,WRSID,WRK=0,WRAk=0,WRZ,WRA6=new RegExp('(?:^|\\s+)ClickTaleSensitive(?:\\s+|$)','i'),WRM="",WRN=0,WRO=0,WRP=0,WRQ=0,WRR=0,WRS=0,WRT=0,WRAJ=0,WRAK=0,WRAl=0,WRU=0,WRV=0,WRAL=0,WRAM=0,WRAm,WRAn=0,WRAo,WRu,WRx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",WRAp={},WRAq="0123456789ABCDEF",WRAr={};for(var i=0;i<WRx.length;i++)WRAp[i]=WRx.charAt(i);for(var i=0;i<WRAq.length;i++)WRAr[WRAq.charAt(i)]=i;if(WRInitTime&&WRA&&WRH&&WRo&&WRI&&WRD)WRW();function WRW(){WRSID=WRH();WRJ=WRE+"wr/?";WRJ+=WRSID+"&";WRJ+=(WRA+"&"+"a"+"&");var h=WRD.location.href;if(WRAV)WRc({a:"locu",loc:h,t:0});else if(ClickTaleFetchFrom)WRc({a:"fetch",loc:h,f:ClickTaleFetchFrom,t:0});else WRc({a:"loc",loc:h,t:0});WRB=WRB.reverse();while(WRB.length>0)WRc(WRB.pop());var b=WRD.body,n=navigator,tz=(new Date()).getTimezoneOffset();WRc({a:"init",nav:WRn,plat:n.platform,scrw:screen.width,scrh:screen.height,scrx:(self.screenX||self.screenLeft),scry:(self.screenY||self.screenTop),scrd:screen.colorDepth,itime:WRInitTime,tz:(-tz/60),em:ClickTaleEventsMask,w:WRs(),h:WRt(),cw:WRv.clientWidth,ch:WRv.clientHeight,cf:n.cookieEnabled?1:0,lang:n.language||n.userLanguage||"",u:WRL,t:WRI()});if(WRD.referrer.length>0)WRc({a:"referrer",ref:WRD.referrer,t:WRI()});WRAL=WRs();WRAM=WRt();WRh();if(ClickTaleEventsMask&32)WRo(window,"error",WRAE);WRo(window,"unload",WRg);WRo(window,"scroll",WRh);if(ClickTaleEventsMask&1)WRo(WRD,"mousemove",WR8);if(ClickTaleEventsMask&2){WRo(WRD,"mousedown",WR9);WRo(WRD,"mouseup",WRAA);if(WRn.substr(0,2)=="IE"){WRo(b,"mouseenter",WRAC);WRo(b,"mouseleave",WRAD);};};if(ClickTaleEventsMask&8){for(var i=0;i<WRD.links.length;i++){WRo(WRD.links.item(i),"click",WRq);WRo(WRD.links.item(i),"contextmenu",WRAR);};for(var i=0;i<WRD.forms.length;i++)WRo(WRD.forms.item(i),"submit",WRAN);};WRo(window,"resize",WRAB);if(ClickTaleEventsMask&4){WRo(WRD,"keydown",WRAF);WRo(WRD,"keyup",WRAG);WRo(WRD,"keypress",WRAH);};WRX();if(typeof WRoninit=="function")WRoninit();if(WRAV&&WRAW)WRAj();if(WRAW)WRAZ();};function WRm(s){var i=new Image();i.src=s;i.onload=function(){i.onload=null;i.onerror=null;};i.onerror=function(){i.onload=null;i.onerror=null;};};function WRX(e){if(WRM.length==0&&!e)return;WRm(WRJ+WRK+"&"+WRM+"&"+WRH()+(e||""));WRK++;WRY();if(WRZ){clearInterval(WRZ);WRZ=false;};if(e)WRy(ClickTaleUnloadPause);else WRZ=setInterval('WRd()',300000);};function WRY(){WRM="";WRN=0;WRO=0;WRP=0;WRQ=0;WRR=0;WRS=0;WRT=0;WRAJ=0;WRAK=0;WRAl=0;};function WRc(m){var s=WRa(m);if(WRM.length+s.length>1000){WRX();s=WRa(m);};WRM+=s;WRb(m);if(WRM.length>1000)WRX();};function WRa(m){var s="";switch(m.a){case"loc":case"locu":case"fetch":s={loc:"J",locu:"K",fetch:"L"}[m.a]+(m.a=="fetch"?WRz(m.f.substr(0,512))+"&":"")+WRz(m.loc.substr(0,512))+"&";break;case"init":var us=m.u.split(".");if(!us[1])us[1]=0;s="a"+WRz(m.nav.substr(0,512))+"&"+WRz(m.plat)+"&"+WR6(m.scrh,m.scrw)+WR6(m.scrx,m.scry)+WR4(m.scrd)+WRAs(m.itime)+"&"+m.tz+"&"+WR6(m.h,m.w)+WR6(m.ch,m.cw)+WR3(WR0(m.em),2)+m.cf+m.lang.substr(0,5).toLowerCase()+"&"+WR3(WR0(us[0]),6)+WR3(WR0(us[1]),6);break;case"load":s="b"+WR6(m.h,m.w)+WR6(m.ch,m.cw)+WRAS(m.sw,m.sh);break;case"stop":case"term":case"unload":s={stop:"x",term:"y",unload:"c"}[m.a]+WR3(WR0(ClickTaleUnloadPause),2);break;case"scrollx":var v=m.x-WRQ;s=(v<0?"D"+WR4(-v):"d"+WR4(v));break;case"scrolly":var v=m.y-WRR;s=(v<0?"E"+WR4(-v):"e"+WR4(v));break;case"mousemove":s=((m.b==0&&m.k==0)?"f":"g"+WR5(m.b,m.k))+WR6(m.x-WRO,m.y-WRP);break;case"mousedown":s="h"+WR5(m.b,m.k)+WR6(m.x-WRO,m.y-WRP);break;case"mouseup":s=((m.b==0&&m.k==0)?"i":"j"+WR5(m.b,m.k))+WR6(m.x-WRO,m.y-WRP);break;case"resize":s="k"+WR6(m.w-WRS,m.h-WRT)+WR6(m.cw-WRAJ,m.ch-WRAK);break;case"click":case"context":s=(m.a=="click"?"n":"A")+m.tag+"&"+WRz(m.id)+"&"+WRz(m.name)+"&"+WRz(m.href.substr(0,512))+"&";break;case"tag":case"note":case"exec":s={tag:"o",note:"p",exec:"P"}[m.a]+WRz(m.c.substr(0,512))+"&";break;case"field":s="q"+WRz(m.f)+"&"+WRz(m.v)+"&";break;case"error":s="s"+WRz(m.msg.substr(0,512))+"&"+(m.url?WRz(m.url.substr(0,512)):"")+"&"+m.line+"&";break;case"keydown":s="t"+WR7(m.k,m.kc);break;case"keyup":s="u"+WR7(m.k,m.kc);break;case"keypress":if(m.k)s="v"+WR4(m.cc*4+m.k);else{var v=m.cc-WRAl;s=(v<0?"N"+WR4(-v):"M"+WR4(v));};break;case"mouseenter":case"mouseleave":case"ping":case"start":case"domload":s={mouseenter:"l",mouseleave:"m",ping:"r",start:"w",domload:"z"}[m.a];break;case"referrer":s="B"+WRz(m.ref)+"&";break;case"elmpos":s=m.p?"C":(m.b?"I":"H");s+=WR4(m.i);if(m.p){for(var i=m.p.length-1;i>=0;i--)s+=WR3(WR0(m.p[i].c),2)+WR4(m.p[i].p);s+="&";};if(m.b){s+=WRAS(m.x,m.y)+WRAS(m.h,m.w);var p={x:0,y:0,w:m.w,h:m.h};for(var i in m.b){var b=m.b[i];if(b.c){s+=WR3(WR0(b.c),2)+WRAS(b.x-p.x,b.y-p.y)+WRAS(b.h-p.h,b.w-p.w);p=b;};};s+="&";};break;case"hchk":s="F"+WR3(WR0(m.h),6);break;case"bchk":s="G"+WR3(WR0(m.b),6);break;case"upload":s="O"+WR4(m.c);break;default:return"";};return s+WR4(m.t-WRN);};function WRb(m){switch(m.a){case"scrollx":WRQ=m.x;break;case"scrolly":WRR=m.y;break;case"mousemove":case"mousedown":case"mouseup":WRO=m.x;WRP=m.y;break;case"resize":WRS=m.w;WRT=m.h;WRAJ=m.cw;WRAK=m.ch;break;case"keypress":if(!m.k)WRAl=m.cc;default:};WRN=m.t;};function WRg(){WRAP();WRc({a:"unload",t:WRI()});WRX("e");};function WRh(){if(WRU!=WRv.scrollLeft)WRc({a:"scrollx",x:WRv.scrollLeft,t:WRI()});if(WRV!=WRv.scrollTop)WRc({a:"scrolly",y:WRv.scrollTop,t:WRI()});WRU=WRv.scrollLeft;WRV=WRv.scrollTop;};function WRi(e){return(e.altKey?1:0)+(e.ctrlKey?2:0)+(e.shiftKey?4:0);};function WRr(m,e){if(WRn.substr(0,2)=="IE")return Math.min(e.button,7);if(m=="mousemove")return 0;return[1,4,2][Math.min(e.button,2)];};function WRj(m,e){if(!e)var e=event;var y=e.clientY,x=e.clientX;x-=WRv.clientLeft||0;y-=WRv.clientTop||0;if(y>=WRv.clientHeight)return;if(x>=WRv.clientWidth)return;if(ClickTaleEventsMask&16)WRAt(e);var msg={a:m,x:x,y:y,b:WRr(m,e),k:WRi(e),t:WRI()};if(WRu&&"mousemove"==msg.a&&WRu.x==msg.x&&WRu.y==msg.y&&WRu.b==msg.b&&WRu.k==msg.k)return;WRu=msg;WRc(msg);};function WR8(e){WRj("mousemove",e);};function WR9(e){WRj("mousedown",e);};function WRAA(e){WRj("mouseup",e);};function WRAC(){WRc({a:"mouseenter",t:WRI()});};function WRAD(){WRc({a:"mouseleave",t:WRI()});};function WRq(e){WRAT("click",e);};function WRAR(e){WRAT("context",e);};function WRAT(m,e){if(!e)var e=event;var a=e.currentTarget;if(!a){a=e.srcElement;while(a&&(!a.href||a.tagName.toUpperCase()=="IMG"))a=a.parentNode;};if(a)WRc({a:m,tag:a.tagName,id:(a.id?a.id:""),name:(a.name?a.name:""),href:(a.href?a.href:""),t:WRI()});};function WRAN(e){if(!e)var e=event;var a=(WRn.substr(0,2)=="IE")?e.srcElement:e.target;WRc({a:"click",tag:a.tagName+"."+a.method,id:(a.id||""),name:(a.name||""),href:(a.action||""),t:WRI()});};function WRAE(m,u,l){WRc({a:"error",msg:m,url:u,line:l,t:WRI()});return false;};function WRAB(){var w=WRs(),h=WRt();if(WRAL==w&&WRAM==h)return;WRc({a:"resize",w:w,h:WRt(),cw:WRv.clientWidth,ch:WRv.clientHeight,t:WRI()});WRAL=w;WRAM=h;};function WR2(m,e,kc,d){if(!e)var e=event;var a=(WRn.substr(0,2)=="IE")?e.srcElement:e.target,kc=e.keyCode;if((a.type&&a.type.toUpperCase()=="PASSWORD")||WRA6.test(a.className))kc=106;WRc({a:m,k:WRi(e),kc:kc,t:WRI()});};function WRAF(e){WR2("keydown",e);};function WRAG(e){WR2("keyup",e);};function WRAH(e){if(!e)var e=event;if(e.charCode===0)return;var a=(WRn.substr(0,2)=="IE")?e.srcElement:e.target,cc=e.keyCode||e.charCode;if((a.type&&a.type.toUpperCase()=="PASSWORD")||WRA6.test(a.className))cc=42;WRc({a:"keypress",k:WRi(e)&3,cc:cc,t:WRI()});};function WRd(){WRc({a:"ping",t:WRI()});WRX();};function WRAt(e){var elm=e.srcElement||e.target;if(elm!=WRAm&&elm.tagName){var s,id=-1;if(elm.GetEPID)id=elm.GetEPID();if(id==-1){var a=elm;s=new Array();while(a&&a!=WRD.body&&a!=WRD.documentElement){var list=a.parentNode.childNodes;var i=0,c=WRAu(a.tagName);for(j in list){if(list[j]==a)break;if(list[j].tagName&&WRAu(list[j].tagName)==c)i++;};s.push({c:c,p:i});a=a.parentNode;};if(!a)return;};var r,nr=(elm!=WRD.body&&elm!=WRD.documentElement);r=nr?WRAa(elm):{x:0,y:0,w:WRAb(),h:WRAc()};var blks=new Array();WRAv(nr?elm:WRD.body,r.x,r.y,blks);if(elm.Blks){if(WRAw(elm.Blks,blks)&&WRAw(elm.Rect,r))blks=false;};if(blks){if(id!=-1)WRc({a:"elmpos",i:id,b:blks,x:r.x,y:r.y,w:r.w,h:r.h,t:WRI()});else{id=WRAn++;WRc({a:"elmpos",i:id,p:s,b:blks,x:r.x,y:r.y,w:r.w,h:r.h,t:WRI()});elm.GetEPID=Function("return "+id+";");};elm.Blks=blks;elm.Rect=r;}else WRc({a:"elmpos",i:id,t:WRI()});WRAm=elm;};};function WRAb(){return Math.max(WRv.clientWidth,WRv.scrollWidth);};function WRAc(){return Math.max(WRv.clientHeight,WRv.scrollHeight);};function WRAw(a,b){for(i in a){if(typeof a[i]!=typeof b[i])return false;if(typeof a[i]=="object"){if(!WRAw(a[i],b[i]))return false;}else if(a[i]!=b[i])return false;};return true;};function WRz(v){return encodeURIComponent(v);};function WR4(v){if(v<=0)return'A';var b=WR0(v);if(v<59)return b;var c=WRAp[59+b.length-1];if(!c)return'A';return c+b;};function WR6(x,y){var bx=WR0(x),by=WR0(y);var xl=bx.length,yl=by.length;if(xl>=4||yl>=4)return"A";var c=(x<0?32:0)+(xl<<3)+(y<0?4:0)+yl;c=WRAp[c];return c+bx+by;};function WRAS(x,y){var bx=WR0(x),by=WR0(y);var xl=bx.length,yl=by.length;yl=Math.max(yl,xl);if(yl>=8)return"A";if(xl<yl)xl=yl-1;var c=(x<0?32:0)+(y<0?16:0)+(xl<yl?8:0)+yl;c=WRAp[c];return c+WR3(bx,xl)+WR3(by,yl);};function WR0(v){v=Math.abs(v);var s='';while(v!=0){n=v&63;v>>>=6;s=WRAp[n]+s;};return s;};function WRAs(v){v=Math.abs(v);var s='';while(v!=0){n=v&63;v=parseInt(v/64);s=WRAp[n]+s;};return s;};function WR5(b,k){return WRAp[(b<<3)+k];};function WR7(k,kc){return WR3(WR0((k<<9)+kc),2);};function WR3(s,n){if(s.length>n)return s.substr(0,n);while(s.length<n)s='A'+s;return s;};function WRy(n){var e=(new Date()).getTime()+n;while((new Date()).getTime()<e);};function WRAP(){WRAO(window,"error",WRAE);WRAO(window,"unload",WRg);WRAO(window,"scroll",WRh);WRAO(WRD,"mousemove",WR8);WRAO(WRD,"mousedown",WR9);WRAO(WRD,"mouseup",WRAA);if(WRn.substr(0,2)=="IE"){WRAO(WRD.body,"mouseenter",WRAC);WRAO(WRD.body,"mouseleave",WRAD);};for(var i=0;i<WRD.links.length;i++)WRAO(WRD.links.item(i),"click",WRq);for(var i=0;i<WRD.forms.length;i++)WRAO(WRD.forms.item(i),"submit",WRAN);WRAO(window,"resize",WRAB);WRAO(WRD,"keydown",WRAF);WRAO(WRD,"keyup",WRAG);WRAO(WRD,"keypress",WRAH);};function ClickTaleStop(){WRAP();WRc({a:"stop",t:WRI()});WRX("e");};function ClickTaleTerm(){WRAP();WRc({a:"term",t:WRI()});WRX("t");};function WRAj(){if(!WRAX)WRAX="<html>";if(!WRAY)WRAY="</html>";WRAo=WRAX+WRAW+WRAY;WRAx(WRAo,1500,400,WRAy,WRAz);};function WRAy(d){WRm(WRJ+WRK+"&"+d+"&"+WRH()+"d");WRK++;WRAk++;};function WRAz(){WRc({a:"upload",c:WRAk,t:WRI()});};function WRAZ(){WRAd(WRAW,5000,1000,'WRAe');};function WRAe(h){WRc({a:"hchk",h:h,t:WRI()});var reg=new RegExp("<body[^>]*>([\\s\\S]*)</body>","i");var b=WRAW.match(reg);if(b&&b[1])WRAd(b[1],5000,1000,'WRAf');};function WRAf(b){WRc({a:"bchk",b:b,t:WRI()});};function WRAd(s,ch,t,f){WRAg({s:s,ch:ch,t:t,f:f,a:0xffff,b:0xffff,l:s.length,i:0});};function WRAg(f){var j=f.i;while(f.l&&(f.i-j)<f.ch){var tlen=f.l>360?360:f.l;f.l-=tlen;do{f.a+=f.s.charCodeAt(f.i++);f.b+=f.a;}while(--tlen);f.a=(f.a&0xffff)+(f.a>>>16);f.b=(f.b&0xffff)+(f.b>>>16);};if(f.l)setTimeout(function(){WRAg(f);},f.t);else{f.a=(f.a&0xffff)+(f.a>>>16);f.b=(f.b&0xffff)+(f.b>>>16);eval(f.f+'('+(f.b*65536+f.a)+')');};};function WRAx(s,ch,t,f,e){if(s.length==0)return;var d={};for(i=0;i<256;i++)d[String.fromCharCode(i)]=i;s=encodeURI(s);WRA0({s:s,ch:ch,t:t,f:f,e:e,d:d,i:0,cc:256,p:""});};function WRA0(f){var b="",n;if(f.p=="")f.p=WRA1(f);while(f.i<f.s.length&&b.length<f.ch){n=WRA1(f);if(n=='')return;if(f.d[f.p+n])f.p+=n;else{b+=WRA2(f.d[f.p]);if(f.cc<=4096)f.d[f.p+n]=f.cc++;f.p=n;};};if(f.i<f.s.length)setTimeout(function(){WRA0(f);},f.t);else b+=WRA2(f.d[f.p]);f.f(b);if(f.i>=f.s.length)f.e();};function WRA1(f){var c=f.s.charAt(f.i++);if(c=='%')c=String.fromCharCode(WRAr[f.s.charAt(f.i++)]*16+WRAr[f.s.charAt(f.i++)]);return c;};function WRA2(c){return WRAp[c>>6]+WRAp[c&63];};function WRAO(e,t,fn){if(e.removeEventListener)e.removeEventListener(t,fn,false);else if(e.detachEvent)e.detachEvent('on'+t,fn);};function WRAv(elm,x,y,blks){var list=elm.childNodes;for(j in list){var i=list[j];if(!i.tagName||i.tagName=="!")continue;if(WRA3(i))WRAv(i,x,y,blks);else if(WRA4(i)){if(i.offsetWidth!=0&&i.offsetHeight!=0){var r=WRAa(i);blks.push({x:r.x-x,y:r.y-y,w:r.w,h:r.h,c:WRAu(i.tagName)});};};};};function WRA5(e,p){if(e.currentStyle)return e.currentStyle[p];else if(window.getComputedStyle)return document.defaultView.getComputedStyle(e,null).getPropertyValue(p);};function WRA3(e){var n=e.tagName;return n=="TBODY"||n=="TR";};function WRA4(e){var n=WRA5(e,"display");if(n!="block"&&n!="list-item"&&n!="table-cell"&&n!="table")return false;n=WRA5(e,"position");return n=="static";};function WRAu(t){return((t.charCodeAt(0)-64)&31)+(((t.charCodeAt(1)-64)&28)<<3)+(((t.charCodeAt(2)-64)&30)<<7);};function WRAa(o){var v={x:0,y:0,w:o.offsetWidth,h:o.offsetHeight};while(o.offsetParent){v.x+=o.offsetLeft;v.y+=o.offsetTop;o=o.offsetParent;};v.x+=o.offsetLeft;v.y+=o.offsetTop;return v;};

